$real_size = getimagesize($image);
$size = imageScale($image, $THUMB_SIZE);
which then when generated on my site creates something like:
How can i get the window to load only the image and not add any "free" pixels on the side? I've tried using a table and then setting cellpadding and cellspacing to 1, also have tried using valign and <center> to attempt to fix it. Is there any way to fix this? I find it a really annoying problem. I've also gotten a friend to use IE on this and i get the same problem. It's strange. Any ideas?
Damn got it working like 10 minutes after this post. Just kept on clicking links from my search, i guess i got lucky this time. Should spend more then 30 mins last time, altough from my point of view, every time i post i get it resolved, so maybe i should just post anyways just to get it working faster, even though i have to excuse myself for my hasty post. Oh well, if anyone is interested, check this link - > http://www.siteexperts.com/tips/html/ts02/page1.asp
, basically just tells you to add a css style, and some parameters in the <body> to get it working.