Simple hack to resize images within a parent container, keeping its proportion whatever orientation