Your web sites and applications access Scene7 Image Server content via URL strings. After you publish an image, Scene7 activates a URL string that references the Image Preset on Scene7 Image Servers. You can paste these URLs into a web browser for testing.
To place these URL strings in your web pages and applications, copy them from the Scene7 Publishing System. To obtain a URL string generated with an Image Preset, go to the Preview screen or the Browse Panel (in Detail view).
You can obtain a URL string generated by an Image Preset from Preview or from Detail View. After you copy the URL, it lands on the Clipboard so you can paste it as necessary.
Note: The URL is not active until you publish the asset.
Do any one of the following:
Above the Assets window, on the right side of the toolbar, click Grid View. In the Asset window, select a single image asset, and then below the thumbnail image, click Preview > Image Preset List.
Above the Assets window, on the right side of the toolbar, click List View. In the Asset window, select a single image asset, and then to the right of the thumbnail image, click Preview > Image Preset List.
Above the Assets window, on the right side of the toolbar, click Detail View. On the same toolbar, click Preview > Image Preset List.
A URL call for Image Sizing to Scene7 Image Servers has the following basic syntax:
path/name of Image Server/account name/image name?modifier1&modifier2&...
In a Scene7 Image Server URL, instructions to the server for displaying the image appear after the question mark (?). For example, this URL call delivers an image named “backpack” at a width of 250 pixels:
An Image Preset URL contains all the modifier instructions for presenting the image at the proper size and formatting specifications. Without an Image Preset, notice all the modifier instructions after the question mark (?) in this URL string:
However, in a URL string generated with an Image Preset, the name of the Image Preset appears in place of the instructions defined by the Image Preset. For example, referring to the long URL above, the URL string is:
Image Preset names in URLs are enclosed in dollar signs ($). When a Scene7 Image Server encounters the Image Preset portion of the URL (the Large in this case), using the size and formatting instructions defined by the “Large” Image Preset.
To add dynamic images to your web page, the <IMG> tag in your HTML web page code typically is modified using the Scene7 URL string to make a request to Scene7 Image Servers. This string produces the image at the size and formatting specifications defined by the Image Preset.
For example, instead of the typical call to open a static image such as
you now use the <IMG> tag to replace the reference to a static image with an Image Preset call to the Scene7 platform. A sample call looks like this:
In this example, a Scene7 Image Server “looks up” the definition of $thumbnail$ and dynamically generates the appropriate image with the sizing and formatting specifications defined by the thumbnail Image Preset. In a URL string, all items except the product image filename (backpack_trns in this case) are typically hardwired for the page template. The only element that is automatically inserted in the page template from your commerce server is the IPS ID or name of the image.