Get default image size from div if not specified