Hi! i hjave a little maths problem.
I need to write a sript in PHP that allows users to upload images files, then have them displayed in thumbnails. This is easy.
However, i dont want the thumbnails to apear "squashed" or "stretched". This means i cant simply tell the image to be a certain size, not can i use a percentage. As some images will be bigger than others, this wouldn't work.
The size of the thiumbnail should be aroun 80 x 80 ish. Any ideas? For the first person to tell me how to do this, i will provide free webhosting!!