You are here: Re: Picture sizing for target frames « HTML « IT news, forums, messages
Re: Picture sizing for target frames

Posted by Jonathan N. Little on 11/03/05 06:07

Pascal Herczog wrote:
> I have a page containing 2 frames, the top has a table of hyperlinks, which,
> if you click on them, each show a different picture in the bottom frame
> (i.e. target base is set to "bottom").
>
> e.g., in the top frame, a table data entry would be:
> <td width="25%"><a
> href="../My%20Jokes/Pictures/airplane.jpg">Airplane</a></td>
>
> What I would like to do is constrain the size (width, height) of the actual
> picture shown in the bottom frame when the user clicks on the text
> "Airplane". I have seen plenty of examples setting width etc when the
> hyperlink itself is a picture, but I can't see how to set the width/height
> attributes in this case. Hence I end up with a picture that doesn't fit into
> the bottom frame, which spoils the effect. As I've got loads of pictures, I
> don't really want to have to resize them all manually first.

Well actually your should! Images at resolutions meant for printing
(thousands of pixels on a side) are not really suitable for use on the
web where 600 pixels is pretty damn big! Constraining with HTML does
nothing to reduce the large files size of such images so the whole file
must be downloaded, a real pain on dialup and a real waste of bandwidth

Try something like IrfanView freeware that can batch size images
http://www.irfanview.com/

--
Take care,

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

 

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

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