This document covers frequently asked questions about Image Presets (also called image formats or macros).
How do I add a layer to an image preset? Do you have information about instant templates?
When creating the Image Preset, add the following under the URL Modifiers:
layer=1&src=<>/<>&size=300,300
Save the Image Preset and Submit a publish job.
Here is an example Image Preset. The preset is called Layer_Ab.
Working example:
http://s7d9.scene7.com/is/image/TechSupport3/Jackie 5FOld?$Layer 5FAb$
Using req=resolve, you can see the layering commands that are set in the preset:
http://s7d9.scene7.com/is/image/TechSupport3/Jackie_Old?$Layer_Ab$&req=resolve
Can you use Image Presets with IR requests?
Image presets can reference IR images, as can templates. Or, you can also wrap entire IR requests inside IS requests to apply image-only presets.
http://s7d7.scene7.com/ir/render/renderCatalog/fileName_vignette?obj=objectID&src=is(renderCatalog/fileName?$adobeTest$)
Where vignette object is defined as objectID and adobeTest is a defined preset. You can replace the parenthesis curly brackets.
What is the maximum URL query length for a preset?
Note:
If you think you're running into this limit, check the length of the URL query string in the preset setup. The content after the ? has the limit of 512 characters.
For example:
wid=400&hei=400&fmt=jpeg&qlt=75,0&op_sharpen=0&resMode=bicub&op_usm=0.0,0.0,0,0&iccEmbed=0
The default parameters alone use 90 characters.