I've written a script in perl-cgi to automatically display images from a folder on to a web page.
I now have two questions:
1. Is there a good way (preferably using perl), of turning images into thumbnails? I don't mean just changing their dimensions but actually shrinking the filesizes along with the images.
2. I wanted a button to rotate the images in case they're portrait. Is there a relatively simple way of doing this or shall i hit cpan?