You could also use plain-'ol HTML code.
As an example, I've put two different sized pictures of the same thing, a Vauxhaul VX Lightning 2003, out on the web. Both pics are available in the same directory here:http://www.spywaredrguide.com/VirtualDr/images
The first smaller pic is a 200x150 pixel image named:vhvxl03a.gif
The second larger pic is a 800x600 pixel named:vhvxl03a.jpg
(i.e., same filename, different extension).
Now I want the HTML code that shows the little pic and, when you click on this little pic, a new browser window opens with the big pic in it.- Copy & paste the following code into Notepad:
Code:
<a href="http://www.spywaredrguide.com/VirtualDr/images/vhvxl03a.jpg" target="_blank"><img src="http://www.spywaredrguide.com/VirtualDr/images/vhvxl03a.gif" width="200" height="150" alt="Vauxhall VX Lightning 2003" border="0"></a>
(Using your mouse, left-click just to the left of the first character in the above 'code' box and then keep dragging to the right to the very end of last character so that all of the code in the box is highlighted. Now press [Ctrl-C] to copy it into temporary memory on your computer. [This temporary memory is called the Clipboard]).
- Open Notepad. (Click Start | Run, type in notepad and press [Enter]).
- Press [Ctrl-V] to paste what we just copied to your computers memory into Notepad.
- Save the file as "c:\vh.htm". (Click File | Save As..., type in c:\vh.htm and press [Enter]).
- Load your new "c:\vh.htm" file in Internet Explorer. (Open Internet Explorer [the big blue "e" icon], click File | Open..., type in c:\vh.htm and press [Enter]).
- You should now be looking at the little pic (the 200x150 "vhvxl03a.gif") in Internet Explorer.
- Place your mouse cursor over the image and within a second or two you should see a tooltip pop up with the words "Vauxhall VX Lightning 2003" in it. (Because that's the string of characters we used in the "alt=" tag in the above code).
- Click the little image and a new Internet Explorer window should open, (because we used the code 'target="_blank"' above), with the larger picture in it.
Works for me. :)