Buy Now and unlock this series
$
44
.99
$
34
.99
yours forever
$
44
.99
$
34
.99
Become a Pro and unlock everything
$
24
.99
per month
$
24
.99
Gatsby Image
Now, we are going to turn the visual design of our blog up a notch by adding some images. We will be using a few new plugins: gatsby-plugin-sharp, gatsby-transformer-sharp, and gatsby-image. These will allow us to have optimized and transformed images that give us an awesome loading effect.
Downloads
Become a pro to download code and videos
Pro Gatsby 2
26 videos
Course Instructor
Scott Tolinski
- Pro Gatsby
40S - Getting Started With GatsbyJS
8M10S - Gatsby FIles Explained
12M22S - Creating Pages
9M29S - Working With Assets
7M50S - Intro To GraphQL
7M59S - GraphQL Static Queries
8M6S - Plugins & Gatsby Source Filesystem
9M27S - Working With Markdown
16M27S - Our Query In React
12M17S - Improving Our Query with Filtering and Sorting
11M3S - Gatsby Node
11M16S - Creating Pages From Markdown Files
9M1S - Page Query vs Static Query
8M45S - Context In Page Queries
6M3S - Static Query From Scratch & Page Listing
12M35S - Styled Components In Gatsby
14M44S - Styling Part 2
9M3S - Gatsby Image
13M19S - React Spring
12M16S - Building Our Static SIte
7M20S - Hosting On Netlify
8M18S - Netlify CMS
9M50S - Easy Sitemaps
5M30S - Progressive Web Apps With Gatsby
5M44S - Where To Go Next
4M18S
Comments
Adam
about 1 year ago [edited]
My changes to work w/ the gatsby-plugin-image package:
Import
Query
Image
Adam
about 1 year ago [edited]
gatsby-image has been deprecated in favor of gatsby-plugin-image. This plugin is part of the started gatsby project in gatsby v3.x. FYI
See https://www.gatsbyjs.com/plugins/gatsby-image/?=gatsby-image for more info.
Christopher C
almost 2 years ago
My regex wasn't working in graphql for
regex: "/bg/"
I actually had to doregex: "/^bg/gm"
CD
almost 3 years ago
What if you weren't querying but rather returning a collection of API data and you wanted to map() over that data in your component, including images?
Want to join the conversation?
Become a Pro member today!