The reason what you are talking about works is because of CSS.

Consider this:

<div 
        style="background-image: url(../images/test-background.gif);
        height: 500px; width: 500px;">

        <img src="glass_pane_watermark.png" alt="My protected image"
        height=500 width=500 />

</div>

This shows how this is done.  There is nothing about normal image files
which will facilitate layering the way you intend.  Even if it did, a
save of such an image would likely save all of the layers included
within a single file.

In the example code above, the background image of the <div> cell is the
actual image you want to show.  The <img> tag holds the link to the
transparent image which would be saved when someone does a right-click.

This is not a perfect solution.  In fact, there is no perfect solution
that doesn't involve a combination of server-side and client-side
programming.  So to accomplish something like that, you would have to do
a series of interesting things which I suspect is outside of the scope
of what you hope to accomplish.  However, the example above will suffice
to make the basics of what you want to happen.


On Mon, 2012-12-17 at 16:34 +0000, d b wrote:
> Hi all,
>  
> I am new to the list. I have searched the lists for an answer to my
> question, but no joy. Hopefully one of you would be kind enough to
> help me. I have heard you can protect your photographs on the web by
> applying a transparent overlay to them. When someone then right clicks
> and saves the image, all they get is the transparent foreground and
> not the photo underneath.
>  
> I have tried to do this using GIMP. However, the web guidance I have
> seen says you also have to edit the HTML code to do this. 
>  
> Is there a way of doing this from GIMP itself without involving HTML
> code?
>  
> Any simple, easy to follow steps for a new user would be greatly
> appreciated. 
>  
>  
> 
> _______________________________________________
> gimp-user-list mailing list
> gimp-user-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gimp-user-list


_______________________________________________
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list

Reply via email to