ZenphotoCMS Forum
Show Album Thumbnail even if album has password protection - 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: Show Album Thumbnail even if album has password protection (/thread-11343.html)



Show Album Thumbnail even if album has password protection - elrol - 2013-09-11

I am sorry if this has been answered before, but I could not find an answer in the forums.

But, Is there a way to keep the thumbnail of an album visible to non logged in users, if the album is password protected?

I am currently using the following code to render the thumbnail and when not logged in, I see the protected image.

Thanks so much




Show Album Thumbnail even if album has password protection - acrylian - 2013-09-11

No, since protected means protected.




Show Album Thumbnail even if album has password protection - elrol - 2013-09-11

ok that answers that I would have to manually create an image and use that as the 'thumbnail' and just link to the protected gallery then.. a little workaround.. not sure it is worth the time..

Thanks for the quick response.




Show Album Thumbnail even if album has password protection - sbillard - 2013-09-11

Of course the answer in not really "no". That applies only if you are not into "do it yourself". If you delve into the Zenphoto object model you can get and print any image you want--protected or not. It is just that the normal functions will honor a users making images protected by not showing them. Any other behavior would not really be correct.




Show Album Thumbnail even if album has password protection - acrylian - 2013-09-12

Sure, with coding the question "Is it possible?" is always wrong. However, I understood elrol's question in the meaning "is there an easy way". There is not, since the object model for most is not :-)