← Back to Home

Screenshot Gallery Examples

This page demonstrates all the different ways to use the screenshot gallery system. Copy and paste the patterns you need into your pages. Remember to replace placeholder images with actual screenshots from page_images/ folder.

Default Auto-fit Gallery

Automatically adjusts columns based on available space. Good for most use cases.

Dual Column Layout

Fixed 2-column layout. Perfect for side-by-side comparisons.

Triple Column Layout

Fixed 3-column layout. Good for showing multiple features.

Single Column (Featured)

Large, centered screenshot. Perfect for hero images or main features.

Without Captions

Clean gallery without text captions. Add no-caption class.

With Badges

Add badges to highlight new features or versions.

Different Aspect Ratios

Use wide, square, or portrait classes on the wrapper.

Lazy Loading

Use data-src instead of src to lazy load images.

Before/After Comparison

Side-by-side comparison with labels.

Before
Before
After
After

Mixed Gallery with Multiple Images

Gallery with multiple screenshots that opens in lightbox viewer.

HTML Code Reference

Basic Structure

<div class="screenshot-gallery">
  <div class="screenshot-item">
    <div class="screenshot-img-wrapper">
      <img class="screenshot-img" src="page_images/example-1.jpg" alt="Description" />
    </div>
    <div class="screenshot-caption">Caption text here</div>
  </div>
</div>

Layout Classes

Aspect Ratio Classes

Additional Classes

Usage Instructions

1. Add JavaScript

Include the screenshot gallery script before closing </body> tag:

<script src="screenshots.js"></script>

2. Add Images to page_images Folder

Follow the naming convention: [page-name]-[number].jpg

3. Insert Gallery HTML

Copy one of the patterns above and replace placeholder images with your actual images.

4. Features