New resizing height 180 to 150 Remove forced width in js (index.html) Add ImgContainer img {max-width:150px; max-height:150px} in css