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

**URL:** https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012
**Category:** Product Support
**Created:** [April 14, 2021, 12:31pm UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012 "2021-04-14T12:31:11Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![zwf](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zwf](https://forum.mautic.org/u/zwf)
#### Post date: [April 14, 2021, 12:31pm UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/1 "2021-04-14T12:31:11Z")

</div>

**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 ?

---

<div class="post-metadata">

### Author: ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)
#### Post date: [April 14, 2021, 1:33pm UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/2 "2021-04-14T13:33:13Z")

</div>

Are you using the new Email builder (GrapesJS)?

---

<div class="post-metadata">

### Author: ![zwf](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zwf](https://forum.mautic.org/u/zwf)
#### Post date: [April 15, 2021, 8:52am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/3 "2021-04-15T08:52:54Z")

</div>

Hello ekke,

Yes I am using the Grape JS email builder.

---

<div class="post-metadata">

### Author: ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)
#### Post date: [April 15, 2021, 9:37am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/4 "2021-04-15T09:37:47Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [April 15, 2021, 11:10am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/5 "2021-04-15T11:10:48Z")

</div>

Are you serving the image URL as token?

---

<div class="post-metadata">

### Author: ![zwf](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zwf](https://forum.mautic.org/u/zwf)
#### Post date: [April 16, 2021, 7:06am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/6 "2021-04-16T07:06:08Z")

</div>

Thank you ekke for your message I will try it soon

---

<div class="post-metadata">

### Author: ![zwf](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zwf](https://forum.mautic.org/u/zwf)
#### Post date: [April 16, 2021, 7:16am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/7 "2021-04-16T07:16:55Z")

</div>

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 ?

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [April 16, 2021, 7:20am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/8 "2021-04-16T07:20:26Z")

</div>

> [@zwf](#):
>
> {dynamiccontent=“Dynamic Content 2”}

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

---

<div class="post-metadata">

### Author: ![zwf](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zwf](https://forum.mautic.org/u/zwf)
#### Post date: [April 16, 2021, 7:25am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/9 "2021-04-16T07:25:21Z")

</div>

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\>

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [April 16, 2021, 7:48am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/10 "2021-04-16T07:48:13Z")

</div>

Are we talking about email campaign? 🙂

---

<div class="post-metadata">

### Author: ![zwf](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zwf](https://forum.mautic.org/u/zwf)
#### Post date: [April 16, 2021, 8:06am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/11 "2021-04-16T08:06:28Z")

</div>

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

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [April 16, 2021, 9:04am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/12 "2021-04-16T09:04:06Z")

</div>

> [@zwf](#):
>
> picture.png

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.

---

<div class="post-metadata">

### Author: ![zwf](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zwf](https://forum.mautic.org/u/zwf)
#### Post date: [April 19, 2021, 9:48am UTC](https://forum.mautic.org/t/image-are-not-showing-even-tho-they-did-in-a-test-campaign/19012/13 "2021-04-19T09:48:49Z")

</div>

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.
