Basic example
This is the most simple use of the Resize Any Image API.
Download this example:
To use this example:
- Place these files somewhere on your webserver
- Edit the file form.html:
- Edit the path to the resizer.html file
- Replace YOURKEY by your key - you can find your key on your account page
- Make sure the file upload.pl is executable by the webserver
- Make sure the upload directory is writable by the webserver
- Point your browser to http://YOUR.SERVER/INSTALLDIR/form.html
Try it here:
Select an image from your computer, resize it, and submit.
This is your resized image:
This is the form code:
Put it on your server and view it in a browser.
Example upload code:
This code is a simple and none secure example.