Protecting images
Posted: January 23rd, 2012, 4:47 am
I have images that I want to be viewable only by members of the site (level 1). I would be very interested to hear suggestions on how to go about this. Ideally I'd like the image to be replaced with a message saying it's only viewable by members, but at the very least I don't want it to be shown to non-members.
I thought about putting the images in a sub-directory of my public_html directory, and then using URI Restrictions to restrict access to that sub-directory. This kind of works, but doesn't solve the issue of displaying a message when someone who is not a member tries to view the image. I was wondering what other solutions people have come up with for this problem.
Is there a way of displaying a different image for non-members (i.e. a kind of placeholder image that says members-only)? Is there a way to prevent images from being downloaded by users, even if they are members? Is there a way to hide the URL to the image?
Any suggestions on how best to handle protecting images using s2member would be greatly appreciated. Thanks.
I thought about putting the images in a sub-directory of my public_html directory, and then using URI Restrictions to restrict access to that sub-directory. This kind of works, but doesn't solve the issue of displaying a message when someone who is not a member tries to view the image. I was wondering what other solutions people have come up with for this problem.
Is there a way of displaying a different image for non-members (i.e. a kind of placeholder image that says members-only)? Is there a way to prevent images from being downloaded by users, even if they are members? Is there a way to hide the URL to the image?
Any suggestions on how best to handle protecting images using s2member would be greatly appreciated. Thanks.