1) Script Title: Thumbnail Viewer II
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...thumbnail2.htm
3) Describe problem: I have used the original version of this script for a long time. I tried to upgrade to the latest version but cannot get the script to work properly.
Mouseover does not work, when I click on a thumbnail it opens in a new page.
I am using jquery 1.6.2 and running the viewer inside PHP so I have had to modify some of the quoting to get the original version to work. The image url and title data come from a mysql database. Here is my original call:
for the updraded version I have modified this to:Code:echo "<a href='images/".$row['vfile']."' rel='enlargeimage::mouseover' rev='loadarea' title='<b>".$row['Title']."</b><br />".$row['Medium']." ".$row['iw']." x ".$row['ih']." cm.'><img border='1' src='images/".$row['tnfile']." ' alt='' width='".$row['tnx']."' height='".$row['tny']."' class='tn' /></a><br />";
Code:echo "<a href='images/".$row['vfile']."' rel='enlargeimage' rev='targetdiv:loadarea' title='<b>".$row['Title']."</b><br />".$row['Medium']." ".$row['iw']." x ".$row['ih']." cm.'><img border='1' src='images/".$row['tnfile']." ' alt='' width='".$row['tnx']."' height='".$row['tny']."' class='tn' /></a><br />";



Reply With Quote


Bookmarks