Knowledge Base

Troubleshooting problems with accessing linked images in the signature template editor

Problem:

You want to add a linked (online) image to your email signature or auto-reply message template in the template editor of the CodeTwo Signatures app, but the following error appears when you enter the image URL:

Picture was not selected or is still uploading.

Also, when you add the image URL using <img> tags in the source code, the image isn’t displayed in the editor. The problem occurs even though you can access the image by entering the same URL in your web browser.

Solution:

Tip

Instead of linked images, consider adding embedded images to your templates (as described here). In most cases, embedded images are more reliable, perform better, and don’t require recipients to do anything to see your email signatures exactly as you designed them. Learn more about linked vs. embedded images

This problem is most likely related to a Cross-Origin Resource Policy (CORP) or Cross-Origin Resource Sharing (CORS) configuration on the website or hosting service where the linked image is stored. These mechanisms can prevent images and other data from being accessed by a different website or web application than the one where they are hosted.

To fix this, you must allow cross-origin access to your resources by adjusting relevant HTTP response headers in your web server or hosting configuration:

  • For CORP, set the Cross-Origin-Resource-Policy header to cross-origin. Learn more
  • For CORS, set the Access-Control-Allow-Origin header to * (asterisk). Learn more

For more information on HTTP headers, see this article.

Next, make sure that there are no additional CORP or CORS features implemented at the image location, for example, through a WordPress plugin.

Important

Note that these settings apply globally and allow your data to be accessed not only by the template editor but also by other web applications or pages with a different origin.

Once cross-origin access to your data is allowed, you’ll be able to add the linked image to your email signature template.

See also:

How to fix common image-related problems in signatures

Was this information useful?
Our Customers: