Anchor First Image To Open Pretty Photo Modal Gallery In WordPress

PrettyPhoto WPGallery is the new WordPress plugin that takes over and enhances the WordPress Gallery shortcode with another gallery that shows only first image as an anchor to open up the modal gallery.

After the plugin is activated, any gallery shortcode displays only first image in specified size in shortcode with hidden links to remaining images. And when it is clicked the image opens up in the gallery in a PrettyPhoto modal where the images are set to ‘full’ and hence the modal expands to full size.

Installation & Usage: Install and activate PrettyPhoto WPGallery plugin then use gallery shortcode as normal being sure to specify the link='file'attribute like so:. You can use any other parameters as usual.

Leave a Reply

Your email address will not be published. Required fields are marked *