Posted by Dimitri Marshall on 07/29/06 14:57
Hey again,
I have this code that resizes an image basically to fit a certail width
based on the aspect ratio of the image (just math). The problem is this;
when someone views the first page (say search results) they see 10 images
that are just shrunk in width and height and not in file size because it
uses the same larger picture that would be on the next page (item page). Is
there some way (in PHP) to shrink the image in width and height and then
save that image so the file size would be smaller? This code would be
initiated when I upload a new image (which is all done through a back-end
admin console).
I know I could just do it in fireworks and upload both images, but I'm
trying to make this as easy as possible in case someone uses the program
that is not that web-savvy.
Thanks in advance!
--
Dimitri Marshall
[Back to original message]
|