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]
|