Yes, but as shown in the linked GitHub issue the API doesn’t as yet provide additional image sizes for GraphQL plugin to get.
Yeah, I know, I meant that I could generate sizes on the gatsby side querying for nodes, e.g. create transformer plugin that would extend source nodes created by gatsby-source-ghost
.
You only need Cloudinary to process the images, you could then copy those images to the same place you’re hosting the Gatsby install.
Thanks for the idea, I’m not sure though how to make the process automatic.
I also just checked, Ghost3 still generates different sizes for images. At this point it generates them on demand when certain size is requested from the browser, and it uses the configuration available in package.json
of the default Casper
theme. If there was a way to enable (pre)generation when an article is saved, I could then simply generate URLs to the respective image in the sizes folder inside content/images
. Do you know if that’s possible to enable sizes generation on save and not on request?