I want to stop generate thumbnail, how can I do

In latest 4.6, I’ve been able to set it through breakpoints config in ./config/middlewares.js

module.exports = ({ env }) => ({
  upload: {
    config: {
      breakpoints: {
        // Comment or uncomment keys below to disable thumbnail creation.
        // Useful when you rely on services for image resizing (ie: vercel...) and
        // don't want to increase disk usage, backups..
        // Caution: this applies to new uploaded images.
        // xlarge: 1920,
        // large: 1000,
        // medium: 750,
        // small: 500,
        xsmall: 64
      },
    }
  },
});

See Upload - Strapi Developer Docs

1 Like