Protected Galleries using ZenfolioPress

ZenfolioPress does not currently support the display of galleries or collections that are private or password protected on Zenfolio, but there is an easy way to still provide your clients with protected galleries on your WordPress based site.

First, you will need to create a “hidden” gallery on Zenfolio:

  1. Create a group named “hidden”, “private” or any other name of your choosing. Set the Access Control on this group to private.
  2. Create a new gallery or collection within the private group.
  3. Uncheck the Access Control option for Same as Containing Group.
  4. Select the Access option for Public.
  5. Select the Search and Metadata option to not include photos in any search results
  6. Put your images into this new hidden gallery

Next, you will need to create a password protected page in WorkPress:

  1. Create a new page in WordPress. Set the Visibility on the page to Password Protected.
  2. Put your ZenfolioPress short code on the page and set the id to match your hidden gallery on Zenfolio.
  3. Publish your page

A password will now be required to see the protected page on your WordPress site. Your ZenfolioPress gallery will not be password protected, but putting the gallery under a private group will block the ability to simply browse to the hidden page. A viewer would have to guess the unique id of the page within your Zenfolio site in order to view it, which is not a simple task.

I’ve posted an example gallery here, the password is “hidden”.

2 thoughts on “Protected Galleries using ZenfolioPress

  1. lamorm1

    I’ve been using Zenfolio for a long time to display galleries on my website. After the latest update, I’m getting the following error displayed on my web pages:

    Warning: Invalid argument supplied for foreach() in /home3/lamorm1/public_html/wp-content/plugins/zenfoliopress/Zenfolio.php on line 103

    I haven’t gone to look at the php file, but was wondering if you have seen this issue from other users? (I tried uninstalling Zenfolio and deleting all it’s files and reinstalling and the error still exists)

    1. David Nusbaum Post author

      I looked at line 103 and that error would happen if we loaded a valid photoset (gallery or collection) that did not contain any viewable photos. I avoid the error being displayed, but there would still be no photos to display. If you will send me the photoset id, I’ll take a look and see if there is something else going on as well.

Leave a Reply