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 robert on 05/15/06 22:45

| > My advice would be the opposite of yours: include image width and height
| > in the img element, and don't use them to change the size of an image.
|
| The spec agrees.
|
| http://www.w3.org/TR/REC-html40/struct/objects.html#visual
|
| "The height and width attributes give user agents an idea of the size of
| an image or object so that they may reserve space for it and continue
| rendering the document while waiting for the image data."

yet his is a logical fallacy since he's created a side against which he can
make a case...that's called a strawman. no one ever came close to suggesting
thumbnails were best generated client-side and controlled by height/width
attributes. further, the code i posted (before sir head-up-ass posted
*anything*) showed in detail how thumbnails can be implemented client side
and easily generated server-side...though i doubt his level of programmatic
understanding allow him to go much further than than the first line,
"require_once".

 

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

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