03-13-2008, 11:23 PM
|
#12 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by xenon
Well, I'd suggest you calculate the thumbnail dimensions BEFORE creating the virtual image to store the thumb into. Then, you wouldn't have problems with imagecopyresampled. If the image has some transparent pixels around it, run a function on the image to see where is the image ending ( imagecolorat).
|
I have done that. I took the width and height and list() them and then put them in the database like so 000x000, then I went and explode() the x and made $foo[0] and $foo[1] thus gave me the width and height.
__________________
VillageIdiot can have my babbies ;d
|
|
|
|