View Full Version : Thumbnail scripts?

08-05-2002, 08:36 PM

I am having a problem that I hope you can help with. I have a no right click script on a photo page that works on the main page, but when you click on a photo to enlarge the thumbnail, the script doesn't cover that enlarged pic. Can anyone tell me how to add a script to the enlarged photo? I also have the script where it doesn't allow the save icon to come up on the photo, which works on the main page but not the enlarged thumbnail.

HOpe this makes sense.


08-05-2002, 10:59 PM
Does your hyperlink simply open the image? Is it something like:

<a href="images/yourimage.gif"><img src.....></a>

If so, then you're simply opening the image in the browser. It's not a web page -- it's just an image! You won't have any control over it unless it's located within a page. So, you'll have to use a script that'll open uop your thumbnail in a new web page. You can then add your protection code to the page, etc. Check out www.DynamicDrive.com for some scripts that might work for you. Try searching for "thumbnail". Also, you may want to check out the script referenced in the "Post JS scripts here" forum (2nd main forum from the top of the list). Spookster posted his there.

08-05-2002, 11:41 PM
That is exactly my problem! Thank you so much!! I will check that out.