strapi-plugin-local-image-sharp icon indicating copy to clipboard operation
strapi-plugin-local-image-sharp copied to clipboard

Plugin doesnt work

Open sanch941 opened this issue 3 years ago • 2 comments

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

sanch941 avatar May 18 '22 08:05 sanch941

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

Sandstedt avatar May 20 '22 11:05 Sandstedt

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

  • http://localhost:1337/uploads/we_love_pizza_592c12eb6a.jpg - OK
  • http://localhost:1337/uploads/s_200x200,fit_outside/we_love_pizza_592c12eb6a.jpg - {"data":null,"error":{"status":404,"name":"NotFoundError","message":"Not Found","details":{}}}

Alexuisis avatar Oct 27 '22 16:10 Alexuisis

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

stafyniaksacha avatar Jan 06 '23 02:01 stafyniaksacha