You could put the image as the background to a div, and add a transparent gif as the image source, 100% width and height of the div.

You can also disable / control the right-click using jQuery.

But as others have stated, the image will still be in the browser's cache on their hard disk, so unless it's "watermarked" then it's impossible to do this 100%.

L

Mario Soto wrote:
Actually, sorry for not putting a good descrpition. You're right. What
I want to do is to make harder for a visitor to get the immage,
putting a transparent gif or similar in front of the immage. So, the
immage is loaded by ajax, and never has the same address, and cannot
download the image by right clicking and select save image.

Of course, if can crack a password mostly with patiente, it would not
be hard to keep the immage, but, for the average user (mostly my
users) want to make as imposible as I can.

The immage type I'm dealing with are documents, so it should not be
give "full" access to anyone cappable of right clicking.

Thanks.

On 25 jun, 11:52, Lee R Lemon III <leerlemon...@gmail.com> wrote:
If by protecting you mean keeping from being downloaded.... NO...

If you want some watermarking, you could use something like php's gd
function that could aloow for a watermark...

You could also use javascript canvas but that does not work in IE
without a plugin

On Jun 24, 1:49 pm, Mario Soto <canc...@gmail.com> wrote:

Hi. I want to know if there is a way to protect images that are styled
with an overflow auto. I found a lot of tutorials, scripts and plugins
for that with "static" images. The big issue here is that the image
can (and is usual) to be resized (two buttons are added for that + and
-).
Any ideas? Will be vary good recieved. Thanks. --
Mario Soto
marios...@cancuen.net
..._
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.12.92/2203 - Release Date: 06/26/09 05:53:00


Reply via email to