• Resolved YoopDoop

    (@yoopdoop)


    Hello,

    I am relatively new to WordPress and this plugin, but I was wondering how I can make WP-Rest display a specific value for the width of an image on a post.
    Currently, it shows this:

    <div id=\"attachment_23729\" style=\"width: 477px\" class=\"wp-caption alignnone\"...

    Specifically this part: style=\"width: 477px

    I want to force WP-rest to show the width as 200px for all post images without changing the actual size on the website.

    Thanks in advance!

    https://www.ads-software.com/plugins/json-rest-api/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Force WP-Rest to display a certain value for image width’ is closed to new replies.