I got image like this from uploding image by wyusiwyg editor:

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

but i want to replace this url like this:

and i want to do this using helper in custom module.

Please anyone can have idea then share with me.

Thank you in Advance.



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.

Browse other questions tagged or ask your own question.