Menu Search
Jump to the content X X

Today, too many websites are still inaccessible. In our new book Inclusive Design Patterns, we explore how to craft flexible front-end design patterns and make future-proof and accessible interfaces without extra effort. Hardcover, 312 pages. Get the book now →

30 Scripts For Galleries, Slideshows and Lightboxes

Family photos, vacation snapshots or creative artistic works: whatever images you have to present, you can present them in a variety of ways. On a big screen, in slide shows or in a thumbnails gallery. However, to convey the message of presented data effectively, it’s important to offer it in an attractive and intuitive way. Furthermore, the presentation itself can make images more valuable and simplify the browsing through hundreds of slides. [Content Care Oct/14/2016]

There are literally hundreds of solutions for web-based galleries1 out there. We’ve selected 30 scripts of impressive slideshows, lightboxes and galleries you can use for effective presentations of your images. Most of them don’t have any technical requirements, so you can use them right away. Let’s take a look.

Ajax Image Galleries & Lightboxes Link

  • Pyxy-gallery2
    Pyxy-gallery is an AJAX image gallery in PHP and JavaScript, which optionally uses lightbox.js. It is designed to be an ultra-light-weight, “drop-in” image gallery.
    Screenshot3
  • zenphoto4
    Zenphoto is an answer to lots of calls for an online gallery solution that just makes sense. After years of bloated software that does everything and your dishes, zenphoto just shows your photos, simply. It’s got all the functionality and “features” you need, and nothing you don’t. Where the old guys put in a bunch of modules and junk, we put a lot of thought. We hope you agree with our philosopy: simpler is better.
    Screenshot5
  • Couloir: Resizing, Fading Slideshow Demo – AJAX Slideshow6
    This photo slideshow is a demonstration of Flash-like behavior implemented solely in Javascript, HTML, and CSS. The code is offered as-is — Couloir.org offers no technical support. However, you are permitted to use it on your own project so long as you do so according to the rules outlined in the Creative Commons ‘Attribution-ShareAlike 2.0’ License and the license terms contained in the associated, third-party APIs.
  • Multifaceted Lightbox7
    A script (JavaScript) that allows you to focus the users attention on a particular portion of the screen. It creates the equivalent of a modal dialog box – this means that while the user looks at this focused part of the screen, they can’t interact with the rest of the screen.
    Screenshot8
  • TripTracker9
    The TripTracker slideshow is a lightweight JavaScript image viewer with an animated slideshow feature.
    Screenshot10
  • Slimbox, the ultimate lightweight Lightbox clone11
    Slimbox is a 7kb visual clone of the popular Lightbox JS v2.0 by Lokesh Dhakar, written using the ultra compact mootools12 framework. It was designed to be small, efficient, more convenient and 100% compatible with the original Lightbox v2.

CSS-Based Image Galleries Link

  • A Photograph Gallery13
    Just a simple :hover over thumbnail images to give a full size view of each photograph. With all but Opera you can also click the thumbnails to retain the image on the screen. Text can be added at the bottom of each picture. Ideal for photograph albums.
    Screenshot14
  • A simple CSS photo-album15
    The text numbers and images are held in an unordered list without any extra markup (no ’ems’ or ‘spans’ etc). The CSS just styles the text numbers so that they appears in a box and the images so that they are hidden until your visitor clicks a number square.
    Screenshot
  • Cross Browser Multi-Page Photograph Gallery16
    Based on Suckerfish HoverLightbox this one uses my multi-page layout system but includes images instead of text. Unlike the Suckerfish HoverLightbox this version is pure CSS.
    Screenshot17
  • CSS Image Gallery18
    This is a purely CSS based image gallery that displays larger versions of thumbnail images dynamically when the mouse hovers over them. A rich HTML caption can be added to the enlarged image, and every aspect of the Image Gallery exists as plain HTML on the page. The idea is to use CSS’s “:hover” pseudo class to cause an element to react onMouseover. When that happens, an absolutely positioned container holding the enlarged image, anchored on the page by another container with position set to relative, is shown. Furthermore, it’s possible to modify the behavior so the enlarged images are only shown onClick, though IE6 currently doesn’t support this behavior well. The gallery works in IE6+, Firefox, Opera 8+.
    Screenshot19
  • CSS: Photo Showcase20
    This experiment uses CSS and basic markup to create a simple way to display photo thumbnails on your site while offering convenient fast zoom viewing, even for dialup users.
    Screenshot21
  • Hoverbox Image Gallery22
    Basically, it’s a super light-weight (8kb) roll-over photo gallery that uses nothing but CSS.
    Screenshot23
  • Photo scroll gallery24
    A combination of several of my previous galleries to give a scrolling ‘thumbnail’ image, a medium size image on hover and a full size image on click. The thumbnail, medium size and full size images are all the same image just resized using CSS. The thumbnails are square to make the scrolling area simpler to work with. This does make these images a little distorted but not so much that they look wrong.
    Screenshot25
  • Sliding Photograph Galleries26
    It is just an unordered list of images that are normally compressed vertically (reduction 8:1). When you hover over one of these compressed images it expands to full size. It is based on my sliding menu system and adapted to use images. No thumbnails are required and all the images are ‘pre-loaded’.This method can be used either vertically, as shown, or horizontally.
    Screenshot27

JavaScript + CSS-based Galleries & DHTML-Galleries Link

  • xImgGallery – Javascript Image Gallery & Slideshow28
    This script implements a Javascript image gallery and slideshow – all in one file.
    Screenshot29
  • ImageGal30
    imagegal is a simple PHP script that will automagically create a JS/CSS/DHTML powered image gallery for you when dropped into a directory containing images. This simple script was inspired by a Jeremy Keith’s article on aListApart.com.
  • Highslide JS31
    Highslide JS is a piece of JavaScript that streamlines the use of thumbnail images on web pages. The library offers these features and advantages: No plugins like Flash or Java required. Popup blockers are no problem. The images expand within the active browser window.
    Screenshot32

