Reply to Re: Open Pictures In New Window

Your name:

Reply:


Posted by Jonathan N. Little on 01/10/40 11:53

jojo wrote:
> <azzamqazi@gmail.com> wrote in message
> news:1153430077.540199.232490@b28g2000cwb.googlegroups.com...
>> OK i got it. I can put the link directly. Now the problem is that i
>> want the image to be displayed a little larger. Is there a way to do
>> that?
>
>
>
> <a href="xxx.png"><img src="xxx-thumb.png" width="600" height="400"
> alt="xxx.png"></a>

I would not recommend you do this, using IMG's WIDTH and HEIGHT
attributes to scale the image either larger or smaller than the actual
image's pixel dimensions is a bad idea. Browser's rendering engines are
not very good at this and the results will be poor. Use graphic software
and resample images to the exact size you need. With software you have
access to blur and sharpen filters to tweak the new image and get a far
better result.

Use IMG's WIDTH and HEIGHT attributes only to reserve the 'place' for
the images. This aids the browser so your page's layout doesn't morph as
the images load.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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