Birthday collages with the age as a photo frame, in your print shop
Photo print shops and party apps can offer a collage where the photos fill a big number. Your users type a new age in the editor, and the photos take the shape of the new digits.
Trusted by 100+
industry leaders



Integrating IMG.LY’s editor meant we didn’t have to build or maintain a complex editing layer ourselves. That kept our team focused on our core AI ad engine and saved us countless development hours — while still giving our customers the ability to polish and customize creatives at scale.
Hikari Senju
CEO, Omneky

With IMG.LY we built a central creative portal that now powers over 140 dealer campaigns across multiple automotive brands. Before this, asset creation was slow and inconsistent.
Martin Röhr
Product Owner, Digitas

By embedding IMG.LY’s editor we were able to hit key RFP requirements and deliver a template-based creative experience that now serves 1,000+ customers. It helped us win more deals and exceed enterprise expectations without needing to hire dedicated design teams.
Rob Driscoll
Director of PM, Optimizely

Since integrating IMG.LY’s editor, we now deliver 30,000+ ad creatives per month, dramatically shorten time-to-launch, and help our clients cut design spend by up to $10,000 per month.
Logan Welbaum
Founder, Plai

Our customers create over a million personalized postcards each year choosing from over hundreds of templates with IMG.LY’s SDK. It’s the only solution that allows us to build our own specialized, on-brand UI that integrates seamlessly with our platform.
Jeanine Zaalberg
Product Manager, SwissPost

From a developer’s perspective, the most powerful feature of the photo editor is the integration process. It was completely flawless, quick, and easy to integrate.
Stefano Fornari
CTO, Funambol

We compared IMG.LY SDK with other solutions and found that it would be the best fit for us since it provides all the features that are crucial for our use case.
Carem Pereira
SCRUM Manager, HP

The age as a window onto the photos
The template holds two layers: a group of party photos and a text layer with the age. The text is set as the group’s track matte, so the group shows only where the digits are drawn and the text itself never prints. Both are saved with the template, so users open a finished collage and never set anything up.

A new age is a text edit
In the web editor, users pick the number in the Layers panel and click Edit. Every digit they type reshapes the collage straight away, and when 30 becomes 31 the new digit shows whichever photos sit behind the narrower 1.

A double-click reaches the photo behind a digit
One click on the collage selects the whole photo group. A double-click inside a digit selects the single photo under that spot and brings up its menu with Replace, so users put their own picture there and the number keeps its shape. The selection outline shows the photo’s full frame, including the parts the number hides.

Heavier fonts show more of the photos
The matte follows the text in whatever typeface it is set in, so picking another font from the text toolbar also changes the cut of the collage. Heavy faces leave the most room for the photos, while a face with thin strokes, like the middle one here, turns parts of each digit into narrow slivers. Your designers make the photo group wider than the widest font you offer, so no part of a digit reaches past the photos onto the empty page.

The age frame, built into your birthday templates
Your developers add the frame to a birthday design with a few engine calls: the party photos go into a group, the age goes on top as text, and the text becomes the group’s matte. The age stays ordinary text, so your platform can fill it in from a field on your order form. The same calls exist on the web, on iOS and Android and in Node.js.
const [page] = engine.block.findByType('page');
const photos = engine.block.getChildren(page).filter((id) => engine.block.getKind(id) === 'image');
const group = engine.block.group(photos);
const { assets } = await engine.asset.findAssets('ly.img.typeface', { page: 0, perPage: 100 });
const { typeface } = assets.find((a) => a.label === 'Poppins').payload;
const heavy = typeface.fonts.find((f) => f.weight === 'heavy' && f.style === 'normal');
const age = engine.block.create('text');
engine.block.replaceText(age, '30');
engine.block.setFont(age, heavy.uri, typeface);
engine.block.setFloat(age, 'text/fontSize', 420);
engine.block.appendChild(page, age);
// Show the photos only where the digits are drawn
engine.block.setMatte(group, age, 'Alpha'); Put the party photos inside the age
Tell us which print sizes you sell and which birthday collages your users order, and we’ll get back to you with a custom quote for your use case.
Birthday collage FAQs
Shops that sell cards as well as prints can see a card designed together with its envelope on the birthday card editor SDK page.
It is an editor inside your photo print shop or party app, so your users design the birthday collage right where they order it. CE.SDK can put the party photos inside the age number, and users change the age or swap a photo before they order.
A JPEG or PNG that the engine renders at the full size of the page, so a 10 by 7.5 inch page set to 300 dpi exports at 3000 by 2250 pixels. SVG export leaves the matte out. In a PDF the matte becomes a soft mask that some PDF viewers ignore, so proof a PDF with your lab before you send collages that way.
Yes. In the web editor they pick the number in the Layers panel, click Edit and type the new age.
They stay in the template, out of sight. The export shows only what sits inside the digits, so each photo can be larger than the digit it fills, and a narrow digit like a 1 still has photos behind it.
The docs mark masks and mattes as experimental, which means the calls may change in a minor release. Your developers pin the CE.SDK version they test with and check the collage again before each upgrade.




