Template Basics are dynamically created and addressable layered image files like layered files in image-editing applications such as Adobe Photoshop. Unlike a static file containing layers, such as a PSD file, a template can include parameters. Through parameters, the different aspects of the image can be addressed and customized.
A template can contain any number of image layers and text layers. You can convert a static file containing layers, such as a layered PSD file, into a template, as well as create templates in Dynamic Media Classic. You can create text layers in templates using fonts that you uploaded into Dynamic Media Classic. After you add text to a template, you can format it by changing its justification, fonts, font size, and color.
Using the Parameters screen, you can convert any aspect of a template to an addressable parameter. In so doing, you can change which layered image to use or what text value to use in your template. Parameters are passed with the URL string, allowing you to change any parameter to dynamically customize the reply image generated from the image server.
This Quick Start is designed to get up and running quickly with Template Basics.
1. Upload the files
Start by uploading the PSD file or image file for your template. Dynamic Media Classic supports many image file formats in addition to PSD, but lossless TIFF and PNG images are recommended for templates because they allow for transparency.
If you are using a PSD file to build your template, select the Create Template option on the Upload Job Options dialog box when you upload the PSD file. Also choose a Layer Naming option to tell Dynamic Media Classic how to name PSD layers when they are uploaded to Dynamic Media Classic.
If you are using image files, you can crop the images and also create a mask from clipping paths in the images as you upload them.
Select the Upload button on the Global Navigation bar to upload a PSD file or other image files from your computer to a folder on Dynamic Media Classic. See Uploading template files.
2. Create a template
To create a template from a PSD file, select the Create Template option when you upload the file. To create a template from images, choose Build > Template Basics, enter a width and height measurement for the canvas, select either Designer or Developer, and drag images onto the Template screen. You can also select the images before choosing Build > Template Basics. The Template screen offers tools for:
See Creating a template.
3. Create template parameters
The next step is to parameterize the properties on layers to determine which layer properties are included in the URL string. Parameters allow you to use templates with maximum flexibility. After you make a layer property into a parameter, you can change it dynamically.
To parameterize a layer, open the template in the Template screen and select the Parameters button next to a layer name. On the Parameters screen, select the option next to each parameter you want to add. See Creating template parameters.
4. Publish templates
Publishing your template places it on Dynamic Media Image Servers so that it can be dynamically delivered to your web site or application. Publishing also activates the URL to call the template from Dynamic Media Image Servers to your web site or application.
Be sure to publish all images associated with your template.
To publish a template, mark it for publish and select the Publish button on the Global Navigation bar. Then select the Start Publish button. See Publishing templates.
5. Link a template to a web page
Dynamic Media Classic creates URLs for templates, and activates the URLs when you publish templates to Dynamic Media Image Servers. You can copy these URL strings from the Template Preview screen.
Select your template in the Browse Panel and click the Preview button to open the Template Preview screen. Then choose an Image Preset for delivering your template and select the Copy URL button. After you copy the URL from the Preview screen, you can use it in your web site or application. See Linking a template to a web page.