Visit the site
Visit the siteOrganizations Involved
Community contributions
- Photos.sh, a new module with thirteen image effects for Drupal image styles, published in November 2026 and covered by the security advisory policy.
- Commerce Stripe Recurring, a Stripe Billing gateway for Drupal Commerce, published in November 2026 and used here.
- e-računi, invoices for Croatian businesses, published in October 2026.
- Continued maintenance of Commerce Wise and Druker, both used in production on this site.
- An open-source PHP library for the API, which the Drupal module is built on.
Photos.sh opened for business in under two weeks from the first commit on its Drupal site. It sells 25 image tools to online sellers, who use them in the browser or through a programming interface (API), and pay per photo.
Vallic, a Croatian Drupal company founded in 2014, built and runs the service. The images are processed by a separate engine. Everything around it is Drupal: the public site, sign-up, team accounts, credits, checkout, tax, invoices and the staff back office.
About the project
Results
- Under two weeks from the first commit on the Drupal site (8 November 2026) to a service open for business (20 November 2026).
- 25 image tools sold from one catalogue, in three currencies, with the right tax for customers in every European Union country.
- 100 out of 100 for accessibility, best practices and search engine optimization in Google Lighthouse (home page, desktop, 4 December 2026).
Photos.sh went from the first commit on its Drupal site to a paid service, open for business, in under two weeks.
Goal
People who sell online lose time to product photos: cutting out backgrounds, removing price stickers, and finding out too late that a marketplace rejects the picture. photos.sh does that work for them. Seven marketplaces' image rules are built in, so a seller can check a photo and fix it in one step.
The goal for the Drupal site was to turn that engine into something a customer could find, understand, try for free and pay for.
Challenge
- Many ways in, one balance. A customer may use the website, the programming interface or a desktop app. All of them spend the same credits, and the balance must always be right.
- Tax in every country. A consumer in Germany, a company in Italy and a shop in the United States are each taxed differently.
- Privacy. Customers' photos must not pass through, or stay on, systems that don't need them.
Solution
Drupal owns the customers and the engine owns the images. The two share no database and exchange signed messages. Photos sent from a browser or through the API go straight to the engine, not through the website.
Every credit, whether free, bought or given by staff, is a record in Drupal. So is every photo that spends one. Each event can only be counted once, so a repeated message never charges a customer twice.
The public pages are built from the same records. When a price, a promotion or a tool changes, the home page, the price list and the tool pages change with it.
What staff do without a developer
- Run campaigns. Discounts, coupon codes and bonus credits ("buy 1,000, get 200") are set up in a form, with dates and limits. Public prices update by themselves.
- Look after customers. Staff find any organization by name or a member's email, see its credits and usage, and grant credits or change its limits. Every change is recorded.
- Help safely. Support staff can look at an account, but change nothing.
Growing without a rebuild
The site has kept growing since it opened, on the same installation. New since launch are a page for large batch jobs, a choice of image models and free team accounts for up to five people.
Standards
- Privacy: run under the General Data Protection Regulation (GDPR), on servers in the European Union, with a published data processing agreement. Visitor statistics load only after consent.
- Payments: card details are entered on the payment provider's page and never reach the site.
- Tax: value added tax is charged by the customer's country, and business tax numbers are checked against the European Commission's register.
- Security: two-step sign-in, hashed access keys, encrypted secrets and a log of account changes. More than 600 automated tests guard each release.
Why Drupal was chosen
The image engine came first, and it worked. But an engine is not a business. Before anyone could pay for it, photos.sh needed accounts, teams, access keys, prices in several currencies, European tax rules, invoices, discounts, a back office and a public website.
The choice was between writing all of that from scratch around the engine, and starting from a platform that already had most of it. Drupal had it:
- A complete shop. Products, orders, promotions, coupons and tax rules came with Drupal's commerce framework, so the team configured them instead of building them.
- Strict access control. Every customer organization must see its own data and nothing else. Drupal's permission system was built for that kind of rule.
- Code to start from. Vallic had already built account, team and security features in Drupal for another product. Six of those building blocks were carried over to photos.sh, and the parts it did not need were cut.
- No license fee per customer, seat or transaction, which matters for a service whose smallest pack costs €60.
Technical Specifications
Drupal version:
Key modules/theme/distribution used:
Commerce provides products, orders, promotions, coupons, multi-currency prices and European tax types. A credit pack is an ordinary product, and the "bonus credits" offer is a small promotion plugin, so it works with Commerce's own conditions and coupons.
Commerce Stripe Recurring takes one-off payments through Stripe Checkout, and will take subscriptions if they are ever sold. Commerce Wise adds bank payments. e-računi issues the fiscalized invoices Croatian law requires, from the paid order.
Druker runs the background jobs. Webhooks only verify and store what they receive, then wake a job, so a slow third party never slows a page.
TFA, ALTCHA and the Social Auth modules cover sign-in. Encrypt, Key and Sodium keep stored secrets unreadable in a copy of the database.
The custom code is 13 modules with one-way dependencies, and a custom theme. The image engine is a separate Rust service.