No worries. But here's my thought: 1. You start with an image, getting it's current (original) proportions 2. You figure out the width and height proportions to resize it down to something small 3. Resize image (creating a new image.. At least to send to the browser if not in a file separate from the original..whichever works for you) 4. Take the original image (not the resized one) and clip a little section out of the middle of it to use as a thumbnail as well (or whatever).
I think this is what you are aiming for because there are two theories regarding thumbnails: A. Take the original and scale it down.. But this can create an image that doesn't look like anything (if the original had a lot of detail and/or was huge) B. Take a portion of the original (like someone's face out of a scene that really shows their whole body). This can sometimes be fun because it shows a small portion of an image that can make people curious.. Like "What the heck is that I'm seeing? I have to see more!" I'm not sure if that's what you were planning to do or not. Why don't you detail your intentions and then maybe we can figure out how to best do that. -TG > -----Original Message----- > From: Mag [mailto:[EMAIL PROTECTED] > Sent: Friday, October 15, 2004 2:00 PM > To: Gryffyn, Trevor > Cc: php php > Subject: RE: [PHP] Advanced maths help (part 2) > > > Hi Trevor, > > Sorry, am just a bit confused myself mostly because I > am using a third party script to clip the 120x90 part > out of the image...understanding the way the script is > written is a little frustrating as it was written for > something else and I am trying to adopt it. > > if you want to try your hand at it tell me and i'll > zip up the script and send it to you. > > Thanks, > Mag -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php