-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Labels
type: question or discussionIssue discussing or asking a question about GatsbyIssue discussing or asking a question about Gatsby
Description
Summary
Is there a way to force a crop/aspect ratio using fluid?
I want to create a set of image cropped to squares to use as thumbnails.
I could use resize, but that only provides one src with the exact height and width provided.
I could use fixed, which is a bit better because it creates srcs for different pixel densities, but that doesn't consider the image could be displayed at different sizes depending on the viewport.
Relevant information
https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/
Environment (if relevant)
File contents (if changed)
gatsby-config.js: N/A
package.json: N/A
gatsby-node.js: N/A
gatsby-browser.js: N/A
gatsby-ssr.js: N/A
tremby and VGoose
Metadata
Metadata
Assignees
Labels
type: question or discussionIssue discussing or asking a question about GatsbyIssue discussing or asking a question about Gatsby