We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5c0d2 commit efe95a4Copy full SHA for efe95a4
packages/gatsby-transformer-sharp/src/extend-node-type.js
@@ -216,6 +216,8 @@ const fluidNodeType = ({
216
sizes: { type: GraphQLString },
217
originalImg: { type: GraphQLString },
218
originalName: { type: GraphQLString },
219
+ presentationWidth: { type: GraphQLInt },
220
+ presentationHeight: { type: GraphQLInt },
221
},
222
}),
223
args: {
@@ -257,6 +259,10 @@ const fluidNodeType = ({
257
259
type: GraphQLInt,
258
260
defaultValue: 0,
261
262
+ sizes: {
263
+ type: GraphQLString,
264
+ defaultValue: ``,
265
+ },
266
267
resolve: (image, fieldArgs, context) => {
268
const file = getNodeAndSavePathDependency(image.parent, context.path)
0 commit comments