Reply to Re: Resize an image to fit a CSS without knowing if it is portrait or landscape shape

Your name:

Reply:


Posted by zorro on 07/06/07 20:24

Sherm Pendley a écrit :
> zorro <zorro@taniere.fr> writes:
>
>> Sherm Pendley a écrit :
>>> Adrienne Boswell <arbpen@yahoo.com> writes:
>>>
>>>> Gazing into my crystal ball I observed zorro <zorro@taniere.fr>
>>>> writing in news:468e7c48$0$19901$426a34cc@news.free.fr:
>>>>
>>>>> I am going to see if PHP can get access to the header of the jpg
>>>>> and get the width and height of the picture.
>>>> Yes, it can.
>>> With the appropriate options enabled, it can also resize the images on the
>>> server, either when they're uploaded or when they're served to visitors. As
>>> Jukka said, that's a *far* better option than relying on the browser to do
>>> the resizing.
>>>
>> You mean, as the images are frequently resized, make PHP resize and not JS?
>
> No, I mean you should do that with PHP because browsers do a horrible job of
> it for some reason. Also, there's no reason your users should have to wait
> for a full-size 100Kb download, when all they're really going to see is a
> little thumbnail that could have been delivered in a fraction of the time.
>
> sherm--
>

Thanks for all the details.
David L.

[Back to original 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

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