OG Gallery is the WordPress gallery plugin we build at OG Nexus. It does one job: show your photos well, without making your site slow. If you have ever added a gallery plugin and watched your page speed drop, this one was built to avoid that. This guide covers how it works, the layouts, and the settings worth changing first.
Three ways to add a gallery
The Gallery block in the WordPress block editor.
A shortcode, for page builders and classic content.
A replacement for the standard WordPress gallery. Galleries you already have pick up the new layouts.
The third option is the quickest win on an older site. You do not rebuild anything. Your existing galleries simply change look. If you change your mind, switch the override off and they go back to normal. There is no lock-in.
The layouts
There are six main layouts. Each one suits a different kind of photo set:
Tiles: a magazine-style mix of big and small images.
Masonry: columns of different heights, good for mixed portrait and landscape shots.
Justified: neat rows of equal height, the look many photo sites use.
Square: a tidy grid of square crops.
Cascade: another column style, worth testing next to Masonry with your own photos.
Horizontal: one row you scroll sideways.
Two more layouts are worth knowing about. Carousel is a sliding row of photos. It can also work as a hero slider at the top of a page. Map places your photos on a map using their GPS data. It is made for travel galleries.
You can also group several galleries into collections. That helps once you have a lot of albums.
How we have it set up on og-nexus.com
OG Gallery is active on og-nexus.com. These are the defaults we chose in its settings. They are a sensible starting point for most sites:
Default layout: Tiles. Any new gallery starts as Tiles unless you pick another.
Gutter: 10 pixels. The same space between images on desktop, tablet and mobile.
Density by screen. Tiles density is high on desktop, medium on tablet and low on mobile. Phones get fewer, bigger images.
Image size: srcset. The browser picks the right file for each screen, so phones never load desktop-sized images.
Stylish look on. Images get a 6-pixel corner radius, a soft shadow and a 2-pixel lift on hover.
Masonry: 3 columns. Square: 5 columns. Justified rows: 200 pixels high.
Map engine: Google Maps. Mapbox and MapTiler are also supported, each with its own key.
The density setting matters more than it looks. A dense grid that looks rich on a laptop can turn into tiny thumbnails on a phone. Setting density per screen size fixes that without a second gallery.
Built to stay fast
OG Gallery is built from scratch with modern code. It avoids the legacy bloat that slows many gallery plugins.
The Pro features add lazy loading and infinite loading. Photos then load as visitors scroll instead of all at once. That keeps the first view of the page light. Google's web.dev team explains why this helps in its guide to image lazy loading.
Every layout is responsive and retina-ready. Photos look sharp on phones, tablets and high-density screens. Sitemap support, so search engines can find your gallery images, is coming soon.
It works with what you already use
OG Gallery works with WordPress rather than around it, so it fits most themes and plugins. A few pairings are worth knowing:
Lightbox: any lightbox works. OG Lightbox opens your photos full size with their camera details.
Custom links: OG Gallery Custom Links lets an image open any URL instead.
SEO plugins: the sitemap support (coming soon) will work alongside common SEO plugins.
What we would do first on a new site
Pick one default layout that suits most of your photos.
Set density per screen size, and check the gallery on a real phone.
Keep the image size on srcset, so each screen gets the right file.
Turn on lazy loading for any gallery with more than a screenful of photos.
Add a lightbox, so visitors can see each photo full size.
Who it is for
Photographers, travel bloggers, agencies and anyone who wants attractive galleries on WordPress without a heavy plugin.
Getting it
OG Gallery is sold with a licence key for one site, yearly or lifetime, with updates and support from the OG Nexus team. See the OG Gallery product page, the documentation, or the whole OG plugin family.




