Hello! So I’ve recently just learned about using an upload provider for all my media in Strapi. I followed this documentation to use S3 bucket to store my media files:
https://strapi.io/documentation/v3.x/plugins/upload.html#using-a-provider
Everything is working fine and I was surprised how easy it was! One caveat however, I noticed when I upload an image through the Strapi media library and then I check my S3 bucket, the original image file was there BUT also 4 other variants of the image called small, medium, large, and thumbnail. While I do find this logic very useful, I don’t need all these extra files in there and infact I would like to customize this feature.
My question is, how can I customize how the file gets processed and uploaded to S3? I would like to remove the extra variants as they’re not needed for these images and I would like to create a different kind of variant using my own logic. Is there a way to extend this plugin / upload processing logic?
I could not find any documentation on why these variants were being created nor how to customize it.
Thanks!
edit:
Here’s a screenshot of what the file variants look like.