ZenphotoCMS Forum
separate permissions per album - 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: separate permissions per album (/thread-10940.html)



separate permissions per album - jeronimo42 - 2013-03-23

What's the best way to allow full image access to one and only one album/directory and normal or restricted access to all other albums?

For example, I'm creating an album for a recent outing and want full image access in that album but not the rest of my gallery. What's the easiest way to do this? Thanks for the help.




separate permissions per album - sbillard - 2013-03-23

You would have to code this yourself in your them image.php script. It would look something like:

if (public image album) { $link = getUnprotectedImageURL(); } else { $link = getProtectedImageURL(); } echo html_encode($link);




separate permissions per album - acrylian - 2013-03-23

Additionally you use the multiple_layouts plugin so you could sort of assign this behaviour to certain albums.