Quick Start: Image Sizing
Image Sizing refers to the ability of Dynamic Media Classic to create multiple derivative images based on a single high-resolution image. Rather than manually creating several images—for example, a thumbnail and enlarged-view image—for your web site or application, you provide a single master image. Dynamic Media Classic generates all modified images just as you request them. Being able to deliver images dynamically from a single master image has many advantages:
- You do not have to manually create several copies of the image at different sizes. You supply one master image to Dynamic Media Classic, and Dynamic Media Classic generates different-sized derivatives from the master image.
- You can quickly change the size of an image type throughout your web site or application. For example, to change all thumbnail images, you can modify the “thumbnail” Image Preset. An Image Preset—it’s similar to a macro—is a collection of size and formatting attributes. You can modify the “thumbnail” Image Preset to change the size of all thumbnail images throughout your web site or application.
- You do not have to manage the masters and all of the various derivatives in any of your content or asset management systems internally or externally.
This Image Sizing Quick Start is designed to help you get up and running quickly with Image Sizing techniques in Dynamic Media Classic. Follow steps 1-5. After each step is a cross-reference where you can find more information if you need it.
1. Uploading master images
Start by uploading your master images to Dynamic Media Classic. As to size, Dynamic Media Classic recommends using images that are the largest size you anticipate using on your web site or application. For example, if you want viewers to zoom images, upload images that are at least 2000 pixels in the largest dimension. Dynamic Media Classic supports many image file formats, but lossless TIFF and PNG images are recommended.
Select the Upload button on the Global Navigation bar to upload files from your computer to a folder on Dynamic Media Classic. See Uploading master images .
2. Setting up Image Presets
Like a macro, an Image Preset is a collection of predefined size and formatting commands saved under a name. An Image Preset governs the size and formatting with which images are delivered from Dynamic Media Image Servers. You can set up Image Presets on your own if you have company administrator status. Dynamic Media Classic also comes with default Image Presets, and you can use them to dynamically deliver images.
To create an Image Preset (if you are an administrator), choose Setup > Application Setup. On the Setup screen, display the Application Setup options and choose Image Presets. Then click Add or Edit to create an Image Preset.
The Image Preset you create is added to the Image Preset menu on the Preview screen. You can use your new Image Preset to display images dynamically on your web sites and applications. See Setting up Image Presets .
3. Previewing Image Presets
The next step is to preview the Image Presets your administrator set up at the different preset sizes.
To explore Image Presets, click Setup > Image Presets , and then browse to an Image Preset.
Experiment with the different Image Presets. Find out what your image looks like when it is delivered dynamically to your web site or application at different sizes.
4. Publishing your master images
Publishing your master image files serves two essential purposes:
- Publishing your master images to Dynamic Media Image Servers so that images can be dynamically delivered to your web site and application.
- Publishing activates the URL strings for calling images from Dynamic Media Image Servers to your web site or application. After publishing, you can copy and place the Dynamic Media Classic-generated URLs where necessary in your web site or application.
Select the Publish button on the Global Navigation bar to initiate a publish. On the Publish screen, select the Start Publish button. See Publishing master images .
5. Linking URLs to your web application
Dynamic Media Classic creates URL callout strings for images. When you publish images to Dynamic Media Image Servers, the URLs become active. You can copy these URL strings from the Browse Panel (in Detail view) or Preview screen. After you copy the URL strings, you can use them in your web site and applications. The URL for image sizing replaces the reference to a static image name in your web page code. The URL references a master image name, which is replaced by your database for each new image to display.
URL strings generated with Image Presets contain the name of an Image Preset. This name is enclosed in dollar signs ( $ ). For example, $thumbnail$ can be the Image Preset designed to show master images at thumbnail size. See Linking URLs to your web application .