Posted by Jonathan N. Little on 11/26/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
Navigation:
[Reply to this message]
|