You are here: Resize an image and save it? « All PHP « IT news, forums, messages
Resize an image and save it?

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация