If you have a Placid PRO account, you can decide which elements of your template can be filled dynamically via the URL API. The contents of these elements can be changed via the parameters attached to your image URL.
How to define dynamic elements in Placid
1) Open Editor
To make an element in your template accessible via the API, you have to open the template in the editor first. Log in on placid.app, and click on the Edit button of your template.
2) Edit the layer
Choose the layer of the element you want to be editable and click on the Pencil-Icon to edit the layer.
3) Set element to dynamic
Activate the option Element is dynamic. If you haven't already, give your layer a name. This title is the name of the parameter you can use in your URL now. Please note that this option is only available for text and image elements!
Recommended settings for dynamic elements in Placid
If you use our preset designs, we already took care that dynamic elements will not break the image's layout. If you created your template from scratch or added your own elements, there are some things we recommend to do:
For text elements, we would recommend either the textbox settings single line or fit, so longer texts will not break your layout. You can read more about these settings in our guide on how to Add and edit text elements in your template
Also be sure to make the textbox as wide and high as you want the text to flow.
We usually use the background size cover and the horizontal and vertical position center for any background images. This way, your layout will never look broken when the image you fill in has different dimensions. You can read more about these settings in our guide on how to Add and remove images in your template