strapi:develop ← strapi:fix/add-size-in-bytes-for-upload-providers
opened 02:42PM - 07 Mar 24 UTC
### What does it do?
Adds the `sizeInBytes` attribute for images that have be…en resized and update it for optimized images.
### Why is it needed?
The previous PR https://github.com/strapi/strapi/pull/19593 was incomplete, it added the attribute only for the original file and not thumbnails or responsive images.
### How to test it?
Upload an image and verify the the upload provider receives the file size for all sizes, as expected.
### Related issue(s)/PR(s)
Original PR https://github.com/strapi/strapi/pull/19593