Can't upload image to cloudinary v4.2.2

Hi all,

I’m trying to upload image from strapi v4.2.2 to cloudinary but strapi ignore the plugin and always save it locally…

here’s the ./config/plugin.js

module.exports = ({ env }) => ({
    upload: {
      config: {
        provider: "cloudinary",
        providerOptions: {
          cloud_name: env("CLOUDINARY_NAME"),
          api_key: env("CLOUDINARY_KEY"),
          api_secret: env("CLOUDINARY_SECRET"),
        },
        actionOptions: {
          upload: {},
          delete: {},
        },
      },
    },
  });
  

I’m using @strapi/provider-upload-cloudinary package…

any help?

@Ahmed_Taha I’ve found the solution. Changing the file name from plugin.js to plugins.js worked for me!! Hope this helps you out!

Ref: Strapi not uploading pictures to Cloudinary - Stack Overflow