Building a gallery API endpoint with the WordPress REST API
register_rest_route, permission_callback, and arg sanitisation — the three things a custom REST endpoint must get right. A working gallery endpoint, built properly.
register_rest_route, permission_callback, and arg sanitisation — the three things a custom REST endpoint must get right. A working gallery endpoint, built properly.
Actions, filters, and a clean hook surface are what separate a plugin you can build on from one you fork. How to extend a gallery plugin without touching its source.
“One licence, unlimited sites” meets the reality that each subsite is often a separate activation. How multisite plugin licensing actually works.
What white-labelling actually means for an agency hand-off: branded client experience, intact update path, licence terms respected. The professional standard, explained.
The ACF/SCF fork changed the field-storage landscape. How to attach per-gallery settings as post meta cleanly, and what the 2024 split means for your stack.
A gallery block is the canonical real Gutenberg block — attributes, dynamic rendering, frontend interactivity. Build one well and you understand block development.
Should you put prices on your site? The most-argued question in photography — and the answer is not yes or no, it is how. The patterns that filter and convert.
The digital files are what clients ask for. Prints are where the margin is. How to sell prints from a portfolio you already own — without a SaaS lock-in.
Every extra click on your booking page is time for the client to reconsider. The essentials that capture the deposit before the moment passes.
WebP cuts image weight ~30% with no visible quality loss and has ~97% browser support. Most WordPress sites still serve JPEG. Here is how to fix that, properly.
AVIF is 20-30% smaller than WebP with ~93% browser support. So why is not everyone using it? The real trade-off, and a decision framework.
Core Web Vitals were practically designed around the problems image-heavy sites have. If you run a gallery, portfolio, or shop, these three metrics are about your images.
The homepage carousel is the most-requested, least-effective element in web design. What it costs in speed, what the click data says, and the better options.
A gallery site serves more image bytes than almost any other kind. That is exactly the workload a CDN is built for — and where the wrong choice costs you.
Your portfolio looks stunning on your 27-inch display. Your clients see it on a phone, on hotel wifi, the night before the wedding. Here is how to make it fast there.
Adding video to a gallery is easy. Adding it without wrecking page speed, your bandwidth bill, or GDPR compliance is the part nobody warns you about.