0

When I try to add images to the wysiwyg editor on a product I get a url like below

https://domain.co.uk/admin/cms/wysiwyg/directive/___directive/e3ttZWRpYSB1cmw9Ind5c2l3eWcvc3F1YXJlX2JveF93ZWxkXzEuanBnIn19/key/d572120a6df9ab6f1c29f11eec2a1059c1ea6a76caadd2ede6cc2396664ab65d/

Needless to say these images don't display, what is happening? How do I fix this?

2 Answers 2

1

Please change this setting and check

Admin->System->Configuration->General(Content Management)->WYSIWYG Options->Use Static URLs for Media Content in WYSIWYG for Catalog

Change this to "Yes".

1
  • Thanks, but.. "Media content is not updated if the system configuration base URL changes." I need to be able to update the base URL, should I really be switching this on? Why doesn't it just work? Sep 21, 2016 at 13:14
0

i have the same issue, but changing Use Static URLs for Media Content in WYSIWYG for Catalog to yes does not resolve for me. From what i see magento 2 is creating a directive through the admin url so if you are not logged in then the image wont load. this is a security issue also because its disclosing the admin url

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.