Image are not showing even tho they did in a test campaign

Your software
My Mautic version is: mautic-v3 3.10.102 #15284 SMP
My PHP version is: 7.2.14
My Database type and version is: MariaDB : 10.5.6
Phpmyadmin : 4.8.5
Serveur web : nginx
Number of contact in database : +50K

My problem is: images in email campaign are not showing

Log : I integrated optimized image in an email campaign

What I tried to avoid this issue is :

  • do the exact same campaign as a test and the pictures were showing properly

  • test with and without link integrated to a picture. Image without a link seems to be better

I don’t understand why in a test mail or a test campaign whitout environment change, the pictures would be showing but not for a real campaign ?

Are you using the new Email builder (GrapesJS)?

Hello ekke,

Yes I am using the Grape JS email builder.

didn’t check but I think I’ve seen that bug before.
Try this with a new email: Pick a template, save, switch to a different one, then go ahead.
Does that help?

Are you serving the image URL as token?

Thank you ekke for your message I will try it soon

No, I put image with URL so the user can clic on an asset link, then without URL. The only things “attached” to the image would potentially be a tittle and an ALT attribute.

Here is an example of an image inside of a mail in html :

td id=“iyn7g-2”>
div data-gjs-type=“dynamic-content” data-slot=“dynamicContent” id=“igfzsr” data-param-dec-id="">{dynamiccontent=“Dynamic Content 2”}
/div>
img id=“ibe6z6-2” src=“picture.png”/>
/td>

Also, do you think base 64 image could work here as remplacement ?

Hey,
A bit confusing. This is a dynamic content not an image.

Sorry my html didn’t showed properly because of the code tag, I updated it so it would show :

td id=“iyn7g-2”>
div data-gjs-type=“dynamic-content” data-slot=“dynamicContent” id=“igfzsr” data-param-dec-id="">{dynamiccontent=“Dynamic Content 2”}
/div>
img id=“ibe6z6-2” src=“picture.png”/>
/td>

Are we talking about email campaign? :slight_smile:

yes it’s an extract of the html from an email campaign

The image source should look like this:

<img id="ifrkf" src="https://mautic.domain.com/media/images/grapesjs/picture.jpg" style="box-sizing: border-box; color: black;">

I mean it should be an URL, not a relative reference.

1 Like

Yes it’s the answer, thank you Joek.

But why having an image option in the Grape JS builder to import picture directly from computer files ? This is what’s confused me.