You are here: Re: limit image size « HTML « IT news, forums, messages
Re: limit image size

Posted by Nikko on 06/23/06 08:20

Hi jonathan, I agree completely with you but I can't change image size.

Jonathan N. Little wrote:
> Nikko wrote:
>> Hi,
>> Is it possible to do this with css?
>> I want to limit height image to a certain value:
>> If the original image's height is larger than desired value, show
>> image with height equals to desired value.
>> If the original image's height is smaller than desired value, do
>> nothing and show image with this original height size.
>
> Yes but don't. Please resample your images to the exact pixel dimension
> you require. Scaling images rather than resampling them means that even
> though they may appear smaller on the page you are still downloading the
> *whole full-size* image. Secondly the rescaling done by the browser is
> far poorer than the results from resampling the image, so it will look
> bad as well. Nothing stalls a dialup connection more than a page full of
> "thumbnails" that are 1000+ pixel images just scaled on the page!
>

 

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

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