I'm having some troubles with images in one cms page.


<img src="{{media url='wysiwyg/someimage.png'}}" alt="" />

The result on the frontend is

<img src="http://www.someurl.com/pub/media/wysiwyg/someimage.png%7D%22" alt="">

I guess the %7D is for "}" and %22 for the quotation mark, but no idea why it happens here !?

Does someone have any idea how to solve it?

2 Answers 2


Try with double quotes instead of single quotes:

<img src="{{media url="wysiwyg/someimage.png"}}" alt="" />
  • Thanks for the answer. Still not working though. I tried with single quotes, double quotes and without quotes.
    – csmarvz
    Aug 3, 2016 at 12:29

Found out that the special char ¨ (like in ü) in the paragraph above the image was the one breaking the images urls.

To reproduce, create a new page and in the content tab, click "show editor", then past ¨ and insert an image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.