Image Gallery Widget¶
Description¶
The Image Gallery Widget displays a grid of images with zoom, download, and social sharing capabilities. Supports lightbox for full-screen viewing.
Page Builder Name: Image Gallery | PapaThemes
Version: 1.0.0
Features¶
- ✅ Responsive image grid
- ✅ Lightbox full-screen viewing
- ✅ Image download button
- ✅ Share to Facebook, Twitter, Pinterest
- ✅ Customizable column sizes per device
- ✅ Lazy loading images
- ✅ Hover effects
How to Use¶
1. Add Widget¶
- Open Page Builder
- Drag Image Gallery | PapaThemes widget to the page
- Widget displays with 4 sample images by default
2. General Configuration¶
In the Settings tab:
Icons¶
| Option | Description | Default |
|---|---|---|
| Show Download Icon | Show download button | true |
| Show Zoom Icon | Show zoom/lightbox button | true |
| Show Facebook Icon | Show Facebook share button | true |
| Show Twitter Icon | Show Twitter share button | true |
| Show Pinterest Icon | Show Pinterest share button | true |
| Enable Image Lazyload | Enable lazy loading | true |
| Icon Color | Icons color | #000000 |
Columns¶
| Option | Description | Default |
|---|---|---|
| Padding (Desktop) | Space between images | 10px all sides |
| Padding (Tablet) | Space on tablet | 10px all sides |
| Padding (Mobile) | Space on mobile | 5px all sides |
Image Title¶
| Option | Description | Default |
|---|---|---|
| Color | Title color | #000000 |
| Typography | Font style | Default |
| Font Size (Desktop/Tablet/Mobile) | Font size | 16px |
| Alignment | Alignment | Center |
| Padding | Spacing | 5px 0 |
3. Managing Images¶
In the Images tab:
Adding New Images¶
- Click Add Image
- Upload or select from library
Configuring Each Image¶
| Option | Description | Default |
|---|---|---|
| Image | Display image | Sample image |
| High-Res Image for Downloading | High-resolution download image | (empty) |
| Width | Width | 600px |
| Height | Height | 600px |
| Fit | Fill method (Contain/Cover) | Contain |
| Hover overlay color | Overlay color on hover | rgba(255,255,255,0.5) |
| Column Width (Desktop) | Desktop column width | 25% |
| Column Width (Tablet) | Tablet column width | 50% |
| Column Width (Mobile) | Mobile column width | 100% |
Configuration Examples¶
4-Column Desktop Gallery¶
Desktop: 25% per image (4 columns)
Tablet: 50% per image (2 columns)
Mobile: 100% per image (1 column)
3-Column Desktop Gallery¶
Desktop: 33.33% per image (3 columns)
Tablet: 50% per image (2 columns)
Mobile: 100% per image (1 column)
Mixed Size Gallery¶
Set different widths for each image: - Large image: Desktop 50%, Tablet 100%, Mobile 100% - Small image: Desktop 25%, Tablet 50%, Mobile 50%
Feature Details¶
Lightbox¶
When clicking the zoom button: - Image displays full-screen - Navigate between images - 80% opacity overlay - Click outside to close
Download¶
- Click download button to download image
- If High-Res Image configured, downloads high-resolution version
- Opens in new tab with download attribute
Social Share¶
- Facebook: Share image link to Facebook
- Twitter: Tweet with image URL and title
- Pinterest: Pin image to Pinterest
Responsive Behavior¶
| Size | Breakpoint | Behavior |
|---|---|---|
| Desktop | >= 801px | Full icons, hover effects |
| Tablet | 551px - 800px | Icons always visible |
| Mobile | <= 550px | Icons always visible |
Lazy Loading¶
When Lazy Loading is enabled: - Images only load when near viewport - Displays empty SVG placeholder - Uses lazyload class - Improves page load speed
Fit Options¶
Contain¶
- Image displays completely
- May have empty space
- Preserves aspect ratio
Cover¶
- Image fills container
- May crop image
- No empty space
Editing Titles¶
- Enable Edit Mode
- Click on image title
- Edit text (HTML supported)
- Save changes
Notes¶
- Image size: Optimize images before upload for faster loading
- Aspect ratio: Ensure Width/Height matches actual image ratio
- Social share: Images must be public for successful sharing
- Lazy load: Enable for better performance