Image CDN #35147
Replies: 29 comments 117 replies
-
When will gatsby-source-drupal support Image CDN? |
Beta Was this translation helpful? Give feedback.
-
Testing out this option while building locally. I see a new worker "Running gatsby.IMAGE_CDN jobs". It seems to take a really long time. Is this as expected? I'm still running this for the first time as I type this, but I'm at 450s at 2500/11700 jobs complete. I'll update with total time when the job is done, and if it succeeds I will try running it on Netlify. |
Beta Was this translation helpful? Give feedback.
-
Image CDN / gatsbyImage doesn't seem to work with |
Beta Was this translation helpful? Give feedback.
-
I get this error message whenever there's an incremental build triggered by a new post in wordpress:
It seems like no Image CDN jobs are ran for new images encountered under an incremental build, thus failing the query. When doing a cold build, this problem does not occur. |
Beta Was this translation helpful? Give feedback.
-
as stated here #35327 I do get very slow IMAGE_CDN jobs running on a wordpress sourced site that does not use IMAGE_CDN. Why? I tried setting export GATSBY_CLOUD_IMAGE_CDN=0 but that didnt change anything. Even on Here is the output (mid build) from my actual project:
After 15 min, only 58% complete? What is it doing? Eventually the build completed after 25mins |
Beta Was this translation helpful? Give feedback.
-
Noticing that the Image CDN doesn't provide
Kyle asked me to mention this here as a possible oversight. What should the |
Beta Was this translation helpful? Give feedback.
-
Image CDN +
|
Beta Was this translation helpful? Give feedback.
-
I'm migrating the website to a new GatsbyImage API that works with Gatsby Cloud Image CDN https://support.gatsbyjs.com/hc/en-us/articles/4522338898579 for a Headless Wordpress setup. Following the guideline, I disabled
Some images that are coming from a Wordpress are in SVG format. Previosly I was able access them by localFile.publicUrl which gave me a url in local static folder to that SVG. Now if I access it with publicUrl with a link like
Gatsby crashes with the following error |
Beta Was this translation helpful? Give feedback.
-
Image CDN in Gatsby Cloud and localy process images differently. |
Beta Was this translation helpful? Give feedback.
-
gatsby-plugin-sharp defaults does not work with gatsbyImage(). Tried to set placeholder: "none", but it does not take any affect. However using placeholder: NONE directly in the query works as expected. Tested with gatsby-source-wordpress plugin.
|
Beta Was this translation helpful? Give feedback.
-
Using gatsby-plugin-image with new API + headless WP + Image CDN does not prevent redownloading media items from WP. My assumption was that with Image CDN there won't be additional redownloading of images that have been already downloaded to Gatsby Cloud and we will have a persisted image cache across builds. Currently I see that media files are downloading each time on node/config/package.json changes. |
Beta Was this translation helpful? Give feedback.
-
https://heygrillheyfrontendmaster24444.gatsbyjs.io/dr-pepper-jalapeno-beef-jerky/ We tried to update a site we maintain to use the Image CDN, and on the first load, everything looks good, but if you refresh the page on chrome, the images don't load. We use: gatsby: 4.12.1 |
Beta Was this translation helpful? Give feedback.
-
Image CDN doesn't play nice with
Generates these query params
|
Beta Was this translation helpful? Give feedback.
-
I have found when using In addition. Sometimes on any node (ACF or other) It seems this error is from sharp expecting a round number. Not sure how an image node is returning a float. It would be helpful to have errors outlining which images failed. |
Beta Was this translation helpful? Give feedback.
-
Drupal 9 on Gatsby Cloud with Image CDN on, using the @latest Drupal source plugin. In a component with
Changed gatsbyImageData to gatsbyImage in here:
Got error 'Cannot query field "gatsbyImage" on type "ImageSharp". If you don't expect "gatsbyImage" to exist on the type "ImageSharp" it is most likely a typo.' What am I doing wrong / how should image data be queried (anything Drupal-specific?) |
Beta Was this translation helpful? Give feedback.
-
Wow, looks most encouraging, thanks @TylerBarnes! |
Beta Was this translation helpful? Give feedback.
-
Is there documentation of all properties we can use with Eg I note that |
Beta Was this translation helpful? Give feedback.
-
It appears that the introduction of IMAGE_CDN the existing image processing for wordpress no longer works which IMHO is a serious regression. See #35626 |
Beta Was this translation helpful? Give feedback.
-
Default Image settingsWhen using
|
Beta Was this translation helpful? Give feedback.
-
Using @latest of gatsby-source-drupal (5.15.0), configured However, at develop and on Gatsby Cloud I get the following: |
Beta Was this translation helpful? Give feedback.
-
I've run into an issue with querying posts from my Drupal site when the query includes an image using gatsbyImage. Here is an example:
My build crashes if I don’t set a limit for the query results. From what I've tested so far, the build will not crash if a limit of 200 is set. The build crashes with a limit of 500 or if no limit is set. The build doesn’t crash unless |
Beta Was this translation helpful? Give feedback.
-
So how does it work when Image CDN meets headless CMS like Contentful, which has its own image CDN? Practically, the images are now located in |
Beta Was this translation helpful? Give feedback.
-
[deleted]
Nathan Grzesik
…On Sat, 8 Oct 2022, 2:58 am Tyler Barnes, ***@***.***> wrote:
I opened a PR adding support just now #36772
<#36772>
You can try it out with these canaries:
- ***@***.***+74fb9797c3
- ***@***.***
+74fb9797c3
- ***@***.***+74fb9797c3
- ***@***.***+74fb9797c3
- ***@***.***
+74fb9797c3
- ***@***.***+74fb9797c3
If it's not working after installing the canaries, try setting a yarn
resolution:
{
"resolutions": {
"gatsby-plugin-utils": "3.19.0-alpha-image-cdn-pathprefix.47"
}
}
—
Reply to this email directly, view it on GitHub
<#35147 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX4R2JXHHGYGVGOTUSNFNL3WCBXEPANCNFSM5Q4HAWBA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I've no answer after 8 days on my dedicated discussion…
Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi there. We're using the gatsby-source-drupal (5.25.0) plugin. Wondering if there is a way to exclude certain files, or certain types of files (e.g. PDF), from Gatsby Cloud Image CDN handling (so only those files will be downloaded locally)? |
Beta Was this translation helpful? Give feedback.
-
As a developer, I have found the Image CDN feature to be very useful. It has greatly improved the performance of my website, as the images are now loaded faster due to the CDN. The integration of the feature into my website was also straightforward and did not require much effort. One thing that I would like to see improved is the available image transformations. It would be helpful to have more options for resizing and cropping images, as well as the ability to add custom transformations. Overall, my experience with Image CDN has been positive and I would recommend it to other developers. Keep up the good work! |
Beta Was this translation helpful? Give feedback.
-
When replacing Is this an expected tradeoff for pages that haven't been cached locally yet or is this a hint of some other underlying issue? |
Beta Was this translation helpful? Give feedback.
-
Error 3:59:52 PM: error There was an error in your GraphQL query: |
Beta Was this translation helpful? Give feedback.
-
Hi, getting the error during build |
Beta Was this translation helpful? Give feedback.
-
Description
We recently announced a new feature called Image CDN.
Please post your feedback regarding this new feature, any performance observations and general Developer Experience (DX) of this feature.
We appreciate any all feedback and want to improve Image CDN! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions