![]() |
|
prevent full image download but for registered users - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: prevent full image download but for registered users (/thread-11416.html) Pages:
1
2
|
prevent full image download but for registered users - flu - 15-10-2013 Hi guys, I've read the user guide, the forum and the troubleshooting guide and I just wanted to be sure about one thing. Thanks. prevent full image download but for registered users - sbillard - 15-10-2013 Set the password to protect the image. Set the user rights to allow whomever you want to access them. prevent full image download but for registered users - flu - 15-10-2013 Hi Stephen, How ? prevent full image download but for registered users - flu - 15-10-2013 In fact, as far as I understand, I must st a password in the image option panel. prevent full image download but for registered users - acrylian - 15-10-2013 Zenphoto has no individual righs control for the single image level and also not for non top level albums. Reasons are explained here: If you don't want to use this general password you can do some coding on the theme to show the full image link to only users that are logged in: prevent full image download but for registered users - sbillard - 15-10-2013 Did you try what I suggest? prevent full image download but for registered users - flu - 15-10-2013 Not yet, Stephen. prevent full image download but for registered users - flu - 16-10-2013 Thank you Stephen, it works ! prevent full image download but for registered users - sbillard - 20-10-2013 I am glad you got it working. But really, you ask for help and do not even try what is suggested. Not conducive for anyone wanting to continue with you. prevent full image download but for registered users - flu - 25-10-2013 ? That part was useful to prevent to print the link to the original image for unregistered users. prevent full image download but for registered users - sbillard - 25-10-2013 If you want the link to show only to logged in users who have rights to view the image the code would be:
Of course the full image password should as well be set, otherwise people can simply "forge" the link and get around your coding. With the password set you need the above only to suppress the link. The link will take unauthorized users to a long-on screen, so maybe not so bad??? prevent full image download but for registered users - flu - 25-10-2013 Hmmm... prevent full image download but for registered users - sbillard - 25-10-2013 Can be done, but REQUIRES you set a password for full images and set the protection mode to "protected". The only "tough" part is suppressing the link which really is just an aesthetic thing. prevent full image download but for registered users - flu - 25-10-2013 Well, I need to "investigate" further, 'cause this is not what I understood reading the forum. Thank you for your work and for your answers. prevent full image download but for registered users - flu - 27-10-2013 "Can be done, but REQUIRES you set a password for full images and set the protection mode to "protected"." Stephen, in this case, already registered and connected users must again type another password to get the full hi-res image. This is not what I'm looking for : 2 - I want that people who are not connected (registered) can't download the hi-res image at all. 3 - More : the protected mode puts a watermark on the hi-res image even if this is set to "none" in the original image options. prevent full image download but for registered users - flu - 27-10-2013 3 : sorry, user mistake, forget it. prevent full image download but for registered users - sbillard - 27-10-2013 Quote: in this case, already registered and connected users must again type another password to get the full hi-res image You must give the user permission to see the full image if you do not want him to need a password. Quote:3 - More : the protected mode puts a watermark on the hi-res image even if this is set to "none" in the original image options. prevent full image download but for registered users - flu - 28-10-2013 Well Stephen, I've read carefully the article (apologize...) then I set a global password for the full image and set the full image access to "protected" in the global admin options image tab. I just need to avoid that. prevent full image download but for registered users - acrylian - 28-10-2013 Yes, but that is something really different. Zenphoto is not involved in direct access to files via a browser so it cannot protect anything here. You have to protect that on the server side using htaccess or permissions. prevent full image download but for registered users - flu - 28-10-2013 Hi Acrylian, Thanks anyway. |