Jump to content

Images uploaded through WYSIWYG works but doesn't display in F.O. when languages are used


neller

Recommended Posts

Hi All,

 

I have a specific issue that I can't find a working fix for.

 

I have a store that uses multiple languages.

When adding images through the WYSIWYG editor in B.O. the images display fine and the path is automatically set to ../images/image-name.jpg

But in F.O. as the path is ../images/image-name.jpg it displays the ? .

As the url shouldn't use the relative path as the laguage adds /en/ to the URL making it wrong.

Turning off SEO urls makes the image display fine, but I need it to be on.

 

Without languages the image displays fine as the /en/ isn't in the URL and so ../images/image-name.jpg is correct.

 

Manually changing the url path in the page source doesn't work as the URL is automatically updated when saved.

 

The only work around I have that works is to use an absolute path for the image that isn't the same as the shop domain.

E.G.

In SEO + URLs > shop domain is set to www.shop.com

so to make the images work I have to set the URL manually to http://shop.com/image/images.jpg then it works as the URL isn't rewritten.

 

So basically how do I turn off the relative image urls?

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

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