PhotoLab Pro — Documentation
Sell photo downloads and prints from your own Joomla site.
PhotoLab Pro turns a Joomla 5 or 6 site into a photographer’s shop. Visitors see watermarked previews, buy full-resolution downloads one photo or one gallery at a time, and order physical prints that go straight to your own print lab. Customers pay you directly through Stripe, and the lab is never shown to them.

Requirements
- Joomla 5 or Joomla 6
- PHP 8.1 or newer, with the GD and Zip extensions (the EXIF extension is needed to read camera details)
- A Stripe account (a sandbox account is fine for testing)
- An HTTPS site that Stripe can reach, for the payment webhook
- Joomla mail set up, so order emails can be sent
- To sell prints: a print lab that accepts orders by email
PhotoLab Pro is a standalone package. PhotoLab Free does not need to be installed, but if it is, you can import its galleries into Pro.
Installation
- In the Joomla administrator, go to System › Install › Extensions.
- Upload
pkg_photolabpro_1.2.0.zip. - PhotoLab Pro appears under Components › PhotoLab Pro.
- Go to Components › PhotoLab Pro › Options › Pro Licence and enter your licence key from your account page at extensions.thedesigncompany.co.nz. Saving it turns on automatic updates.
The package installs the PhotoLab Pro component and the PhotoLab Pro system plugin. The plugin is enabled for you. It keeps PhotoLab Pro pages out of Joomla’s page cache, so one visitor’s unlocked gallery or cart is never shown to another.
On first install, PhotoLab Pro adds a set of suggested print types, finishes and options for you to start from.
Getting Started
1. Connect Stripe
- In Stripe, copy your secret key (
sk_test_…while testing,sk_live_…when you go live). - In Options › Stripe, set Enable Stripe to Yes and paste the key into Stripe Secret Key.
- In the Stripe Dashboard, go to Developers › Webhooks and add a destination with this URL, using your own domain:
https://YOUR-DOMAIN/index.php?option=com_photolabpro&task=payment.stripeWebhook - Subscribe it to
checkout.session.completed,checkout.session.async_payment_succeededandcharge.refunded. - Copy the webhook’s signing secret (
whsec_…) into Stripe Webhook Secret and save.
Sandbox and live accounts each have their own keys and webhook secret. When you go live, repeat these steps with your live account.
2. Set your currency and tax
In Options › PhotoLab Pro, set the Currency Code (for example NZD) and Currency Symbol. Prices include tax. If you set a Tax rate (for example 15 for NZ GST) and a Tax name, the cart shows how much tax the total includes.
3. Add your photos
There are three ways to add photos:
- Upload — in Images, choose a category and upload one or more JPEG, PNG, GIF or WebP files.
- Import from a folder — in Import From Folder, pick a folder on the server and the files to bring in.
- Import from PhotoLab Free — in Tools, choose the PhotoLab Free categories to copy into Pro.
Titles are made from the filenames, and camera details are read from the files where they’re available.
4. Set prices
- Give each image a Price, or leave it empty to make the photo a free download.
- Use the bulk bar on the Images list to set a price, make photos free or move them to another category in one go.
- To sell a whole gallery for one price, set Whole Gallery Price on the category’s Selling tab.
5. Publish a gallery
- Go to Menus and create a menu item of type PhotoLab Pro › Gallery.
- Choose the category to show, or All to show every gallery that isn’t password-protected.
- Save and open the page on your site.
Galleries (Categories)
Each category is a gallery. Categories can have a parent, so you can group galleries.
Basic — title, description, parent and status.
Display
- Gallery Columns — Auto, or 2 to 5 columns.
- Image Ratio — Square, 4:3, 3:2 or 16:9 thumbnails.
- Show Descriptions — show each photo’s description in the gallery.
Selling
- Whole Gallery Price — lets visitors buy every image in the gallery at once. Leave it blank to sell images one at a time only.
- Print prices — the price sheet this gallery uses for prints: the default sheet, another sheet, or No prints.
Protection
- Watermark Enabled — watermark this gallery’s previews.
- New Gallery Password — lock the gallery. Visitors enter the password to see it; no Joomla account is needed.
- Clear Existing Password — unlock the gallery again.
- Locked Gallery Message — shown above the password box.
Images
Each image has a title, description, category, price and status, plus its file details and camera information (camera, lens, aperture, shutter, ISO and date shot).
On the front end, each photo has:
- a watermarked thumbnail and lightbox preview
- a price, or Free for free downloads
- Add to cart (or Download when it’s free)
- Order prints, when the gallery sells prints
- a Favourite heart, remembered for signed-in users and for each guest’s visit
- a photo page with the full description and camera details
Protected originals
Originals are kept in protected storage, so they can only be downloaded through PhotoLab Pro. If some originals are in a public folder (for example after an import that copied rather than moved them), the dashboard says so and Tools › Protected Originals › Secure Originals moves them into protected storage.
Files imported from PhotoLab Free are always copied, so the free gallery keeps working.
Import From Folder
Choose a folder under your Joomla site, select the files and a category, and choose how the originals are handled:
- Move into protected storage (recommended). Pages or extensions that linked to the old file will no longer find it.
- Copy into protected storage and leave the original where it is. Use this if something else on the site uses the same file.
Files already imported are not offered again.
Watermarking
Watermarks are added to thumbnails and lightbox previews as they’re served. Your original files are never changed.
In Options › PhotoLab Pro:
- Enable Watermarking — turn watermarks on for the whole site. Each category can then turn them off.
- Watermark Text — leave blank to use (C) followed by your site name. Use plain characters, for example (C) rather than ©.
- Watermark Text Size — small, medium or large.
- Watermark Position — top left, top centre, top right, centre, bottom left, bottom centre, bottom right, or tiled across the photo.
- Watermark Opacity and Watermark Colour.
- Preview Max Width — the largest preview size shown in the lightbox: 800, 1200, 1600 or 2400 pixels, or the original size.
After changing these settings, use Tools › Preview Cache to clear or regenerate the cached previews.

