Magento 1.9 – Fix Wrong URL Returned by WYSIWYG

magento-1.9wysiwyg

I'm using wysiwyg editor to insert image but it return full URL path inserted of media URL in content area.

WYSIWYG is returning path like

<img alt="" src="mydomain.com/media/wysiwyg/the-picture.jpg">

but iI want a URL like

<img src="{{media url=wysiwyg/the-picture.jpg"}}" alt="" />

any help would be appreciate.

Best Answer

ohh i got answer Myself Login to Admin.

Go to System > Configuration > Content Management (Under General) > WYSIWYG Options

Use Static URLs for Media Content in WYSIWYG for Catalog’ – Select “No”

Related Topic