Three Display Styles
π² Grid Layout
Best for: Event photos, team photos, sponsor logos
- 2, 3, or 4 columns (configurable)
- Square images
- Hover zoom + caption reveal
- Click for enhanced lightbox
π§© Masonry Layout
Best for: Mixed photo sizes, competition galleries
- Natural image heights
- Pinterest-style cascading
- 1-3 columns (responsive)
- Click for enhanced lightbox
ποΈ Slideshow
Best for: Hero galleries, feature highlights
- Auto-play (optional, 3-10 seconds)
- Previous/Next buttons
- Slide indicators (dots)
- Captions overlay
- Keyboard navigation (arrow keys)
- Pause on hover
β¨ Cool Features
π·οΈ Tag Filtering
- Tag images (e.g., "Jumping", "Dressage")
- Filter buttons auto-generate from tags
- Visitors click to show/hide categories
π€ Social Sharing
- Share to Facebook, Pinterest
- Copy image link
- Download high-res images
- Web Share API on mobile
π Photo Albums
- Organize into collections
- Tab selector to switch albums
- Example: "Summer 2024", "Members"
π Zoom & Pan
- Zoom in/out with controls
- Mouse wheel zoom
- Pinch-to-zoom on mobile
- Drag to pan when zoomed
β€οΈ Favorites
- Heart images to save
- Stored in browser (no login)
- "Show Favorites Only" filter
π€ Photographer Credits
- Show photo credits
- Display on hover or in lightbox
Adding Images
- Pick from Library - Select existing images
- Add by URL - Enter image URL manually
- Upload - Add new images to library
Required Fields
- β Display Style - Choose layout type
- β Images - At least 1 image
- β Alt Text - For every image (accessibility)
Optional Per-Image Fields
- Caption - Shown on hover/lightbox
- Tags - For filtering (comma-separated)
- Album - Assign to album collection
- Photographer - Photo credit
Mobile Responsive
- Mobile: All layouts adapt to 1 column
- Tablet: Grid/Masonry use 2 columns
- Desktop: Full layout as configured
Accessibility βΏ
- Required alt text for screen readers
- Keyboard navigation support
- 44x44px touch targets on mobile
- WCAG 2.1 AA compliant
Quick Tips
π‘ Grid: Use 3 columns for best balance
π‘ Masonry: Works best with 8-15 images
π‘ Slideshow: Keep to 5-7 images max
π‘ Alt Text: Be specific, not generic
π‘ Captions: Keep under 2 lines
π‘ Tags: Use consistent naming (e.g., always "Jumping" not "jumping")
π‘ Albums: Great for organizing 20+ images
π‘ Sharing: Increases club visibility and marketing
π‘ Favorites: Helps identify most popular content
Feature Combinations
π Best for Large Events:
- Grid or Masonry layout
- Enable Tag Filtering (by discipline)
- Enable Favorites
- Enable Social Sharing
πͺ Best for Facility Tours:
- Masonry layout
- Photo Albums (Arenas, Stables, Amenities)
- Enable Zoom & Pan
- Photographer Credits
π± Best for Social Media:
- Grid layout
- Enable Social Sharing
- Enable Download
- High-quality images
π₯ Best for Member Galleries:
- Grid layout (4 columns)
- Enable Favorites
- Enable Tag Filtering (by year/event)
Image Recommendations
- Size: 1200px+ width (1920px for slideshow)
- Format: JPEG, PNG, or WebP
- File Size: Under 500KB (compressed)
- Aspect Ratio: Any (Grid makes square, Masonry preserves original)
Keyboard Shortcuts
- Tab - Navigate to controls
- Enter/Space - Activate buttons
- β/β - Previous/Next slide (slideshow)
- Esc - Close lightbox
- Mouse Wheel - Zoom in/out (when lightbox open)
Mobile Features
- Pinch-to-Zoom - Zoom images in lightbox
- Long Press - Show favorite button
-
Web Share API - Native share dialog\n\n---\n\nSource:
wiki/features/GALLERY_BLOCK_QUICK_REFERENCE.md\nLast synced: 2026-09-07 11:49:33 UTC