Title: Pull image height
Last modified: August 31, 2016

---

# Pull image height

 *  [stevewest15](https://wordpress.org/support/users/stevewest15/)
 * (@stevewest15)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pull-image-height/)
 * Hi,
 * Thank you for creating this plugin! We use a responsive theme (Divi) which doesn’t
   set an image height as it changes based on the [@media](https://wordpress.org/support/users/media/).
   Is there anyway to have the plugin pull in the images width & height based so
   this error can get fixed:
 * MANDATORY_ATTR_MISSING height (see [https://github.com/ampproject/amphtml/blob/master/builtins/amp-img.md](https://github.com/ampproject/amphtml/blob/master/builtins/amp-img.md))
 * Thx,
 * SW
 * [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)

Viewing 1 replies (of 1 total)

 *  [Mohammad Jangda](https://wordpress.org/support/users/batmoo/)
 * (@batmoo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/pull-image-height/#post-6903408)
 * v0.2 improves this a bit and we have [https://github.com/Automattic/amp-wp/issues/14](https://github.com/Automattic/amp-wp/issues/14)
   tracking some additional changes to avoid the validation issues.

Viewing 1 replies (of 1 total)

The topic ‘Pull image height’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mohammad Jangda](https://wordpress.org/support/users/batmoo/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/pull-image-height/#post-6903408)
 * Status: not resolved