Image broke URL when start Edit

I folks!

I have a multi language site.

Each language have a different admin.

When I access the admin, the sitecake changes the common images URL, and broke the image. (see the attach)

2 questions:
How to fix it?
What is the good practice to this scenario?

Thx!

(*) Common for all pages.

/
├── css/ ()
├── img/ (
)
├── js/ (*)
├── /
├── css/
├── img/
├── js/
├──/
├── index.html
└── sitecake.php
├── /
├── css/
├── img/
├── js/
├──/
├── index.html
└── sitecake.php

-ROOT -
-|–css *
-|–js *
-|–imgs *
-|–en (english pages)
-----|–css
-----|–js
-----|–img
-----|–sitecake
-----|–index.html
-----|–sitecake.php
-|–pt (portuguese pages)
-----|–css
-----|–js
-----|–img
-----|–sitecake
-----|–index.html
-----|–sitecake.php

  • common files for all languages

Hi, unfortunately currently it is not possible to have images outside of sitecake root directory. So for your scenario, you would have to move outer css, js and imgs directories inside each sitecake installation directory. Maybe you could also try to symlink outer directories.

Regards

Thanks for sharing the update.

Is there any possibility to fetch image from other location?

If by other location you mean from another domain, yes it is possible as Sitecake is concerned. Problem can occurred if remote server disallow image displaying from remote location.
To add image from other domain just drag and drop it from wanted webpage into your page while in edit mode.

Regards

Hey predragleka,

That really sounds very easy. thanks for feedback.