Auto resize image jquery. CSS Advance Tutorial #12 Object-fit property in css