OK, it would be easier for me to find the problem if you put up a demo of your best effort at doing this with lightbox.
However, I can already tell you that your code here:
Code:
<td><a href="resources/images/maps/cornsjourney.jpg" rel="enlargeimage::click"rev="imagegallery::resources/images/detail_pages/cornsjourney_det.htm"
title="Corn Migration Map, Hampton Brown/National Geographic Publishing <br> <b> CLICK IMAGE FOR DETAIL</b>"">
<img src="resources/thumbnails/cornsjourney_th.jpg"width="46" height="46"></a></td>
should be fine as is. I would have a space here (highlighted and represented as an underscore):
Code:
rel="enlargeimage::click"_rev="imagegallery::resou . . .
But that probably isn't critical.
From what you are saying, the problem is probably from not actually making the lightbox resource files available to your page and/or failing to make the modification I outlined to the thumbnailviewer2.js file. Probably the lightbox files availability.
Like, if you have on your page:
Code:
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
You should have a folder with your page in it that has three folders off of it:
css
images
js
The lightbox.css file should be in the css folder, the lightbox support images should be in the images folder, and all of the lightbox many scripts should be in the js folder. In other words, just like in the distribution archive. Your images can stay where they are.
Bookmarks