Footnotes Link

  1. 1 https://www.smashingmagazine.com/2016/07/ten-requirements-for-making-home-page-carousels-work-for-end-users/
  2. 2 http://fennecfoxen.org/pyxy/gallery
  3. 3 http://fennecfoxen.org/pyxy/gallery
  4. 4 http://www.zenphoto.org/
  5. 5 http://www.zenphoto.org/
  6. 6 http://www.couloir.org/js_slideshow/
  7. 7 http://www.gregphoto.net/lightbox/
  8. 8 http://www.gregphoto.net/lightbox/
  9. 9 http://slideshow.triptracker.net/
  10. 10 http://slideshow.triptracker.net/
  11. 11 http://www.digitalia.be/software/slimbox
  12. 12 http://www.mootools.net/
  13. 13 http://www.cssplay.co.uk/menu/gallery.html
  14. 14 http://www.cssplay.co.uk/menu/gallery.html
  15. 15 http://www.cssplay.co.uk/menu/photo_album.html#nogo
  16. 16 http://www.cssplay.co.uk/menu/lightbox.html#flower8
  17. 17 http://www.cssplay.co.uk/menu/lightbox.html#flower8
  18. 18 http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/
  19. 19 http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/
  20. 20 http://mikecherim.com/experiments/css_photo_showcase.php
  21. 21 http://mikecherim.com/experiments/css_photo_showcase.php
  22. 22 http://sonspring.com/journal/hoverbox-image-gallery
  23. 23 http://sonspring.com/journal/hoverbox-image-gallery
  24. 24 http://www.cssplay.co.uk/menu/photo_scroll.html#nogo
  25. 25 http://www.cssplay.co.uk/menu/photo_scroll.html#nogo
  26. 26 http://www.cssplay.co.uk/menu/gallery3l.html
  27. 27 http://www.cssplay.co.uk/menu/gallery3l.html
  28. 28 http://cross-browser.com/toys/img_gallery_2.php
  29. 29 http://cross-browser.com/toys/img_gallery_2.php
  30. 30 http://dasme.org/imagegal/
  31. 31 http://vikjavev.no/highslide/
  32. 32 http://vikjavev.no/highslide/

↑ Back to top Tweet itShare on Facebook

Advertisement

Sven is the co-founder and former CEO of Smashing Magazine. He's now writing at his Conterest Blog, where he focuses on blogs, content strategy, writing and publishing — all in German.

  1. 1

    Lightbox is defenitly the way to go if you want the ability to show a thumbnail and provide the visitor a nice, clean and intuitive big image of it.
    Thanks for this useful post!

    0
  2. 2

    Very Thanks!
    ขอบคุณมากครับ

    2
  3. 3

    Thak you for this post. I realy need, all of them in one place.

    -2
  4. 4

    criticalerror

    May 18, 2007 7:59 am

    2 Good works in the same day!!!
    Keep going!!!!

    0
  5. 5

    The CSS one looks nice.

    3
  6. 6

    Sherif Mansour

    May 18, 2007 9:19 am

    Top stuff again Smashing Magazine – great list

    1
  7. 7

    this is perfect for my next gallery :) thanks smashing magazines

    -2
  8. 8

    Hi: I ran into yet another gallery solution last night called simpleviewer. Free for personal use, very easy to use (even for the technodolt) and very neat presentation with easy navigation. There is a version that integrates very well with Picasa2. Using the Picasa version means you don’t even have to create your own thumbnails. If you add captions to your Picasa gallery, these are included with the gallery images. If you don’t add captions in Picasa, the image file names are displayed instead. Captions are better. :)

    -2
  9. 9

    Sean McManus

    May 18, 2007 4:28 pm

    Great list, thanks. I’ll check them out. Some of the screenshots are a bit confusing though – it’s hard to see where the screenshot starts and your content ends.

    -2
  10. 10

    Thanks for putting this list together, handy having a list of galleries, slideshows and lightboxes all in one place.

    0
  11. 11

    great scripts for web albums,
    thanks…

    0
  12. 12

    Personally I use Flickr to archive all my photos and recently I came across this script from naggle.com which provides a beautiful gallery with seamless integration with the Flickr API.

    -1
  13. 13

    Hey.. it’s very nice to see all good image galleries in a single page.. i was searching for a good image gallery to use in my site.. thanks to smashing magazine..lots of million thanks to you…

    0
  14. 14

    Thanks pals , actually , i was looking out for a nice gallery i could use up .

    Gallery by menalto , was actually , very heavy and sucks from root .

    Found , phpgraphy to be useful .
    Anyway , nice post and thanks .

    0
  15. 15

    great post as usual, guys. thanks for the effort!

    0
  16. 16

    Thanks so much for this all in one place! Exactly what I’ve been craving.

    1
  17. 17

    Thomas Hansen

    May 19, 2007 6:41 pm

    Or you could just drop doing the JavaScript yourself and use a 100% declarative library like the one in my sig.
    ;)

    .t

    0
  18. 18

    i really love the way u round them up, gr8 job guys.
    keep it up.

    0
  19. 19

    Great list SM.

    I used to keep track of galleries scripts at delicious. Now I need to keep just one link :)

    thanks again.

    1
  20. 20

    thanks for the nice thematic link collection. would pick something of these for the next client projects.

    1

↑ Back to top