-
Notifications
You must be signed in to change notification settings - Fork 2
Ticket Preview Generator
Dragoon Aethis edited this page Dec 31, 2021
·
2 revisions
When configuring ticket types, you can upload a ticket template (image + box coords) to generate previews for your visitors.
- The uploaded image must be a transparent PNG.
- Provided box coords must be in the following format:
start_x start_y box_width box_height
, for example0 0 512 512
. Use an image editor to determine the exact coordinates for - User images are pasted underneath the ticket template (that's why it must be transparent!), cropped and resized to fit into the provided box coords.
- The box must fit into the ticket template. If it doesn't, or no coords are provided at all, the value will be ignored and the entire template background will be filled instead.
Here's how it works visually: