Use default image sizes for image names, even if the actual sizes have been overridden by options. Also properly calculate $cropped_sizes.