Our Project change to nop,so I create a scheduleTask to upload product images.
After upload product images from old db,it's works.but when i update images from old db , there no change.
Click" Clear cache " in admin is also not work,What's wrong?
_cacheManager.RemoveByPattern(string.Format("Nop.pres.product.detailspictures-{0}-", product.Id));
_cacheManager.RemoveByPattern(string.Format("Nop.pres.product.picture-{0}-", product.Id));
_cacheManager.RemoveByPattern("Nop.pres.productattribute.picture");
_cacheManager.RemoveByPattern("Nop.pres.cart.picture");
var picture = _pictureService.GetPictureById(pic.PictureId);
picture.PictureBinary = fileBinary;
picture.IsNew = true;
_pictureRepository.Update(picture);