Forum Moderators: coopster
I want to create an image upload script were the user will upload 1 photo while the script will store it in 2 different locations...
/pictures
/thumbs
the script must alo create a second version of the original photo and the new version must be resized into certain width/height....I pretty much know what to do till here...however, what I am asking is that the new version will be resized as well as decreased in terms of quality in order to have a smaller size (but still be fairly viewable)...can this be feasible?
thank you in advance.........
take a look at msg 29 in this thread
PHP Bag of Tricks II [webmasterworld.com]
>> oops, missed the without gd
In follow up to this post, I'd have to also mention that GD's abilities are very poor in comparison to ImageMagick. I've had problems with GD reading my images properly. I would have a valid jpg, verified by php's image information function, but GD would report invalid jpg file and couldn't thumbnail it. In the end, the move to ImageMagick has been a very good one.
Still, a one-line call to IM does what it takes many lines to do in GD and it seems much faster.