

To add gatsby-background-image as a dependency to your Gatsby-project use

“blur-up” effect as well as lazy loading of images further down the screen. The gatsby-background-image component automatically sets up the The GraphQL query creates multiple thumbnails with optimized JPEG and PNGĬompression (or even WebP files for browsers that support them). Which specify the fields needed by gatsby-background-image.

Bootstrap 4 fluid image background plus#
Plus being able to style with Tailwind CSS and suchlike FrameworksĪll the glamour (and speed) of gatsby-(plugin)-image for your Background Images! Plus being able to work with multiple stacked background images This fix improperly sizes other image formats, so Bootstrap doesn’t apply it automatically. To fix this, add width: 100 9 where necessary. Plus being usable as a container (no more hacks with extra wrappers) In Internet Explorer 10, SVG images with. Plus having AVIF support (with the help of gbimage-bridge)! SVG to show a preview of the image while it loads, Including the “blur-up” technique or a ” traced placeholder” It has all the advantages of gatsby-image, Provides, what Gatsby’s own gatsby-(plugin)-image does for the rest of your Gatsby-background-image is a React component which for background-images Speedy, optimized background-images without the work!
