Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I can’t seem to find out why the open statistic image does not get included in my outgoing newsletters. I checked the mail source and it’s simply missing.
Setting Mime Mail to “link images only” doesn’t help either.
Text format is full_html, I even tried a new text format with no filters.
function _simplenews_statistics_image_tag is being called and $body is appended with the image tag. It must get removed at some later point.
Any pointers?
Comments
Comment #1
igorski CreditAttribution: igorski commentedOk, after hours and hours of debugging and head scratching, I found the problem:
If you’re also using Mime Mail CSS Compressor, the
<img>
tag will be removed because of itsstyle="hidden"
.So, one up for Allow theming of tracking image
Comment #2
IckZ CreditAttribution: IckZ commentedigorski++ ! thanks a lot. You saved my day :). I just wanted to start debugging but than I found this issue here :)
Comment #3
dieuweClosing this issue as it is directly linked to #2360015: Allow theming of tracking image