View Full Version : Lightbox + Protect Image

05-21-2008, 04:25 PM
1) Script Title: Lightbox

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:

Hello Lokesh & Dynamic Drive,
Thanks for making such a wonderful program Lighbox. Its really magical program for us.

I want protect large image from such way like transparent image or calling image in swf file or any other way.Below is Transparent Image Code may be helpful to creating such program.

<div style="width:400px; height:300px; background-image:url(MY_IMAGE.jpg);">
<a href="http://www.agnisdesigners.com" target="_new"><img src="Transperent.gif" style="width:400px; height:300px;" border="0"></a>

<span style="background-image:
url('My_IMAGE.gif'); background-repeat: no-repeat; display:block;">
<img src="Transparent.gif" width="121" height="100"
border="0" alt="RealHowTo">

If you can help me and update the Lightbox its a really wonderful for us.


05-22-2008, 03:57 PM
Protect the image? What are you afraid will happen to it?

05-23-2008, 04:46 AM
Hello John,
I am developing Indian Paintings Site and because the artist more worries about there Paintings may be get Printed in other formats so I have to reduce the chances to copying the pictures.

Girish Baraskar

05-23-2008, 05:42 AM
There are other lightbox type scripts, slimbox is one - it displays the larger image as a background image. That would sort of fit the bill. Also, in either slimbox or lightbox, if you group your images they are placed behind mostly invisible navigation elements that would prevent direct copying via right click (some browsers allow saving backgrounds this way). However, no matter what you do, if it is on the web, it can be copied and printed. The ideal solution in my opinion is to not put up a print quality image in the first place. You can make some very nice large versions of images, say 700 x 500 and optimize them for the web (increasing the compression ration, which reduces the byte size and resolution). Optimization, if done right, results in an image that looks perfectly fine on the web, but that won't print out too well.



05-23-2008, 05:48 AM
Thank a lot for suggestion.

Yes I am doing the compression for all my pictures but still I would like to protect images because not all people are aware about loop holes of Copying images.