Support » Plugin: Gutenberg » Width and height of the image

  • Resolved Natalya

    (@nalitana)


    Hello! Why is there no width and height of the image in HTML? How to show it? I need it for structured data Schema.
    <figure class="wp-block-image aligncenter"><img src="http://localhost/my/wp-content/uploads/2018/06/13887-400x320.jpg" alt="" class="wp-image-1579" srcset="http://localhost/my/wp-content/uploads/2018/06/13887-400x320.jpg 400w, http://localhost/my/wp-content/uploads/2018/06/13887-768x614.jpg 768w, http://localhost/my/wp-content/uploads/2018/06/13887-688x550.jpg 688w, http://localhost/my/wp-content/uploads/2018/06/13887-300x240.jpg 300w, http://localhost/my/wp-content/uploads/2018/06/13887-408x326.jpg 408w" sizes="(max-width: 400px) 100vw, 400px"><figcaption>technology network circuit lines abstract background vector</figcaption></figure>

    • This topic was modified 2 years ago by Natalya.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Width and height of the image’ is closed to new replies.