Hi,
I uploaded images with the media library (to aws s3). I can fetch them alright with the getStrapiMedia function. I can see that in aws I have a small, medium, large and thumbnail version of each images, beside the original. Now I am displaying them in cards and I noticed that the original is being used… how could I enforce it to use a small/thumbnail for the cards?
Thanks!
in case it helps, adding the script I use to call images (I believe that it comes from the strapi-react-next blog)
Thanks! that worked! for anyone runing into a similar issue (aws s3 that is). I added a prefix option to the generation of the image div and then did this to my image.js. Note that I just googled around how to parse javascript strings, so anyone with any experience can write this in a prettier way…