Just as an FYI, you do know that if the user can see the image on your
website, it's already on their computer. Not to mention, anything you
do that's purely a javascript fix can be avoided by merely turning off
javascript. It's essentially a fool's errand to attempt to do this.
On Jun 26, 11:27
@Jonathan Vanherpe (T & T NV)
Yes, some demotivational posters are son funny (some others ... not
recommended). Well. Following your comment, I decided to disable right
click on the div. I will use JQUERY RIGHT-CLICK PLUGIN (http://
abeautifulsite.net/notebook/68) and try to avoid the context menu
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 u
I guess you could just put an absolutely positioned div with a 100%x100%
transparent gif/png over your image, but it's my opinion that any kind
of image protection is useless, and usually easily defeated by just
dragging the image out of the cache folder.
I personally think it's a waste of t
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 rig
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
Mario Soto 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 + a
Thanks for your response. Details below.
The immage is loaded via ajax, so I create the img tag every time, and
empty de div that contains the image.
This is the css for the div that contains the immage:
.ifDiv {
border:1px solid #00;
height:500px;
overflow:auto;
width:775px;
can you add more specifics? how are you increasing size? Are you using
new resized images or just changing the dimensions using javascript?
If you are changing dimensions, have you tried the tutorials you found
or do they not work after you change dimensions?
On Jun 24, 11:49 am, Mario Soto wrot
9 matches
Mail list logo