Disable Right Click but allow Download
jrporcaro
Registered Users Posts: 20 Big grins
I have a situation where I want people to be able to download the images but I want to not allow right click "save image".
If people do a right click "save Image" they get the rendered image from the browser, not the original image and thus do not get the full quality. I do not charge people for the images I just want to be able to remove a support issue where they get a bad smaller version of the file.
Is there any CSS that I can use to allow the download button but disable right click or are those two things tied together.
If people do a right click "save Image" they get the rendered image from the browser, not the original image and thus do not get the full quality. I do not charge people for the images I just want to be able to remove a support issue where they get a bad smaller version of the file.
Is there any CSS that I can use to allow the download button but disable right click or are those two things tied together.
0
Comments
You need to set the largest size to Original and turn right click protection off.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
http://www.sherlockphotography.org/Customisations/Large-photo-download-buttons
Please check out my gallery of customisations for the New SmugMug, more to come!
DayBreak, my Folk Music Group (some free mp3s!) http://daybreakfolk.com
DayBreak, my Folk Music Group (some free mp3s!) http://daybreakfolk.com
I have already done this. I am still in legacy mode and I have added a download button. The problem is that if the user drags the image of right click "Save As" it will give them a smaller browser rendered image.
In my sand box I have added the download wording but I need another feature fixed before I can unveil.
http://www.maplemountainsports.com
This was my experience as well.
http://www.maplemountainsports.com
Regardless if I right click and save or drag and drop.
Edit: my understanding is, that what you see is determined by monitors and browsers color profile and other browser settings. But when saving you get the original image. If some downloads another than the original, say a "L" or "X3" version, he will get of course a resized image, which was probably done by imagemagick, GD or another php image library.
I don't know how to show an example, but saving images 4 different ways produced 2 different results; 2 were as they should be (Owner Save through the hover-box, & also Download using said button). But 2 were much smaller files-- The Right Click & Save one, and the Drag & Drop. Even the non-photographers amongst us could see it instantly, and if we went to image info, that confirmed the disparity as the file sizes were much smaller on two of them. The same effect (pixelation due to low-res) was also quite visible in the print. If you try it a few times, I bet you'll see what we mean.
DayBreak, my Folk Music Group (some free mp3s!) http://daybreakfolk.com
Maybe you have the time to try from here -> http://www.maplemountainsports.com/TrackandField/Spring-2011/Salem-Hills-Meet-2011/16835652_d3fgHb#!i=1270709769&k=sjDF6LG and see if you can reproduce it. But its not RC protected.
DayBreak, my Folk Music Group (some free mp3s!) http://daybreakfolk.com
DayBreak, my Folk Music Group (some free mp3s!) http://daybreakfolk.com
What ever was defined a such - might be a 600x400px image.
If I Drag the picture on the right in Smugview gallery to my desktop it is downloading a dsc_5213-x2.jpg at 1280x857. If I click the download button on the same image I get a 3872x2592 image that is the original. I am using a Mac with Safari. I am finding that the image that is shown in the smugview is rendered to fit the screen (browser) this is what is downloaded if you use the browsers right click menu to download or you drag and drop the file to your desktop. If I click the download button I get the original. This is not in any way a deal breaker but I have had many people tell me that they have had inconsistent results. I also had one person right click the thumbnail and click save image and they wondered why they got a 100x100 image. you can't win them all
http://www.maplemountainsports.com
DayBreak, my Folk Music Group (some free mp3s!) http://daybreakfolk.com