techker Posted December 30, 2008 Share Posted December 30, 2008 hey guys i have a gallery that has thumbnails and when you click it takes you to the images. i need to prevent downloading of that pic? this is the echo. Code: echo '<th scope="row"><a href="/admin/art/'. $row['pic'] .'" target="_blank" > <img src="/admin/imgsize.php?w=60&h=50&img=art/'. $row['pic'] .'" border="0" alt="" /> </a> so it does not load in a page it gets the images in its directory.. -------------------------------------------------------------------------------- Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/ Share on other sites More sharing options...
The Little Guy Posted December 30, 2008 Share Posted December 30, 2008 all images can be downloaded Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726405 Share on other sites More sharing options...
dennismonsewicz Posted December 30, 2008 Share Posted December 30, 2008 "The Little Guy" is right but you may be able to prevent someone from accessing the folder by using sessions. But if someone really wants your image they are going to get it... gotta love screen shots! You could use some sort of javascript to distort or blank out the image if a user tries to save the image.. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726410 Share on other sites More sharing options...
flyhoney Posted December 30, 2008 Share Posted December 30, 2008 If you are displaying the image in a user's browser, that means they have already downloaded it. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726411 Share on other sites More sharing options...
The Little Guy Posted December 30, 2008 Share Posted December 30, 2008 If I wanted, I could use CURL to go to the image, get the image source, and rebuild it on my server, then I would have the exact same image. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726423 Share on other sites More sharing options...
bluesoul Posted December 30, 2008 Share Posted December 30, 2008 Your best bet is a Flash gallery, they're the least prone to image stealing though, as it's been pointed out, if someone really wants it they're going to get it, though that's no reason to make it easy for them. You may want to try the forums at http://www.photography-on-the.net as the subject comes up quite a bit there. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726427 Share on other sites More sharing options...
dennismonsewicz Posted December 30, 2008 Share Posted December 30, 2008 Good point "Little Guy"... didn't think of that one Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726430 Share on other sites More sharing options...
techker Posted December 30, 2008 Author Share Posted December 30, 2008 inless i load the image in a page an put some javascript for no right click? Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726439 Share on other sites More sharing options...
dennismonsewicz Posted December 30, 2008 Share Posted December 30, 2008 still if someone wants the image they are going to get it... try the flash photo gallery way Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726440 Share on other sites More sharing options...
DarkWater Posted December 30, 2008 Share Posted December 30, 2008 inless i load the image in a page an put some javascript for no right click? You can turn off Javascript quite easily. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726442 Share on other sites More sharing options...
flyhoney Posted December 30, 2008 Share Posted December 30, 2008 Why not use watermarks? Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726446 Share on other sites More sharing options...
dennismonsewicz Posted December 30, 2008 Share Posted December 30, 2008 you can remove watermarks fairly easy too Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726449 Share on other sites More sharing options...
bluesoul Posted December 30, 2008 Share Posted December 30, 2008 you can remove watermarks fairly easy too Depends on how opaque the watermark is. Watermarking in my experience is pretty effective. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726451 Share on other sites More sharing options...
dennismonsewicz Posted December 30, 2008 Share Posted December 30, 2008 i suppose this is true... i as referring as if you place a particular watermark on an image verses watermarking the whole image Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726452 Share on other sites More sharing options...
techker Posted December 30, 2008 Author Share Posted December 30, 2008 hmm..thx Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726454 Share on other sites More sharing options...
CroNiX Posted December 30, 2008 Share Posted December 30, 2008 In firefox, and I imagine other browsers, you just have to go to Tools/Page Info/Media and can download any pictures that appear in the page. No way around that....if its on the page being viewed via the browser, it is also already downloaded and stored on the users computer in the cache. There are also tools to download Flash files and view them locally. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726455 Share on other sites More sharing options...
bluesoul Posted December 30, 2008 Share Posted December 30, 2008 In firefox, and I imagine other browsers, you just have to go to Tools/Page Info/Media and can download any pictures that appear in the page. No way around that....if its on the page being viewed via the browser, it is also already downloaded and stored on the users computer in the cache. There are also tools to download Flash files and view them locally. Well, yes, one can download a swf with some finagling, but reproduction from it is nearly impossible. With a subject like this it really comes down to minimizing the possibility, which can mean making so much of a pain in the butt that only those that are dead set on it will bother. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726458 Share on other sites More sharing options...
flyhoney Posted December 30, 2008 Share Posted December 30, 2008 Yeah, I would just use lower-res watermarked images for your gallery and if people buy the image you can allow them to download the hi-res unwatermarked image. I think that is how it is handled most often. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726463 Share on other sites More sharing options...
techker Posted December 30, 2008 Author Share Posted December 30, 2008 i will try that thx guys!! Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726468 Share on other sites More sharing options...
The Little Guy Posted December 30, 2008 Share Posted December 30, 2008 Your best solution is to not put the images on the internet. Could you explain what your trying to do with these images, and why you don't want people to download them? Maybe we can find a resolution for you. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726470 Share on other sites More sharing options...
techker Posted December 30, 2008 Author Share Posted December 30, 2008 its because im doing a web site for my boddy that is a tattoois.so he does not want anybody copying his pics.unique styles.. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726475 Share on other sites More sharing options...
flyhoney Posted December 30, 2008 Share Posted December 30, 2008 Honestly, I don't think you need to worry about that. Seriously. You are better off taking nice, hi-res photos of tattoos and making them easily available to users. There is no reason to take this, "corporate-riaa-microsoft-fud" bullshit mentality assuming that everyone is trying to steal from you. It's just like shitty DRM, it's so extremely unnecessary. All you do is alienate the people that would be loyal, and encourage the people that are going to steal regardless. Don't waste your time trying to restrict people. I would suggest putting as many example of his artwork as you can online. People may download it. A picture could even get Dugg or Reddited and you will just draw positive attention. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726488 Share on other sites More sharing options...
bluesoul Posted December 30, 2008 Share Posted December 30, 2008 its because im doing a web site for my boddy that is a tattoois.so he does not want anybody copying his pics.unique styles.. He may want to get a DeviantArt account, you can upload plenty of really high-res stuff, and it'll watermark on request. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726492 Share on other sites More sharing options...
techker Posted December 30, 2008 Author Share Posted December 30, 2008 i don't know if you know but in that art business there is alot of copy's!ever look for a tattoo before?your fisrt step is google ... it has nothing to do with corporate-riaa-microsoft-fud" bullshit mentality when you pay to have it piss you off when you see other people with it. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726496 Share on other sites More sharing options...
flyhoney Posted December 30, 2008 Share Posted December 30, 2008 You're wrong if you think placing images of your friends artwork (if he is actually good) on the internet will have anything but a positive affect. Quote Link to comment https://forums.phpfreaks.com/topic/138912-protecting-an-image/#findComment-726506 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.