Documentation, Reference Materials and Tutorials for Envira Gallery
How to customize URLs for deeplinked galleries
With the Deeplinking Addon, you can directly link to a Lightbox view of any image in your gallery. The Envira Gallery plugin automatically generates a URL for your images when you enable deeplinking on your Lightbox galleries. But, is it possible to customize your URL image links?
In this documentation, we’ll walk through how to use a filter to create custom URLs for images in your deeplinked galleries.
Heads up!
This article contains PHP, CSS, and/or JavaScript to customize our plugin. We offer this code as a courtesy but don’t provide support for additional code customizations or 3rd party development.
Adding the code snippet
First, you’ll need to add the following code snippet to your site to create the custom URLs for your deeplinked galleries.