Fixing image cropping for big ids