css position marker on image irrespective of size or scale code example Example: how to contain image size overflow: 'hidden', backgroundSize : 'contain',