Now that you have learned how to create a thumbnail image using PSP (or
another graphics program) it is time to put them to use on your web
page. Remember that a thumbnail image is a smaller version of another
image. In order for either of these images to appear they must be
located in the same folder as your webpage or linked to a folder that
is located on another site. For our purposes we will be keeping all our
files in one folder.
The URL is the address or location of your file. Note that the address
box at the top of your screen displays the URL for this web page. To
view the URL for your image that is uploaded to the internet you would
first bring up the image using the file manager where your image files
are located. You can then highlight the address, copy it, and then
paste it into your code.
For this class your images will be stored in your personal folder for
this class. Since we will not be placing these pages online you will
need to use the URL that links the image to that folder. You can find
the URL for your image by going to your file folder, back click on it
and open properties. You will need to add the name of your image to
the URL shown. It is important to keep your folder and file names
informative but simple.
Thumbnails are mainly used as image links that you click on to go to
the full sized version of the image or a webpage. You will see how both
of these are accomplished below.
For those of you who did not use PSP (or another graphics program) to
create your thumbnails you can use an online program such as
MyImager to create a thumbnail
image.
You have already begun contructing your web page in a previous lesson.
You have also been shown how to add an image and create a simple table.
Adding a thumbnail is done in the same way but first you need to decide
how you want your thumbnails to appear. View the
Sample Thumbnails
page for ideas.
Once you have selected a layout you need to build your table. Remember
to place your image between the cell code of your HTML of your web page.
You can replace the height and width of your image but remember that
thumbnails are meant to be small. Remember that you can find the
measurements of your image from your graphic program.
To make the thumbnail clickable to take you to the full sized image we
must add another line of code.
|
Note that this is just like a regular link, but we are using an image
instead of text for the link.
This is how one sample of using thumbnails might look.
|