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/
67 stars 19 forks source link

feat: allow to configure custom paths #29

Closed graphicfox closed 1 year ago

graphicfox commented 1 year ago

Allows to set paths in the config to make sure custom paths are recognized.

'local-image-sharp': {
   config: {
     cacheDir: '.imgCache',
     paths: ['/uploads', '/legacy']
   },
}

Also merge changes from https://github.com/strapi-community/strapi-plugin-local-image-sharp/pull/27

stafyniaksacha commented 1 year ago

Thanks for the contribution @graphicfox

This also closes #27