Gallery Pro
Gallery Pro is a Bric for Blocs for Mac that builds a gallery from photos stored in a folder on your server. Choose from four layouts and click a photo to view it in a lightbox. It can also display titles, descriptions, copyright information, and shooting details embedded in your photos.
Build a photography gallery by uploading your images to a server. A PHP-capable host is required. The setup guide walks through the Blocs screens and provides code to copy and paste.
Download Gallery Pro 1.0.0 / Setup guide
Examples
The Gallery Pro demo lets you compare the same photos in four layouts: Masonry, Justified, Grid, and Square. Open a photo to see it enlarged, together with its title, description, and shooting details.
| Layout | How photos are displayed | Main settings |
|---|---|---|
| Masonry | Preserves aspect ratios and arranges photos in fixed-width columns | Columns, Gutter |
| Justified | Adjusts row heights to fit the photos' aspect ratios and align them horizontally | Row Height, Gutter |
| Grid | Crops photos to the selected aspect ratio and arranges them in a grid | Crop Ratio, Columns, Gutter |
| Square | Crops photos to squares and arranges them in a grid | Columns, Gutter |
Show photographs and the information behind them
Choose a gallery layout and open individual photos in a lightbox. Titles, descriptions, copyright information, and shooting details come from metadata embedded in the photos. Share individual photo URLs and, after completing the setup, generate photo-specific information for social sharing.
Manage photos by uploading them to the server. Gallery Pro does not include a browser-based upload or editing panel, or automatic translation. To display multilingual information, prepare the translations in the photo metadata.
Requirements
Use Blocs 6 for Mac and hosting with PHP 8.3 through 8.5. Individual photo URLs also use Apache rewrite rules. You do not need to install PHP on your Mac to use it on the server. See Requirements in the setup guide for PHP extensions and write access.
Setup
- Create a photo folder on the server and upload your photos.
- Place Gallery Pro where the photos should appear, then set Path and Layout.
- Set the page to PHP and paste the supplied code into
Before <!DOCTYPE>in Page Settings. - Add the photo URL rules in Hypertext Access and publish from Blocs.
- Check the gallery, lightbox, and reloading individual photo URLs.
Continue to the illustrated setup guide. The Bric registers its required JS, CSS, and PHP files automatically, and normal Publish transfers them. Upload your photos separately.
Basic settings
Start with Path for your photo folder and Layout for the arrangement. See Settings and photo information for defaults, columns, spacing, multilingual Segment selection, and other options.
Photo information and the lightbox
Move between photos, zoom, and choose which details to display. Settings and photo information explains metadata, captions, and lightbox controls.
You can place multiple galleries on one page. When opening a photo URL, the first Gallery Pro containing a matching photo ID is used. See Multiple galleries.
Detailed guides
| What you want to do | Read |
|---|---|
| Prepare photos and publish the gallery | Setup guide |
| Find your hosting provider's screens and PHP settings | Hosting guides |
| Look up defaults and photo information | Settings and photo information |
Verification scope
On October 25, 2026, the public demo was checked for gallery display, enlarged photos, and reloading individual photo URLs. The generic setup examples were tested in an isolated Apache 2.4.67 and PHP 8.5.8 environment for internal rewriting, photo-specific Open Graph output, query parameter preservation, and serving existing files.
Find a section from the previous article
Detailed instructions now have their own pages. Follow a link below to the corresponding section.
| Section | Read |
|---|---|
| 1. Plan your photo and file locations | Read section |
| Check the photo folder and write permissions | Read section |
| Official hosting guides | Read section |
| Check storage after publishing | Read section |
| 2. Place Gallery Pro in Blocs | Read section |
| Using multiple Gallery Pro instances on one page | Read section |
| 3. Set the page to PHP and add code before the doctype | Read section |
| 4. Add photo URL rules to .htaccess | Read section |
| 5. Publish from Blocs and check the result | Read section |
| Check attachments | Read section |
| Check from the sidebar | Read section |
| Brics placed in a Global Area | Read section |
| Troubleshooting | Read section |