A comprehensive guide to hosting and using the Wowonder Image Resizer HTML Script.
Welcome to the documentation for the **Wowonder Image Resizer & Cropper HTML Script**. This is a powerful, client-side web application that runs entirely in your web browser. It does not require a backend server with PHP, Python, or Node.js, making it incredibly easy to deploy. All you need is a way to serve a static HTML file.
Choose the method that best suits your needs.
This method is for making the app publicly available on the internet.
sudo apt update
sudo apt install nginx -y
/var/www/html/your-domain/.
index.html file to the directory you created on your server.
server {
listen 80;
server_name your-domain.com www.your-domain.com;
root /var/www/html/your-domain/;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}
sudo nginx -t
sudo systemctl restart nginx
Your app should now be live at http://your-domain.com.
This is the simplest way to host if you already have a shared hosting account.
public_html).
index.html file directly to the public_html folder using the built-in uploader.
For running the app on your own machine without a public server.
http-server. First, install Node.js and npm.
npm install -g http-server
index.html and run the command:
http-server
http://127.0.0.1:8080. Open this URL in your browser.
Termux is a terminal emulator for Android that allows you to run a web server directly on your phone.
pkg update && pkg upgrade
pkg install python
pip install Flask
server.py in the same directory as index.html.
from flask import Flask, send_from_directory
app = Flask(__name__, static_folder='.')
@app.route('/')
def index():
return send_from_directory('.', 'index.html')
if __name__ == '__main__':
app.run(host='0.0.0.0', port=8080)
Then, start the server:
python server.py
http://127.0.0.1:8080 in your Android browser.