Quick Start: Template Basics quick-start-template-basics

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, and create templates in Adobe Dynamic Media Classic. You can create text layers in templates using fonts that you uploaded into Adobe Dynamic Media Classic. After you add text to a template, you can format it by changing its justification, its font, font size, and color.

Using the Parameters page, you can convert any aspect of a template to an addressable parameter. In doing so, 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 so you can dynamically customize the reply image generated from the Image Server.

See also Template Basics training video.

This Quick Start is designed to get you up and running quickly with Template Basics.

1. Upload the files

Start by uploading the PSD file or image file for your template. Adobe 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 Create Template in the Upload Job Options dialog box when you upload the PSD file. Also choose a Layer Naming option so Adobe Dynamic Media Classic knows how to name PSD layers when they are uploaded to Adobe 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.

On the Global Navigation bar, select Upload to upload a PSD file or other image files from your computer to a folder on Adobe Dynamic Media Classic. See Upload template files.

2. Create a template

To create a template from a PSD file, select Create Template when you upload the file. To create a template from images, on the Global Navigation bar, go to Build > Template Basics, enter a width and a height measurement for the canvas. Near the upper-right corner of the page, select either Designer or Developer, and drag images onto the Template page. You can also select the images before you go to Build > Template Basics. The Template page offers tools for:

  • Adding image layers. To add a layer, drag an image into the Template page.
  • Adding text layers. Select the Text tool icon. Drag the pointer to create a box for the text layer; then format the text with tools on the Text page.
  • Changing the size and position of layers.
  • Changing the order of layers.
  • Applying shadow and glow effects to image and text layers.

See Create 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 page, and then select Parameters next to a layer name. On the Parameters page, select the option next to each parameter you want to add. See Create 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 on the Global Navigation bar, select Publish. Then select Submit Publish. See Publish templates.

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 page.

Select your template in the Browse panel, and then select Preview to open the Template Preview page. Choose an Image Preset for delivering your template, and then click the Copy URL button. After you copy the URL from the Preview page, you can use it in your Web site or application. See Link a template to a Web page.