gatsby-transformer-cloudinary icon indicating copy to clipboard operation
gatsby-transformer-cloudinary copied to clipboard

undefined undefined error

Open beingabstrac opened this issue 4 years ago • 5 comments

I've problem transforming and sourcing back from cloudinary. I've raised a ticket here. The problem is not yet solved. Do help me out. Thanks.

image

beingabstrac avatar Jul 06 '20 11:07 beingabstrac

I've also seen this - uploading around 11000 image it sometime appears. Throttling gatsby with this seemed to help - but i don't know if its a co-incidence it seemed to come and go: GATSBY_CONCURRENT_DOWNLOAD=100

amcc avatar Jul 10 '20 09:07 amcc

@beingabstrac could you share your gatsby-config.js setup for gatsby-transformer-cloudinary also, what is the max size of a single image you're working with?

Chuloo avatar Jul 11 '20 13:07 Chuloo

{
      resolve: "gatsby-transformer-cloudinary",
      options: {
        cloudName: process.env.CLOUDINARY_CLOUD_NAME,
        apiKey: process.env.CLOUDINARY_API_KEY,
        apiSecret: process.env.CLOUDINARY_API_SECRET,
        uploadFolder: "gatsby-cloudinary",
        breakpointsMaxImages: 3,
        createDerived: false,
      },
    },

our image sizes vary - but we're doing this:

const MAX_FILE_SIZE = 80000000

if (mediaSource.size > MAX_FILE_SIZE) {
                  reporter.warn(`File too big ${imageUrl}`)
                  return false
                }

we haven't seen the error in some time now

amcc avatar Jul 11 '20 13:07 amcc

@beingabstrac could you share your gatsby-config.js setup for gatsby-transformer-cloudinary also, what is the max size of a single image you're working with?

@Chuloo

image

average file size of ~1,300 would be around ~100kb using imageoptim to compress images!

beingabstrac avatar Jul 12 '20 07:07 beingabstrac

Hi @beingabstrac been a while, circling back to this. Is this issue still prevalent?

Chuloo avatar Jan 26 '21 06:01 Chuloo