strapi-community / strapi-plugin-local-image-sharp

Dynamically resize, format and optimize images based on url modifiers.
https://strapi-community.github.io/strapi-plugin-local-image-sharp/
65 stars 17 forks source link

Plugin doesnt work #2

Closed sanch941 closed 1 year ago

sanch941 commented 2 years ago

Just install plugin with yarn and get image by modifiers returns 'Not found'

Sandstedt commented 2 years ago

Make sure the URL you add are correct before injecting the parameters.

Ex if you have a image in your media library named test1.jpg, the url usually looks something like this: http://localhost:1337/uploads/test1_686afb340a.jpg

So with parameters, the url should look like this: http://localhost:1337/uploads/s_400x400/test1_686afb340a.jpg

Alexuisis commented 1 year ago

+1 plugin doesn't work. Created project from blog template Env: "@strapi/strapi": "4.4.0", "strapi-plugin-local-image-sharp": "^1.2.1"

stafyniaksacha commented 1 year ago

Should be fixed by https://github.com/strapi-community/strapi-plugin-local-image-sharp/pull/14 on v1.3.0, please reopen if the issue still occurs