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.
You can also create templates from layout-based designs by using Template Publishing and files from Adobe Illustrator and Adobe InDesign. See Template Publishing .
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 Scene7. You can create text layers in templates using fonts that you uploaded into SPS. 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.
Start by uploading the PSD file or image file for your template. Scene7 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 Scene7 how to name PSD layers when they are uploaded to the Scene7 Publishing System.
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 SPS. See Uploading template files.
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:
Adding image layers. To add a layer, drag an image into the Template screen.
Adding text layers. Select the Text tool and drag to draw a box for the text layer; then format the text with tools on the Text screen.
Changing the size and position of layers.
Changing the order of layers.
Applying shadow and glow effects to image and text layers.
See Creating a template.
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.
Publishing your template places it on Scene7 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 Scene7 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.
Scene7 creates URLs for templates, and activates the URLs when you publish templates to Scene7 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.