Description
Junk Theme Masonry Photo Gallery lets you create photo galleries in the WordPress admin and display them anywhere with a shortcode.
Create your own named photo categories on the gallery edit screen and choose Media Library images for each category. Category names can be displayed as filter buttons on the frontend so visitors can view all photos or filter by category.
Features:
- Masonry and grid layouts.
- Adjustable desktop columns, image spacing, corner radius, and grid aspect ratio.
- Custom category filter label, alignment, colors, button shape, text size, and spacing.
- Optional lightbox with captions, navigation arrows, and keyboard navigation.
- Optional image entrance and category-switch animations, with reduced-motion support.
- Optional lazy loading and minified frontend CSS and JavaScript assets.
- Gallery settings are saved per gallery.
- No WordPress taxonomy setup is needed for photo categories.
Live Demo
See the gallery in action:
https://demo.junktheme.com/elementor/photo-gallery/
Upgrade to Junk Gallery Pro
Take your photo galleries to the next level with Junk Gallery Pro! Unlock advanced layouts, powerful customization options, premium image effects, and professional gallery features.
Junk Gallery Pro includes everything in the Free version, plus:
- Advanced masonry layouts and justified rows.
- Advanced image hover animations and zoom functionality.
- Premium lightbox with fullscreen mode, slideshow/autoplay, and thumbnail navigation.
- Advanced category filters with animated transitions.
- Assign multiple categories to a single image.
- Load More button and AJAX pagination.
- Advanced captions, image overlays, titles, and descriptions.
- Custom typography, advanced styling controls, and custom CSS.
- Image aspect ratio controls and flexible image ordering.
- Advanced image optimization.
- Custom image links with configurable target options.
- Ready-to-use gallery presets and templates.
- 1 year of free priority support.
Why Upgrade to Pro?
Create professional photo galleries with greater flexibility, advanced design controls, and a better browsing experience for your visitors.
Whether you’re building a photography portfolio, business website, creative agency portfolio, or image-rich website, Junk Gallery Pro gives you the tools to make every gallery stand out.
Ready to unlock all premium features?
Get Junk Gallery Pro today:
https://www.junktheme.com/product/junk-gallery-pro-advanced-photo-gallery-plugin/
Usage
Use the shortcode shown in the gallery editor:
[rmg_gallery id="123"]
Replace 123 with the ID of your published gallery. The shortcode uses the settings saved on that gallery.
You can optionally override the saved desktop column count for a specific shortcode:
[rmg_gallery id="123" columns="4"]
The columns attribute accepts values from 1 to 6. Responsive layouts reduce the number of columns on smaller screens.
Settings
All options are available on the gallery edit screen:
- Layout Settings: Select Masonry or Grid, choose desktop columns and image spacing, set corner radius, and optionally select an aspect ratio for Grid layout. Masonry uses image proportions and does not apply the aspect ratio setting.
- Filter and Button Styling: Show or hide category filters, set the label for the all-photos button, align the buttons, and customize active and inactive colors, corner radius, text size, padding, and spacing.
- Animation and Performance: Choose an entrance animation, a category-switch animation, enable or disable lazy loading, and enable Speed Up to use the included minified frontend assets.
- Lightbox Settings: Enable or disable the lightbox and configure captions, navigation arrows, and keyboard navigation.
Included Files
junk-theme-masonry-photo-gallery.php— plugin bootstrap, gallery post type, editor controls, settings, and shortcode output.assets/css/admin.css— styles for gallery editor controls.assets/js/admin.js— media selection, settings interactions, and shortcode copy button.assets/css/gallery.cssandassets/js/gallery.js— frontend layout, filters, animations, and lightbox behavior.assets/css/gallery.min.cssandassets/js/gallery.min.js— minified frontend assets used when Speed Up is enabled.
Installation
- Upload the
junk-theme-masonry-photo-galleryfolder to the/wp-content/plugins/directory, or install the plugin ZIP through the Plugins screen. - Activate the plugin through the Plugins screen in WordPress.
- Open Photo Galleries > Add New Photo Gallery.
- Give the gallery a title, add one or more categories, and choose photos for each category.
- Configure the layout, filters, animations, performance, and lightbox options.
- Publish the gallery and copy its shortcode from the Gallery Shortcode sidebar box.
- Paste the shortcode into a page or post.
FAQ
How do I add category filters?
Create categories in the Gallery Categories and Photos panel on the gallery edit screen. Add a category name and select its photos. If Show Category Filters is enabled, those names appear as filter buttons above the gallery.
Where do I find the shortcode?
Publish or save the gallery. The shortcode is displayed in the Gallery Shortcode sidebar box on the edit screen.
Does Masonry crop my photos to an aspect ratio?
No. Masonry preserves each image’s original proportions. The Image Aspect Ratio option applies to Grid layout only.
What does Speed Up do?
When enabled, the plugin loads its included minified gallery CSS and JavaScript files. Lazy loading is a separate option and can be enabled or disabled independently.
Can I show a gallery without a lightbox?
Yes. Set Enable Lightbox to No. Images link directly to their full-size media file.
Screenshots
Changelog
1.4.2
- Simplified settings field rendering to avoid unnecessary output buffers.
1.4.1
- Improved input sanitization and compatibility with WordPress 5.0.
- Removed platform metadata files from the plugin package.
1.4.0
- Added On Load Animation and On Tab Switch Animation settings.
- Added optional lazy loading and Speed Up selection for minified frontend assets.
- Improved responsive Masonry layout and image sizing.
1.3.2
- Updated Masonry layout to follow the selected column count.
- Kept aspect-ratio controls specific to Grid layout.
- Reduced the lightbox image display size.
1.3.0
- Added category filter buttons and per-gallery filter styling options.
1.2.0
- Added per-gallery layout and lightbox settings.
- Added the shortcode to the edit-screen sidebar.
1.1.0
- Added named photo categories to gallery editing.
- Preserved images from galleries created with earlier versions.
1.0.0
- Initial release with Media Library image selection, responsive gallery layout, shortcode, and lightbox.




