Jump to content

All images have the wrong URL when adding them


nidros

Recommended Posts

In the default E-mail templates, pictures selected in the editor/file picker, and in creative elements, all images have the wrong URL. Everything works as expected if I manually remove the "/:443" in the link.

The URL after uploading/selecting is:
/:443/img/cms/5DM_4442.jpg

But it should be and only works if it is like this:
/img/cms/5DM_4442.jpg

I have tried clearing caches, recreated my .htaccess.

I use the official docker image behind a ngnix-proxy with letsencrypt.

Where does the /:443 come from? I did not find anything in the database or config files. If I know where it is getting this information form, I can fix it.

Thank you.

 

PrestaShop version(s) where the bug happened
1.7.8.8

PHP version(s) where the bug happened
7.3.24

Edited by nidros (see edit history)
Link to comment
Share on other sites

Thank you for your reply, I am using the official Docker Image.

I have tried adding this Environment variable to my docker compose, but the URLs still have /:443, not matter which value I set.

 

Some additional Info: The Shop Logo and Product images have the correct URLs, without me having to edit the links.

Edited by nidros (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...