Please try downloading
thumbnail creator again.
Now it allows to setup folder to save thumbnails. This means you do not need to provide path in the
dest parameter. Just put destination file name, and script will save thumb into thumbnails folder you setup in settings.
I would also like to know if my src could be on my local drive.
Source file must either reside on the same server with thumb.php, or it should be available online, via http link.
Lets assume:
- you set thumbnails folder to /www/doc/www.mysite.com/www/thumbs/
- your big images are stored in /www/doc/www.mysite.com/www/images/
- you saved thumb.php in /www/doc/www.mysite.com/www/thumb.php
and you run script like this:
http://www.mysite.com/thumb.php?src=images/foto1.jpg&dest=test.jpg&x=50&y=50
script would look for the foto1.jpg in the images/ folder, and would save thumbnail as test.jpg in the thumbs/ folder.
if you run it like this (note no images/ in the src parameter)
http://www.mysite.com/thumb.php?src=foto1.jpg&dest=test.jpg&x=50&y=50
then script would look for foto1.jpg in the folder where you saved thumb.php, i.e. /www/doc/www.mysite.com/www/