Jump to content

CMS images local and remote


Recommended Posts

Hi,

 

I have a problem using the CMS in Prestashop 1.5.

 

I'm locally creating several CMS sections with some images.

The problem is that when I export these sections to the remote server all images are broken.

This is because all images have a complete URL path, but pointing to my local server.

My local server is XAMP on a Mac.

 

I could use a relative "/img/cms/" path, however my local server has a "prestashop" subpath, so I don't know how to see all images, local and remote, correctly at the same time. 

 

Local base path is "localhost/prestashop"

(I can't get rid of subpath, I need to use "localhost/phpmyadmin")

 

Remote path is "domain.com"

 

So "/img/cms" works on remote, but not locally.

 

How can I solve this?

 

Many thanks!

 

Link to comment
Share on other sites

  • 1 year later...

I know it is little bit late, but I'm now handling with this problem too :-)

 

I think that with basic Prestashop installation is only possible solution that you will have absolute paths to image on remote server, so the local server will download it (if you are online of course).

Link to comment
Share on other sites

×
×
  • Create New...