Hi, one of my users uploaded hundreds of photos in high resolution (more than 10 MB each) and I’m looking for ways to reduce those file sizes.
Is there a way to download a group of assets?
Is there a way to filter the assets by size?
Also, is there a way to prevent the user from uploading something big?
AFAIK there is no way to prohibit the upload with: Rules / Asset changed / event.fileSize > X
Hi Sebastian,
the “History” of the assets also counts against the quota, right? Is there a way to limit the number of versions that it keeps? Or delete the history?
I have already found it in the meantime and have reset your usage data for assets.
You have to notice 2 things:
It can take a few minutes until you see it.
The asset usage database is derived from the events, so if a new event like AssetUploaded is raised in the system the usage database is updated. This is called a projection. Sometimes these projections are recreated and then my change is lost and you asset quota is up again. I don’t expect that I have to do it but just in case…