Thumbnails



There are several ways of making "thumbnails".

The first two below will make a smaller image clickable to the larger original photo, using just the original photo.




Using percentages:
<a href="http://URL_of_image"> <img src="http://URL_of_image" width="20%"> </a>
and the height will be automatically adjusted proportionally.
The % can be adjusted from 1 to 100%.




Using pixels: <a href="http://URL_of_image"> <img src="http://URL_of_image" width="100" height="80"> </a>
and the dimensions here are in pixels.

You can also use just a width dimension and the height will be adjusted automatically; or you can use just a height dimension and the width will be adjusted automatically.

But it is better to use both width and height for faster loading.

The width of the Webtv screen is about 540 pixels on a webpage and about 390-400 pixels on a e-mail page.




Neither of the methods above reduce the load time of the "thumbnail"---the byte size is still the same as the larger original photo.

In order to reduce the byte size and load time of the thumbnails you need to resize the original photos at places like Image Magick or Webfx or my.imager.com --- take the original photo there and resize it to a smaller version (100x80, for example) and then upload it to your Webtv scrapbook or transload it to store that smaller version at your website.

If you are transloadng it to a website such as geocities or angelfire, be sure to rename the smaller image to something different than the original photo's filename during the transloading process.

Then to produce a clickable thumbnail image to the larger original photo, use:
<a href="http://URL_of_original_image"> <img src="http://URL_of_smaller_image"> </a>
The code and a demo for placing the images side-by-side in a table is   below.

And another slightly different demo of tabled thumbnails is   here.




Image Magick
http://magick.net4tv.com/MagickStudio/scripts/MagickStudio.cgi






myImager.com
http://www.myImager.com






Webfx (use the shrink option)
http://www.newbreedsoftware.com/webfx/

 


And a simple table format for the thumbnails is below,
using the larger, original photo in the <<>a href> tag,
and with 4 thumbnail photos on each line (all centered) and using the dimensions of 100x80 inside the image tags (for faster loading of the thumbnailed images).

Repeat the middle portion of the code below (from and including <<>tr........to........<<>/tr> ) to make as many rows as you want in the table.


<<>table width="100%" border="3" cellspacing="5" background="http://url of image">

<<>!-- 1st row of thumbnails -->
<<>tr align="center" valign="middle">

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>/tr>

<<>!-- 2nd row of thumbnails -->
<<>tr align="center" valign="middle">

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>td><<>a href="http://url of larger image">
<<>img src="http://url of small image" width="100" height="80">
<<>/a><<>/td>

<<>/tr>

etc
etc
etc

<<>/table>

More information on tables:

http://junior.apk.net/~jbarta/tutor/tables/index.html








Another demonstration of tabled thumbnails

a few more codes 1