Adding images to Notifications with HTML
Upload images through an Images organization and reference them in HTML notification emails.
Standard CourseMill notifications are plain text, but you can create them as HTML notifications if you want to incorporate images, various fonts, colors, and so on. To use images in HTML notifications, first upload the image files into CourseMill.
Upload images for use in notifications
- Create a new organization called Images.
- On the Add Organization or Organization Details page, find the Organization Logo item, where logo image files are uploaded. This is also where you can upload additional image files for use in notifications.
- Load your image file and pay close attention to the URL that is automatically generated. This is the link you will use in your HTML notification. It is a good idea to store these URLs where you will not lose them, although all of them will be the same except for the actual file name of the image.
- Load as many images as you want and track the URLs that are generated.
Insert an image in an HTML notification
The following sample HTML line in a notification pulls in an image. The URL shown is an example of what would be in the Organization Logo item described in step 3 above.
<p><img src="https://companytraining.elblearning.com/shared/cmonline2/course/orglogos/example-logo.jpg" width="195" height="56" /></p>