Buying Downloads
- The customer adds photos, or a whole gallery, to the cart.
- On the Cart page they check out, and Stripe Checkout takes the payment.
- They return to their order page, where each photo has a download link, plus a ZIP of the whole order.
- They’re also emailed a link to the order page.
Download links work for 48 hours. Stripe sets a minimum charge, so the cart shows a minimum order amount when the total is too small.
If a payment is still being processed, the order page says so and the email follows once it’s confirmed. A refund made in Stripe marks the order refunded and its downloads stop working.
Selling Prints
Prints use the same gallery, cart and checkout as downloads. You partner with a print lab, set your own prices, and approve each job before it goes to the lab. Customers pay you, and you pay the lab on your usual terms.
To set up prints, work through these menus in order:
- Labs — the lab, its shipping rates and how it receives files.
- Print Types and Print Options — what can be ordered (suggested defaults are already there).
- Print Products — each type and size the lab makes, with the lab’s price.
- Price Sheets — your retail prices.
Labs
Basic
- Lab name, Order email (several addresses separated by commas), Contact name, Phone, Website.
- Turnaround — working days the lab usually takes. Jobs past this are flagged as overdue.
- Private notes — for you only, never sent to the lab.
Delivery and shipping
- Ship to — the customer’s address, or your studio (to check prints or hand-deliver them).
- Allow collection — lets customers choose Collect from the studio at checkout, with no shipping charge. The lab ships those prints to your studio.
- Studio address — used when prints ship to you.
- Shipping regions — customers pick one at checkout. Each region has a name, countries (two-letter codes such as
NZorAU, FJ, or*for every other country), a rate for the first print, a rate for each extra line, and an optional Free over amount. Stripe only accepts delivery addresses in the chosen region.
Sending jobs
- Review before sending — paid jobs wait in Print Jobs until you click Send to lab. Turn it off to send them as soon as they’re paid.
- File links last (days) — how long the lab’s download links and lab page work after each send. Default 14.
- Mark delivered after (days) — shipped jobs are marked delivered after this many days if the lab doesn’t do it. 0 turns this off.
Files and quality
- Files sent — Original + crop instructions (the full photo, with the crop written on the job sheet) or Pre-cropped to print size (each file is cropped to the print size at up to 300 DPI and never enlarged; made on the lab’s first download and kept). If the server can’t make a pre-cropped file, the original is sent and the job’s history says so.
- Colour profile — sRGB, Adobe RGB or as shot, shown on the job sheet.
- Lab colour correction — whether the lab may adjust colour and exposure.
- Excellent from (DPI) and Good from (DPI) — the quality levels shown to customers (default 240 and 150). Sizes below Good show Too small and can’t be ordered.
Print Types
Suggested types: photographic print, fine art print, canvas, framed print, metal print and acrylic. Rename, unpublish or delete them, or add your own (for example wood blocks or greeting cards).
- Description — a short line under the type in the print panel.
- Preview style — how the preview looks: flat print, canvas wrap, framed, panel (metal or acrylic) or plain. Pick the closest for a custom type.
- Lab code — the lab’s own product code, shown on the job sheet.
Print Options
Option groups hold the choices customers make on top of the type and size. The suggested groups are finishes (lustre, matte, gloss, metallic, pearl, cotton rag), frame colour, mat, canvas edge and border.
Group settings
- Role — Finish (always shown first) or Other option.
- Shown as — swatches, a list, a drop-down or tick boxes (several choices).
- Required — customers must choose a value. The default value is pre-selected.
- Applies to — the product types that offer this group. Leave empty for all.
Values Each value has a title, a Price change (an amount or a percentage of the print price, which can be zero), an optional swatch colour, a lab code, whether it’s the default, and the product types it’s limited to (useful for finishes).
Frame colours, mats, canvas edges, borders and finishes change the customer’s preview. Other values simply appear in the order summary.
Print Products
A print product is one lab, one type and one size, for example “Main Lab, Photographic print, 6×4 in”.
- Size — what customers see, for example 10×8 or A4. Leave it empty to use the width and height.
- Width, Height and Unit (inches, cm or mm). Prints turn to match each photo, so the order doesn’t matter.
- Lab cost — what the lab charges you. Used for your margin, never shown to customers.
- Lab code — the lab’s product code.
Use Add suggested sizes to add common sizes for a type in one go.
Price Sheets
A price sheet holds your retail price for each print product, beside the lab cost and your margin. Leave a price empty to leave that product out of the sheet.
The Default sheet is used by every gallery unless the gallery’s Selling tab picks another sheet or No prints. Use separate sheets for different kinds of work, for example Standard, Weddings and Schools.

