You are here: Re: Resize an image to fit a CSS without knowing if it is portrait or landscape shape « HTML « IT news, forums, messages
Re: Resize an image to fit a CSS without knowing if it is portrait or landscape shape

Posted by Sherm Pendley on 07/06/07 18:51

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.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

 

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

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