@dylanvann/gatsby-transformer-cloudinary

Gatsby transformer plugin for images using Cloudinary

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@dylanvann/gatsby-transformer-cloudinary
1.0.364 years ago4 years agoMinified + gzip package size for @dylanvann/gatsby-transformer-cloudinary in KB

Readme

@dylanvann/gatsby-transformer-cloudinary
Processes images in Gatsby's GraphQL layer using Cloudinary.
Creates ImageCloudinary nodes from images Gatsby's GraphQL layer.

Install

npm install @dylanvann/gatsby-transformer-cloudinary
# or
yarn add @dylanvann/gatsby-transformer-cloudinary

Usage

// gatsby-config.js
module.exports = {
    plugins: [
        {
            resolve: `gatsby-transformer-remark`,
            options: {
                plugins: [
                    {
                        resolve: '@dylanvann/gatsby-remark-cloudinary',
                        options: {
                            cloudName: '...',
                            apiKey: '...',
                            apiSecret: '...',
                        },
                    },
                ],
            },
        },
    ],
}