Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jothipriya 1 post 71 karma points
    May 02, 2022 @ 13:32
    Jothipriya
    0

    To get Image uploaded from Backoffice using RichTextEditor in AJAX

    Hi Everyone,

    I have created a document type with name Description as a Rich Text Editor. Then I have used AJAX to fetch the data from Backoffice everything works good. The problem is I have uploaded an image using media from Backoffice inside rich text editor but while fetching the result it displays like

    <p><img src="?width=500&amp;height=234.1040462427746" alt="stress" width="500" height="234.1040462427746" data-udi="umb://media/614c7c46327b493094127305256f282d" /></p>
    

    here the src file has no media path. But in backoffice it shows like

    <p><img src="/media/dkjhgq2n/materiality-sdg-poster-1.jpg?width=500&amp;height=291.875" alt="34" width="500" height="291.875" data-udi="umb://media/4363931ce38d4cd192379f061031ac7b" /></p>
    

    and in database also the media path was not correct and it displays like this

    <p><img src="?width=500&amp;height=234.1040462427746" alt="stress" width="500" height="234.1040462427746" data-udi="umb://media/614c7c46327b493094127305256f282d" /></p>
    

    what to do to get the image path and in my website the output was like enter image description here

    What I want to do???????????

    -Jothipriya G

Please Sign in or register to post replies

Write your reply to:

Draft