Title: automatic image sizes according to srcset
Last modified: April 13, 2019

---

# automatic image sizes according to srcset

 *  Resolved [acid45087](https://wordpress.org/support/users/acid45087/)
 * (@acid45087)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/automatic-image-sizes-according-to-srcset/)
 * I was wondering would it be possible to add an option to let WordPress detect
   the image size needed for the post using the already implemented srcset system,
   as it would be smarter to download just the right size of image for the screen
   size, not downloading the maximum size needed for the biggest need on all screen
   sizes.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/automatic-image-sizes-according-to-srcset/#post-11449869)
 * We are using the standard WordPress function for displaying the image, ` get_the_post_thumbnail()`,
   so the image already includes the srcset.

Viewing 1 replies (of 1 total)

The topic ‘automatic image sizes according to srcset’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/automatic-image-sizes-according-to-srcset/#post-11449869)
 * Status: resolved