wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
337 stars 129 forks source link

Images Within Posts #212

Closed raymond-dillon closed 3 years ago

raymond-dillon commented 4 years ago

Hi,

I'm pulling post content down no problem. However if the post contains an image, it does not appear under content.rendered.

How do I view the embedded image within the post?

Thank you for your time!

ThomasPe commented 4 years ago

Does it appear in the JSON response when you call the API directly, e.g. with Postman? This seems to be an API issue rather than one with the library.

raymond-dillon commented 4 years ago

I just checked and it appears in Postman under content.rendered with the tag, but when I hit the breakpoint in VS2019, all that displays for the post is the text.

i.e Postman shows

Text

Image

Text

VS2019 shows

Text

Text

ThomasPe commented 3 years ago

in the rendered part as well?

ThomasPe commented 3 years ago

I’m closing this issue because it has been inactive for a while. Please feel free to reopen if you still encounter this issue. Thanks!