This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

skoobi
skoobi

Hi.

For some reason every time I try to upload an image i get the wrong path for the image.

For example the site is in my development site at http://my-projects.co.uk/canals

But if i insert an image in blog or cms or frontend it points to http://cloudwales-projects.co.uk/canals/canals/storage/app/media/site/ad_logo.png

Any way i can fix this or where should i be looking. Ive checked the config file etc.

Olmo
Olmo

Hi, I have the same problem. Still looking for a solution ... Any ideas?

Olmo
Olmo

skoobi said: For some reason every time I try to upload an image i get the wrong path for the image.

Any way i can fix this or where should i be looking. Ive checked the config file etc.

I found a temporary solution.

https://github.com/octobercms/october/pull/4055/commits/ae2bbe84a9b921e65a6173be3cf35bb3f2ae0f61

I hope that helps you too

Last updated

skoobi
skoobi

Hi Olmo.. Thank you for that. I managed to find that solution as well but only now back on the computer to reply. That worked but the other thing I done was, as it is a test server to build sites, I found that using subdomains fixed it as setting the CMS up in a folder caused some plugins to add an extra folder into the domain.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.