To add an image to the e-mail message, insert code similar to the following:
<aco:img page='OutreachCommon:/MyImage.JPG'/>
where OutreachCommon
is the display name of the Web application containing the image. The system replaces the display name with the context root of the Web application, in this case /atg/outreach
. In the above example, the image is expected to be located at http://<host-name>:<port>/atg/outreach/MyImage.JPG
.
Note that the image file must already have been deployed as an asset through ATG Content Administration:
Create an ATG Content Administration project.
Add the image file as an asset, using the following settings:
Repository:
Outreach Web File Assets
Asset type:
Outreach Email Image
File name: The image file name and extension, for example
MyImage.jpg
.Parent folder:
/Outreach.war
Deploy the asset to production. Make sure you complete all deployment tasks, including Verify Production Deployment.
For detailed instructions, refer to the ATG Content Administration Guide for Business Users.
Use the Preview button to view the image as it will appear in the customer’s e-mail client. See Previewing the Message for more information.