Imagecache token is a very useful for generating emails with image styles. Embedding images in emails using Mail mime or Mime Mail is also very useful and can be used with Imagecache token. Using a CDN to serve images for site content improves site speed.

Using all these modules together when generating emails with embedded images based on image styles breaks when using a CDN. This is because the CDN module rewrites the image URL to use the CDN url.

A relative path token would be very useful... i.e..... image_style:path:relative

Comments

monstrfolk created an issue. See original summary.

monstrfolk’s picture

Status: Active » Needs review
monstrfolk’s picture

The reason CDN images were failing was because of...

Image style derivative not create when using first, second, third tokens
https://www.drupal.org/node/2853083

monstrfolk’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.