Images are represented by catalog items of type Media. You can either create an item of type Media -Internal Binary by importing the actual image into the database, or create an item of type Media - External by referring to the image file’s URL.
To import an image into the database:
From the ATG Control Center main navigation menu, select Catalog Management > Catalog Elements.
Click the New Item button in the upper right. The New Item dialog box displays.
Select Media - Internal Binary from the Item Type drop-down menu.
Click the ... button. A file selection box opens.
Navigate to the image file you want to import and then click OK. The image displays at the bottom of the dialog box.
Fill in the name field, and use the
parentFolder
field to specify the folder in which to store the item (required).Note: The name you specify is the name for the media-internal-binary repository item and is distinct from the name of the image file you import.
Fill in any of the optional fields you want and click OK.
To create a reference to an external image:
From the ATG Control Center main navigation menu, select Catalog Management > Catalog Elements.
Click the New Item button in the upper right. The New Item dialog box displays.
Select Media - External from the Item type drop-down menu.
Fill in the name and URL fields, and use the
parentFolder
field to specify the folder to store the item in (required).Note: The name you specify is the name for the media-external repository item, and is distinct from the name of the image file referenced by the URL.
Fill in any of the optional fields you want and click OK.