You are here: reducing file size? « All PHP « IT news, forums, messages
reducing file size?

Posted by Kentor on 03/16/07 23:57

Hello,

I've been trying to find a way to reduce a given file with PHP... What
I want to do is once a user uploads images, I want to have 2 copies of
this image: 1 with the original size and one 1 with a small size so
that when many listings appear on the page, the user will see all
these images but he will see them in a small version of the real size,
so instead of resizing the image's width and height, it would be
better to resize the file size and make it smaller so that it
downloads faster. If he clicks on the add to view the images in large
format then I would show the images in the original size and this file
would be bigger... The resized image should not lose its quality
since it will be small so it won't be noticeable... I've tried this
script here: http://www.phpclasses.org/browse/package/1980.html but it
doesn't do anything at all =/

Summary: how can I reduce a file with PHP?

Thanks for your help.

Simon

 

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

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