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 21:55

On Mon, 15 May 2006 13:00:10 -0500, robert wrote:

> i understand where the confusion is...his example specifically used the
> size= attribute...when i talk about size, i mean height=/width=. i didn't
> make that clear...i wasn't talking about his use of size= but was talking
> about the context of the op's post...that the most useful advice would be on
> how to resize into a thumb rather than showing the image in its orginial
> size.

Actually, it didn't. Reread it a little better and include the stuff you
snipped out in your post. Plus there is no size attribute.

I'm sorry and I don't mean to come of persnickety but this particular
abuse of HTML is a pet peeve of mine. Do NOT, I repeat, DO NOT use the
width and height tags to resize images. Say, for example, as a
"thumbnail".

If you do not understand what width and height are for, and do not have
the wherewithal to learn how to use an image editor (say, photoshop or
equvialent), then please, pay me or one of the other thousands of
professional web developer/designers to do it for you. We need the work! :)

<tangent>And I don't agree with the notion that "it is just a personal
site, what does it matter?" It ought to be done right, no matter if it is
an amateur or professional. I mean, it isn't brain surgery. And the
benefits outweigh the detractors. YAdda yadda etc. blah.</tangent>

On a side note, and to respond to the last part of your last post, "the op
is most likely going to want to have the images display uniformly" --
Never ever just uniformly resize images to the same dimensions. There is
something called "aspect ratio" and it is not meant to be tampered with.
You just may rend a hole in the Universe.

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

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