![Simple CSS Solutions: How to fit images with different dimensions in set containers | by Kimberly Luu | Medium Simple CSS Solutions: How to fit images with different dimensions in set containers | by Kimberly Luu | Medium](http://jonathannicol.com/cms/wp-content/uploads/2014/06/cropped-thumbnails.png)
Simple CSS Solutions: How to fit images with different dimensions in set containers | by Kimberly Luu | Medium
![Help, img doesn't auto fit in div container on certain width - HTML & CSS - SitePoint Forums | Web Development & Design Community Help, img doesn't auto fit in div container on certain width - HTML & CSS - SitePoint Forums | Web Development & Design Community](https://global.discourse-cdn.com/sitepoint/original/3X/e/3/e32075225c6b9699afa000b62f8f62a5375370dc.jpeg)
Help, img doesn't auto fit in div container on certain width - HTML & CSS - SitePoint Forums | Web Development & Design Community
![CSS Trick: How to Object-fit an Image inside its Container Element in the Open Event Front-end | blog.fossasia.org CSS Trick: How to Object-fit an Image inside its Container Element in the Open Event Front-end | blog.fossasia.org](https://i0.wp.com/blog.fossasia.org/wp-content/uploads/2017/07/object-fit.png?fit=483%2C128&ssl=1)
CSS Trick: How to Object-fit an Image inside its Container Element in the Open Event Front-end | blog.fossasia.org
![CSS object-fit and object-position properties: Crop images embedded in HTML | by Martin Michálek | CSS Mine | Medium CSS object-fit and object-position properties: Crop images embedded in HTML | by Martin Michálek | CSS Mine | Medium](https://miro.medium.com/v2/resize:fit:1200/0*qFaAayKdfZgT2Rpy.png)