10 Best Photo Galleries In Pure JavaScript & CSS (2025 Update)

A gallery lets you showcase your images, products, and any other web content in an elegant way.

Here is a list of the 10 Best Galleries implemented in Vanilla JavaScript and/or pure HTML/CSS/CSS3.

I hope you like it, and don’t forget to spread the world.

Originally Published Dec 13 2017, updated Jan 17 2025

1. CSS Only Filterable Gallery With Tabs

A CSS-only gallery that combines a filter with tabs.

CSS Only Filterable Gallery With Tabs

Demo Download


2. Adaptive Image Gallery With Masonry Grid Layout

A lightweight photo gallery that showcases your images in a responsive Masonry grid layout.

image-gallery-masonry-grid

Demo Download


3. 3D Rotator Gallery In Pure CSS

A creative, automatic, CSS only photo gallery that rotates through images in a 3D space.

3D Rotator Gallery In Pure CSS

Demo Download


4. Responsive Fullscreen Image Gallery – Bizon.js

A lightweight JavaScript gallery plugin that displays images in a responsive fullscreen popup. It fetches images from a JavaScript array and generates a thumbnail strip containing all thumbnails that users can click to view the full image.

responsive-fullscreen-gallery-bizon

Demo Download


5. grid-gallery

A lightweight, responsive photo grid gallery with lightbox integrated that allows the user to switch between images in a popup by clicking on any thumbnail.

grid-gallery

Demo Download


6. Modern Filterable Gallery With Image Lightbox

A modern, responsive, filterable photo gallery with pretty nice hover & lightbox effects.

Modern Filterable Gallery With Image Lightbox

Demo Download


7. zoomwall.js

A JavaScript library for creating a neat, compact thumbnail grid which expands into a fullscreen gallery lightbox as you click on a thumbnail image.

zoomwall.js

Demo Download


8. Minimalist Touch-friendly Gallery In JavaScript

A minimalist, dynamic, responsive, touch-enabled photo gallery built using pure JavaScript and CSS grid layout.

Minimalist Touch-friendly Gallery In JavaScript

Demo Download


9. Minimal Swipeable Gallery In Pure JavaScript – SwiperBox

A tiny JavaScript swiper library to create a touch-enabled, mobile-friendly gallery with support for swipe and drag events.

Minimal Swipeable Gallery In Pure JavaScript - SwiperBox

Demo Download


10. Image Gallery For Mobile Devices – PhotoSwipe

A Vanilla JavaScript Image Gallery designed for both Mobile and Touch Devices. It provides your visitors with a familiar and intuitive interface allowing them to interact with images on your mobile website.

Image Gallery For Mobile Devices - PhotoSwipe

[Demo] [Download]


See also:

You Might Be Interested In: