karolsojko / ghost-cloudinary-storage

Ghost storage adapter for cloudinary

Home Page:https://blog.jagasantagostino.com/store-ghost-images-on-cloudinary-for-free/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. Install ghost-cloudinary-storage from npm. npm install ghost-cloudinary-storage

  2. Login to Cloudinary's dashboard and grab your credentials. cloudinary account info

  3. Move the plugin in a folder where Ghost will find it. cp -r node_modules/ghost-cloudinary-storage content/storage/ghost-cloudinary-storage

  4. add a storage entry in your config.js file

    database: {
     ...
    },

    storage: {
        active: 'ghost-cloudinary-store',
        'ghost-cloudinary-store': {
            secure: true, // to use https
            cloud_name: 'my_cloud_name',
            api_key: 'my_api_key',
            api_secret: 'my_api_secret'
        }
    }

  1. Done, now when you upload an image from Ghost gui it will be hosted to your cloudinary account instead of locally.

About

Ghost storage adapter for cloudinary

https://blog.jagasantagostino.com/store-ghost-images-on-cloudinary-for-free/


Languages

Language:JavaScript 100.0%