Envira Gallery Documentation

Documentation, Reference Materials and Tutorials for Envira Gallery

Password Protection Addon

The Password Protection Addon for Envira Gallery gives you the option to password protect your Envira galleries in just a few simple steps. Password protection for your image galleries means you can prevent unauthorized access to your online images.

We’ll walk you through how to create a password protected gallery in the following documentation, as well as answer some frequent questions about the Password Protection Addon.


In order to use the Password Protection Addon, you’ll first have to install and activate the addon from your WordPress Admin dashboard. For more information, please follow our instructions on how to install and activate addons.

In this instance, you’ll need to activate the Envira Password Protection Addon.

Before you can use the Protection Addon, you’ll first have to create a new Envira gallery or click to edit an existing gallery. You can follow along with our documentation for creating your first gallery if you’re new to the plugin.

Next, you’ll need to set gallery’s Visibility to enable password protection.

On the right-hand side of the gallery creation page, you’ll see a Publish panel. If you’re updating an existing gallery, this button will say Update instead of Publish.

Inside this panel, change the Visibility of the gallery to Password protected by clicking the Edit link next to the Visibility option. Then, enter a password for your gallery and select OK.

Set the visibility to Password protected and give the gallery a password and click OK

Envira’s Password Protection Addon allows you to require an email address or username to access the protected gallery, in addition to the password you set. This step is optional but, if you do want your guests to provide a username or email to access the gallery, you can set that requirement by completing the Email Adddress / Username field in the Password Protection right-hand sidebar.

You can also set the prompt your users will see that asks for the password, as well as a custom “wrong password” message.

Require a username or email as well as changing the default password message for your password protected gallery

Finally, click Publish or Update on your gallery to save the changes. Your gallery is now password protected and can’t be seen without a correct password.

See the demo!

Did you know that you can also password protect your downloads using the Envira Gallery Downloads Addon? Read more about that on our documentation for the Downloads Addon.


A: Absolutely! Password protect an Envira Album following the same steps above.


A: This is default WordPress behavior, not a feature of Envira Gallery. We suggest using a plugin like Remove Protected to delete the “Protected:” portion from the title of your password protected galleries.


A: When you add a password protected gallery to an album and enable the ablum’s Lightbox, the user would never be prompted for the password, which means images in the password protected gallery show in the album. To preserve the gallery’s protection, it’s best to either password protect the entire album, or disable the Lightbox for that gallery by editing the gallery from the album edit screen.

To edit the gallery from the album screen, click the blue pencil icon on the album. This opens a dialog that allows you to disable the Lightbox for that particular gallery. Simply uncheck the Enable Lightbox For Gallery? option and click Save Metadata.


A: Yes! With the Password Protection Addon, you can now choose to generate private links for your protected galleries instead of setting passwords. This new feature ensures that only those with the private link can view your gallery. To generate a private share link, simply follow the steps above, then locate the box at the bottom of the right-hand panel called Envira: Private Links. There, you can input a link for your private gallery.

For example, you could enter the word “private”, and the link to your private gallery would be yourwebsite.com/private.

Now you’re ready to send your private share link to clients!

Have more questions about the Password Protection Addon? Check out our demo to see the addon in action before you install it on your WordPress site.

Changelog

1.4.6 (05-11-2023)

  • Fix: Cases where gallery displays above form.
  • Fix: PHP 8.2 support.

1.4.5 (9-16-2020)

  • Added: Enable private sharing links.

1.4.4 (7-23-2020)

  • Fix: Add filter to allow HTML after form display.

1.4.3 (02-05-2020)

  • Fix: Minor bug fixes.

1.4.2 (12-17-2019)

  • Fix: Resolved issue involving incorrect auto displayed text.

1.4.1 (11-13-2019)

  • Fix: Resolved issue involving "Password required" text and auto-display "Wrong password" text .

1.4.0 (10-23-2019)

  • Fix: Password protected galleries should better show link back to albums depending on cache settings.

1.3.8 (02-20-2019)

  • Fix: "Stuck in the login loop" issue when email/username requirement is enabled.

1.3.7 (01-23-2019)

  • Fix: Fatal error for certain versions of PHP.

1.3.6 (12-19-2018)

  • Fix: Better compatibility with third party plugins.
  • Fix: Minor bug fixes.

1.3.5 (12-19-2018)

  • Enhancement: Custom popup, with settings for header, main text, and text for button.
  • Enhancement: Allow users to set cookie expire times via new 'envira_password_protection_time_limit' filter.
  • Fix: Resolved proper admin classes in body header.
  • Fix: Better compatibility with iOS 12.
  • Fix: Minor bug fixes.

1.3.4 (10-16-2018)

  • Enhancement: Added "Password Required Message" setting in admin.
  • Added: envira_password_protection_message WordPress filter.

1.3.3 (08-22-2018)

  • Fix: Remove PHP Warnings.

1.3.2 (08-22-2018)

  • Fix: Minor bug fixes.

1.3.1 (05-30-2018)

  • Fix: Minor bug fixes.

1.3.0 (04-10-2018)

  • Added: Fancybox3 support.
  • Fix: Minor bug fixes.

1.2.0 (10-18-2017)

  • Fix: Minor bug fixes/li>

1.1.1 (08-08-2017)

  • Fixed: Multiple galleries fields alignment
  • Fixed: Galleries showing without password field

1.1.0 (07-25-2017)

  • Fix: Minor bug fixes

1.0.9 (2016-03-03)

  • Fix: Return and don’t output an error if Password Protection couldn’t retrieve the Gallery/Album Post

1.0.8 (2016-02-25)

  • Updated: Spanish Translations

1.0.7 (2016-02-18)

  • Added: Integration with Printing Addon for Password Protection

1.0.6 (2015-02-04)

  • Fix: Use gallery / album ID argument to check if Password Protection is required, instead of gallery / album config, to provide compatibility with the Dynamic Addon

1.0.5 (2015-12-10)

  • Updated: Spanish Translation

1.0.4 (2015-12-03)

  • Added: Spanish translation

1.0.2 (2015-11-19)

  • Added: Password option for Downloads Addon

1.0.1 (2015-07-23)

  • Added: Password field option

1.0.0

  • Initial release of the addon.