diff --git a/packages/gatsby-transformer-sharp/src/extend-node-type.js b/packages/gatsby-transformer-sharp/src/extend-node-type.js index 81eaca654ddb1..bdd08c711e3b1 100644 --- a/packages/gatsby-transformer-sharp/src/extend-node-type.js +++ b/packages/gatsby-transformer-sharp/src/extend-node-type.js @@ -259,6 +259,14 @@ const fluidNodeType = ({ }, }, sizes: { type: GraphQLString }, + maxWidth: { + type: GraphQLString, + resolve: ({ file, image, fieldArgs }) => fieldArgs.maxWidth, + }, + maxHeight: { + type: GraphQLString, + resolve: ({ file, image, fieldArgs }) => fieldArgs.maxHeight, + }, originalImg: { type: GraphQLString }, originalName: { type: GraphQLString }, presentationWidth: { type: GraphQLInt },