# All image URLs are missing the protocol

**URL:** <https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767>\
**Category:** Product Support\
**Tags:** docker, mautic-5\
**Created:** [October 24, 2025, 11:39am UTC](https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767 "2025-10-24T11:39:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mreh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mreh/32/14526_2.png) [@mreh](https://forum.mautic.org/u/mreh)\
**Post date:** [October 24, 2025, 11:39am UTC](https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767/1 "2025-10-24T11:39:15Z")

</div>

**Your software**  
My Mautic version is: 5.2.8  
My PHP version is: 8.3.26  
My Database type and version is: MySQL 8.4.7

**Your problem**  
My problem is:

All image URLs in the email builder are missing the protocol from the Site URL in the configuration.

This is also affecting the avatar image, which is prefixing the hostname of the container to the ?d= parameter, since UrlHelper::rel2abs thinks the avatar path is relative (since it’s missing the protocol).

I also can’t save in GrapeJS.

These errors are showing in the log:

None.

Steps I have tried to fix the problem:

- Resaved the config.
- Cleared the cache.
- Rebuilt assets.

---

<div class="post-metadata">

**Author:** ![mreh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mreh/32/14526_2.png) [@mreh](https://forum.mautic.org/u/mreh)\
**Post date:** [October 24, 2025, 3:15pm UTC](https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767/2 "2025-10-24T15:15:42Z")

</div>

Update:

The save button in the email editor also has the title “grapesjsbuilder.panelsViewsButtonsApplyTitleError”.

I can find the string grapesjsbuilder.panelsViewsButtonsApplyTitle in the codebase, so it probably relates to this somehow.

---

<div class="post-metadata">

**Author:** ![cibero42](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cibero42/32/14324_2.png) [@cibero42](https://forum.mautic.org/u/cibero42)\
**Post date:** [October 28, 2025, 2:04pm UTC](https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767/3 "2025-10-28T14:04:12Z")

</div>

Hello @mreh !

I think I already experienced this issue before…

Is Mautic running behind a Proxy with HTTPS?

---

<div class="post-metadata">

**Author:** ![mreh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mreh/32/14526_2.png) [@mreh](https://forum.mautic.org/u/mreh)\
**Post date:** [October 28, 2025, 2:38pm UTC](https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767/4 "2025-10-28T14:38:35Z")

</div>

Yes, the proxy is terminating TLS and forwarding everything to Mautic.

---

<div class="post-metadata">

**Author:** ![mreh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mreh/32/14526_2.png) [@mreh](https://forum.mautic.org/u/mreh)\
**Post date:** [October 28, 2025, 5:53pm UTC](https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767/5 "2025-10-28T17:53:07Z")

</div>

@cibero42 ^

---

<div class="post-metadata">

**Author:** ![cibero42](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cibero42/32/14324_2.png) [@cibero42](https://forum.mautic.org/u/cibero42)\
**Post date:** [November 4, 2025, 5:43pm UTC](https://forum.mautic.org/t/all-image-urls-are-missing-the-protocol/36767/6 "2025-11-04T17:43:45Z")

</div>

Hi, sorry for the delay

So, the UI is using http://, but your proxy is on https://, right?

I still haven’t figured out how to solve this issue on Mautic, but a suggestion is to use rewrite rules in your proxy to upgrade clients from http to https.

Give it a try and update us if it works!
