You are here: Re: Display pictures corresponding to database entry. « All PHP « IT news, forums, messages
Re: Display pictures corresponding to database entry.

Posted by JDS on 05/15/06 20:06

On Mon, 15 May 2006 11:46:59 -0500, robert wrote:

> oh martin! again with the helpful advice. by default, MOST browsers display
> an image with it's normal size...so your "advice" is STILL less than useful.
> one typically specifies size when one wants to control the size either
> larger/smaller than the original. in this context, the op is most likely
> going to want to have the images display uniformly...namely, a specific
> height/width ratio with a max limit.

Wrong wrong wrong!

The width and height attributes of an IMG tag are NOT MEANT TO RESIZE
IMAGES IN THE BROWSER!!!!!!!

They are meant to tell the brwoser the size of the image coming down the
pipe, so that the browser can lay out the page before getting the whole
image.

I hope you are not using widht and height to resize your images! If so,
your web developer hat and badge should be revoked.

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

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

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