Return image size for content size if an image has been set