Just put the SmallerImages package on one of the sites we've done as the users keep uploading massive images, some > 30Mb!
Anyway, working well for new images, it says it will work for existing images by setting ImageResizeApplyToExistingImages to true.
How does this work or how do we get it go through existing images as it doesn't appear to be doing anything.
SmallerImages package on existing images
Hi there,
Just put the SmallerImages package on one of the sites we've done as the users keep uploading massive images, some > 30Mb!
Anyway, working well for new images, it says it will work for existing images by setting ImageResizeApplyToExistingImages to true. How does this work or how do we get it go through existing images as it doesn't appear to be doing anything.
Cheers, Mike
Seems like it's applied on saving the image:
https://github.com/prjseal/SmallerImages/blob/c751e92d1d8bdd6888f2e7beb8f28dfd3d53b506/SmallerImages/Compose/SmallerImagesComponent.cs#L59
I guess to retrospectively apply it, you'd loop through all the existing images using the MediaService and save them.
The code above *should kick in on save.
Hi I have the same problem with editors who upload images >30MB and I have tried smaller images packages but nothing works in umbraco 8.9.0. I have tried to create composer and component like this https://github.com/prjseal/SmallerImages/tree/c751e92d1d8bdd6888f2e7beb8f28dfd3d53b506/SmallerImages/Compose to debug but It wont trigger MediaService_Saving.
Can someone point me in right direction?
.It works when I upload images in version 8.6.4
Many Thanks Christina
is working on a reply...