What customers see
Order prints appears in the lightbox, on the photo page and beside photos in the cart. The print panel shows:
- Product — the print types, each with a preview.
- Size — every size with its price and a quality badge (Excellent, Good or Too small) worked out from the photo’s pixels and the crop.
- Finish and other options, with any price change shown.
- Crop — drag the photo (or use the arrow keys) to choose what’s printed, zoom in, rotate between landscape and portrait, or choose Fit (no crop) to print the whole photo with a white border. The quality badges follow the crop.
- Preview — the print with its canvas edge, frame and mat, white border or sheen.
- On a wall — the print to scale beside a 2 m sofa, so customers can compare sizes. Turn this off in Options › Prints.
- Quantity, the live price and Add to cart.
In the cart, prints are listed separately from downloads with a cropped thumbnail, the options chosen, a quantity and Edit, which reopens the panel. The customer chooses a shipping region or Collect from the studio, and Stripe Checkout collects their delivery address and phone number and charges the shipping.
The server checks every crop again before taking the order, and refuses one that is too small for the size.

Print Jobs
When an order with prints is paid, PhotoLab Pro creates one print job per lab. The Print Jobs list shows each job’s order, customer, lab, status and dates, with filters for status, lab and overdue jobs.
Job statuses: Awaiting review, Sent, In production, Shipped, Delivered, Issue and Cancelled.
Reviewing a job
Open a job to see its job sheet. Before sending, you can:
- Edit the crop — move and zoom the printed area over the whole photo, rotate it or switch to Fit, with the lab’s quality levels shown as you go. The job history keeps the old and new crop.
- Replace file — upload a retouched JPEG, PNG or TIFF. The lab gets the new file from then on.
- Note for the lab — included the next time the job is sent.
Then click Send to lab. The lab is emailed the job sheet (order number, products, sizes, options, lab codes, quantities, crop, colour settings and delivery address), one download link per file, and a link to its lab page.
Updating a job
- Resend to lab emails the job again with fresh links. The status doesn’t change.
- Update status sets the status yourself, with carrier and tracking for shipped jobs, and optionally emails the customer.
- Reprint sends some or all of a job’s prints to the lab again at no charge to the customer, for example when prints are damaged in transit. You give a reason for the lab, and a new job marked REPRINT is created for you to check and send.
- Cancel job tells the lab not to print or ship it.
The History panel logs every action: who did it, when, and any message.

