Gallery : Better handling of resized (width < 320px) images height