Image uploaded via richtext not showing through wagtail rest api

87 views
Skip to first unread message

Shamily v a

unread,
May 22, 2018, 1:41:21 AM5/22/18
to Wagtail support
Hi,

I want to display image and associated text in a proper manner on my site. I'm using hallo editor. I'm using wagtail REST API to get the data and to display them. Texts are rendering properly but the image is not showing. It is in embed format <embed alt="Switch Board" embedtype="image" format="fullwidth" id="67">. I cant use the richtext filter since the rendering is taking place in js file. Is there any workaround for this one? 

Matthew Westcott

unread,
May 22, 2018, 7:57:20 AM5/22/18
to wag...@googlegroups.com
Answered here: https://stackoverflow.com/a/50467053/1853523

Cheers,
- Matt

> On 22 May 2018, at 06:41, Shamily v a <shamily...@gmail.com> wrote:
>
> Hi,
>
> I want to display image and associated text in a proper manner on my site. I'm using hallo editor. I'm using wagtail REST API to get the data and to display them. Texts are rendering properly but the image is not showing. It is in embed format <embed alt="Switch Board" embedtype="image" format="fullwidth" id="67">. I cant use the richtext filter since the rendering is taking place in js file. Is there any workaround for this one?
>
> --
> You received this message because you are subscribed to the Google Groups "Wagtail support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wagtail+u...@googlegroups.com.
> To post to this group, send email to wag...@googlegroups.com.
> Visit this group at https://groups.google.com/group/wagtail.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/wagtail/7ec17814-c97c-4286-a22c-63167b79e620%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages