0

In blocks or cms pages I'm trying to add an image (Magento 2). But after selecting an image and choosing insert (from insert image popup) image URL of the image is wysiwyg/image.jpg and preview is missing. I think it should be followed by pub/media. How fix this, it is a bug?

0

1 Answer 1

0

The path is like <img src="{{media url="wysiwyg/The_Office.png"}}" alt="" />
The path pub/media will be identify by media url.
Now make sure there will not any space between path otherwise you can not see the preview in the editor.

Your Answer

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

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