gatsby-source-strapi icon indicating copy to clipboard operation
gatsby-source-strapi copied to clipboard

Add configuration option to skip image processing

Open tylerpaige opened this issue 3 years ago • 4 comments

In some cases, developers may want to skip image processing entirely. This may be useful for a site that is using an image CDN such as cloudinary: the CDN provides transformations, so we don't need to use Gatsby's transformation layer. This PR adds such an option.

Relevant issues: #305

tylerpaige avatar Apr 26 '22 03:04 tylerpaige

CLA assistant check
All committers have signed the CLA.

strapi-cla avatar Apr 26 '22 03:04 strapi-cla

I would suggest using the term "skipFileDownloads" as the image processing is being done by other plugins on all file nodes. So it's not really skipping image processing, its skipping creating File Nodes for the images.

"skipFileDownloads" is lifted from the Drupal Plugin, the WP Plugin uses "createFileNodes".

raae avatar May 26 '22 14:05 raae

@raae that's a great point. just submitted that change!

tylerpaige avatar Jun 02 '22 15:06 tylerpaige

Hi friends, Is there anything I can do to move this PR forward? I'm definitely interested in saving myself the build time & bandwidth costs caused by downloading these images.

Thanks!

tylerpaige avatar Aug 12 '22 13:08 tylerpaige