The lab’s page
The lab doesn’t need an account. The link in its email opens a private page where it can:
- download each file
- accept the job (In production)
- mark it shipped, with the carrier and a tracking number or link
- report a problem, with a message to you
You’re emailed about every update. When the job is cancelled, the page tells the lab not to print or ship it. When the file links expire, the page asks the lab to request the order again.
Keeping customers informed
The customer’s order page shows where their prints are, with the carrier and tracking once they’ve shipped. Customers are also emailed when prints ship, are ready to collect from the studio, or are cancelled. Each of these emails can be turned off in Options › Prints.
A full refund in Stripe cancels any prints that haven’t shipped.
Orders
Orders lists every order with its items, buyer email, amount, status, link expiry and download date. Filter by status, export to CSV, and for each order:
- Resend email — sends the order email again (download link, or order confirmation for prints only).
- Mark paid — for an order paid outside Stripe.
- Mark refunded — records a refund. Refund the payment itself in Stripe.
Dashboard
The dashboard shows paid orders, revenue this month and all time, downloads, and for prints, sales, lab cost and margin this month. Notices point to print jobs waiting for your review, past the lab’s turnaround or with a problem reported by the lab, and to any originals still in a public folder.
Use Export Orders and Export Downloads for CSV copies.
Tools
- Preview Cache — clear or regenerate watermarked previews, for example after changing watermark settings.
- EXIF Data — read camera details from existing JPEG files.
- Protected Originals — move originals out of public folders.
- Import from PhotoLab Free — copy PhotoLab Free categories and images into Pro, optionally with their download history. PhotoLab Free’s data isn’t changed.
- Suggested print types and options — Restore defaults adds back any suggested type, finish or option you deleted. Your own records and any you’ve edited stay as they are.
Component Options
PhotoLab Pro
- Enable Watermarking, Watermark Text, Watermark Text Size, Watermark Position, Watermark Opacity, Watermark Colour — see Watermarking.
- Preview Max Width — the largest lightbox preview.
- Currency Code and Currency Symbol.
- Tax rate (%) and Tax name — show the tax included in the cart total. 0 hides it.
Prints
- Show “On a wall” — the to-scale wall view in the print panel.
- Order email: prints paragraph — replaces the built-in text about prints in the order email.
- Email when prints ship, Email when ready to collect, Email when prints are cancelled.
Stripe
- Enable Stripe, Stripe Secret Key, Stripe Webhook Secret — see Getting Started. A publishable key isn’t needed.
Email Notifications
- Send Buyer Confirmation Email and Notify Admin On Paid Purchase, with the Admin Notification Recipient (Joomla’s mail-from address if empty). Lab updates go to the same address.
- Sender Name — leave blank for Joomla’s sender name.
- Brand Name — the name emails go out under, in the header when there’s no logo and in emails to your lab. Leave empty to use the site name.
- Email Logo, Primary Brand Colour, Email Background Colour.
- Buyer Email Subject, Buyer Email Heading, Buyer Email Body, Download Button Label and Email Footer.
These placeholders can be used in the subject and body: {sitename}, {order_id}, {image_title}, {image_filename}, {email}, {amount}, {currency}, {gateway}, {gateway_ref}, {download_url} and {expires_at}.
Pro Licence
- Licence Key — turns on automatic updates.
Troubleshooting
Payments succeed but orders stay Pending. Stripe can’t reach the webhook, or the webhook secret doesn’t match. Check the webhook’s recent deliveries in the Stripe Dashboard, and make sure the secret in Options belongs to the same sandbox or live account as the secret key.
Emails aren’t arriving. Check Joomla’s mail settings in System › Global Configuration › Server, and that the email options are turned on.
The Order prints button doesn’t appear. The gallery’s Print prices is set to No prints, or its price sheet has no prices for published products from a published lab.
A size shows Too small. The photo doesn’t have enough pixels for that size at the lab’s Good DPI. Choose a smaller size, zoom out, or lower the lab’s thresholds.
The lab gets the original instead of a pre-cropped file. The server didn’t have enough memory to make the cropped file. The job’s history notes it, and the lab can work from the crop on the job sheet.
Changelog
Version 1.2.2 (December 2026)
- Names in the installer and Extensions list are now “PhotoLab Pro” and “System - PhotoLab Pro”.
- More text now comes from the language files, so it can be translated: messages, CSV headings, checkout lines, email defaults and the suggested print types and options.
- Updated for Joomla 6: no deprecated Joomla calls, and a GPL licence notice in every PHP file.
Version 1.2.1 (December 2026)
- Fixed the hard-to-read “Review jobs” button on the dashboard.
Version 1.2.0 (December 2026)
First public release.
- Watermarked galleries with protected originals, password-protected galleries, favourites and camera details.
- Paid downloads per photo or per gallery, free downloads, a cart and Stripe Checkout, with branded order emails and an order page.
- Print sales through your own lab: labs, print types, finishes and options, print products and price sheets.
- Print panel in the lightbox, on the photo page and in the cart, with a live price and a quality check for each size.
- Crop and fit, product previews and an “On a wall” view.
- Shipping regions and rates, or collection from the studio, with Stripe collecting the delivery address.
- Print jobs with review before sending, file replacement, crop editing, reprints and a full history.
- A private lab page to download files, accept jobs, mark them shipped and report problems.
- Print status on the customer’s order page, and emails when prints ship, are ready to collect or are cancelled.
- Dashboard with revenue, print sales, lab cost and margin, and CSV exports.
- Import from a server folder or from PhotoLab Free.
Support
For help or to report a bug, visit extensions.thedesigncompany.co.nz and submit a support request from the PhotoLab Pro extension page.
Licence
PhotoLab Pro is released under the GNU General Public License v2 or later. See GNU GPL v2.