How can we help?

Image Library

Overview

The Image Library makes it easy to upload, tag, and search for images. You can access the Image Library from the homepage—Content > Images—and during message creation. The Image Library supports .jpeg, .gif, or .png file types.

When accessing the Image Library during message creation, you can insert images into messages by simply clicking the image. Depending on your preference, thumbnail and table views are both available. 

We recommend optimizing your images for quality and performance before uploading them.

Upload an image

In order to use an image in your message, you first need to upload the image into Cordial.

1. Navigate to Content > Images.

2. Click the Upload button.

3. Upload images by dragging them into the upload pane or clicking the Select Files button to select images from your computer.

Add tags to your images for advanced searching and organization options.

4. When finished, click Finish Upload.

Images with a file extension different from the actual image file type cannot be uploaded unless the file extension is changed to match the file type.

Insert images into a message

You can insert images into your messages with one click using the HTML editor. You can also insert images into your Sculpt messages with a single click.

Insert images with the HTML editor

1. Navigate to Messages and create or edit a message with HTML Editor selected.

2. From the message creation page, click Edit under Message Content.

3. Click the Image library button in the upper left of the HTML Editor. 

4. Depending on your preference, choose the Thumbnail or Table view under Settings.

5. Locate the desired image and click on it to insert it into your message. You can also use the Insert button. 

  • Thumbnail view: Click on the image to insert it or select the ellipsis and choose Insert.

  • Table view: Click on the image to insert it or use the dropdown arrow and select Insert.

6. The image will be inserted into the HTML of your message.

Insert images into Sculpt messages

You can insert images into your Sculpt messages with a single click when creating templates and blocks. You can also insert images during message creation by editing a Sculpt block.

Manually insert an image URL into your message

1. To manually insert an image URL into your HTML or Sculpt message, navigate to Content > Images and locate the desired image.

2. Click the Copy URL button and paste it into the HTML of your message content. 

  • Thumbnail view:

  • Table view: Locate the image, hover over the dropdown arrow, select Copy, and copy the image URL or HTML from the popup window.

3. Paste the image URL into the HTML of your message.

Change image dimensions

Your images will be stored at their original dimensions. The image dimensions are reflected in the image path URL.

For example, the following image path shows the image dimension as 600 x 132 pixels:

  • https://images.cordial.com/163/600x132/logo.png

You can change the image size that will be displayed by changing the dimensions in the image path. 

Changes to the image size will be performed on the server as opposed to the browser when using HTML or CSS image dimensions. 

Find and replace image paths

If you're coding an email in a third party HTML editor, you can replace relative image paths when uploading images in Cordial. This is useful if you've coded an email using relative image paths on your local computer and wish to have all relative paths automatically replaced with absolute paths when uploading.

1. Paste in the HTML code with the relative paths into the message editor.

2. Click the Insert Image button and then the Upload Image button.

3. Select the option to Automatically find and replace image paths in the template for all uploaded images.

4. Selecting this option will replace all relative image paths in the message with the absolute paths of the images of the same name in the library.

  • For example:
<img src="logo.png">
  • Will be replaced with:
<img src="https://images.cordial.com/logo.png">

The relative image paths must be at the root level of the HTML document and not in a nested folder.

In the next article, you can learn about HTML content.

Comments

0 comments

Please sign in to leave a comment.