Answer the question
In order to leave comments, you need to log in
Modx substitutes incorrect url in image src. How to fix?
Just mastering modx, do not throw stones.
I have MODX REVOLUTION 2.6.0-pl.
There is a problem: modx does not substitute the correct url in src.
In fact, the link is normal, but does not add "../" at the beginning of it.
Created migx, where one of the fields is an image. After adding an image, a link is inserted
<div class="image">
<img src="assets/img/news/news-preview/870174074.jpg" alt="Изображение">
</div>
<div class="image">
<img src="../assets/img/news/news-preview/870174074.jpg" alt="Изображение">
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question