{"_id":"gatsby-image","_rev":"389-5ba1a457867c1d35ae808e1e83940188","name":"gatsby-image","dist-tags":{"loading-attribute":"2.1.0-loading-attribute.3","otp-test":"2.2.15-otp-test.31","pr-20741":"2.2.40-pr-20741.212","state-machine":"2.2.46-state-machine.75","unifiedroutes":"2.3.4-unifiedroutes.76","unifiedroutes-v2":"2.3.4-unifiedroutes-v2.135","image-helpers":"2.6.0-image-helpers.58","reach-router":"3.0.0-reach-router.13","v3rc":"3.0.0-v3rc.0","next":"3.12.0-next.0","latest":"3.11.0"},"versions":{"1.0.1":{"name":"gatsby-image","version":"1.0.1","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.1","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"3db7e47457fea9d00c84e1fcdfe88867dfeba746","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.1.tgz","integrity":"sha512-4hbhrW/n81xkLHQvC4/t07+WFLO8VWPu/zd9Wsuv19mHAUS6fHlUZbn78tnuEVF2FcDa259oSlLhp3pFGX4nuA==","signatures":[{"sig":"MEYCIQC6SMDU9qblKRS5dofN5LvwJJolKl8r7vP0tXhyLpHougIhAORHjnXISZ3gjOhHDVcGCez+a94UsJvUW7ickHditC7Y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.5.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.1.tgz_1506733018476_0.2167052966542542","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"gatsby-image","version":"1.0.2","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.2","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"3f327c45e93b3696ade1dee8cd0a5361eda593aa","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.2.tgz","integrity":"sha512-i5JfxnpfHXRu8XdtabGUihg0QMS1BZF81TRCtLLwYjW1RDv4ua4TtRiO8JnmUrTajBpboW96p2b9V0N3iGTZFQ==","signatures":[{"sig":"MEUCIQDhJ2PdV4lr82b/JVRQyEruWGx0O3dai5ENwwFMpVrkLAIgFpwBn+8TST7pSsxOVvCRvPJbXxZm2eQfv5ZXbgFbDNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.5.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.2.tgz_1506894673423_0.26625796128064394","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"gatsby-image","version":"1.0.3","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.3","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"73362c3054ebdb3947396e8fced91290b5982c6d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.3.tgz","integrity":"sha512-KiDWf7ilSTRpZelcw8XJyrHplVv1M1kEe49Fm9BeHoALyqh76LFdnyT88vfHP3AiD1OaeuzyZzfjQPSWrK5v9A==","signatures":[{"sig":"MEUCIGBj6Oz0vrqLpx/o+fISoUOGZ17HSJePyGHxnGvJEMlsAiEA3sBL997VA2Ogo95c1MtwtYNJ1nosv8CDXtNfdLa/O0I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.5.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.3.tgz_1506982544535_0.6397880937438458","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"gatsby-image","version":"1.0.4","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.4","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"e76882a5d6e9461bec76f924fbe0c4026bf3c128","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.4.tgz","integrity":"sha512-K8DCV/ET7RNF+o+3f7pFr8gnYe8JF9YyNQiXm59c0JJRAVY0Pzy/eXW87lw3I12WyM47PNn7yjNeuuT7trT4gA==","signatures":[{"sig":"MEQCIBKfVI6lbXs1IgV8moxDlC8nXqOtTha+HzSg/n7EV4zNAiBjGxel7FFI1LYJd9J0O2Ds2Ou6S7dqmbu6KiFKEWZLQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.5.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.4.tgz_1507054791835_0.8254233538173139","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"gatsby-image","version":"1.0.5","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.5","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"e834eec222746244d3bb4549a0e3fdd7da35ed8c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.5.tgz","integrity":"sha512-DYmR4qwCAaci2CHhO4fjVJFSOhviRsd+EnJBeIJUgA/gQyTWPOFvFSJnxKGIvJiGEUUZyqdSX3hfVgl0vHzW5Q==","signatures":[{"sig":"MEQCIHKq7XCAGLs1NkbaX1O98ZH3/dX2lsStE4mTlfndmn02AiBPb3vjo6NdIr+6CMX3A1yJYBfEHm4FWOzeZ5xe+aJ5JA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.5.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.5.tgz_1507149785570_0.535164380678907","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"gatsby-image","version":"1.0.6","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.6","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"be2c12e0801577ad61c95cefd1d1589702589375","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.6.tgz","integrity":"sha512-1Y/+vPuY8UYigalt5deqNAKtZQk952/6WsHxt1pJ6NfN6QTmnZQDNEXalljpBYs6FiDZBJ8+M/IVbhM1eFynWg==","signatures":[{"sig":"MEUCIE+xEi6ftHy6ui0aLJinRFDmuIQxUjMolsA1Wrc/s1axAiEA+ksyUQnBgx5dbOXRzO+uj5iHui7OKWNJJDf5I3/CS4g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.6.tgz_1507349298567_0.5179198819678277","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"gatsby-image","version":"1.0.7","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.7","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"67d9c56db301f8e6c49bbc31ca06aae763445747","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.7.tgz","integrity":"sha512-YXfMrmtWNt9Dham+4cqgjttlDWiukSlWLPndoqjLFZaQ05c/Kmr3PZMu91eRlI+aYB8IDN+pX2xcHE7I1l/X7w==","signatures":[{"sig":"MEQCID3LCrHCZMTOW21YStzNaGvzCL1pZG5JF6O2EeP3I0PZAiAOaX8bWvbuHASnhMBN55JH9stjA/n23e/ZSHiYWoQrTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.7.tgz_1507381214254_0.8340806912165135","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"gatsby-image","version":"1.0.8","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.8","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"f7976f5052213a9ef9353a6496ad06b95cc42544","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.8.tgz","integrity":"sha512-siRc2+E9MHrwS4h4J5A+g98ZWU99XJoc4lnKRiN7imWt2Bo8zmZjBnPpRCtzEZbD/WL3H3DwonwOEPpr7h4fxg==","signatures":[{"sig":"MEYCIQDs2aTyFOKXINFOO75Xdtp5RZ51ER/a2G6BpHscDjoNTQIhAJTKALF8RW1IVLbqs5Crgz4W7GIIN7A78seJzjS6fpxz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.8.tgz_1507418943753_0.5206163846887648","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"gatsby-image","version":"1.0.9","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.9","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"5f26719f2073cd14a7df3f24164236491f8c109e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.9.tgz","integrity":"sha512-ncEk6zhmEz65wDshQVCLKzg0Ej8kUK/V8rMj8puDqXgnEi0QYzSjTRhg2e20cMbMdmUlst5oF9EHNyKIYDGMIA==","signatures":[{"sig":"MEQCIDU3tyEC/ITS9uvsejaVQvelINLsy+EuOT8UohIFISoNAiB+4KPOrZ0FfQugTcAPGncTdN15Tm+Ubd+DirLVVjS4cA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.9.tgz_1507422592018_0.2563841794617474","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"gatsby-image","version":"1.0.10","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.10","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"4183d654ca3041dafa424095d5600e05fda3f547","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.10.tgz","integrity":"sha512-23xHLSeTsWkZQ0upvUKRKBCd1beCMONCwYLaZiN/FEybHRxp26XVeHz03q/ZgC23pffILM/AmpmmZwr4mxafmg==","signatures":[{"sig":"MEYCIQDkYkgOeB1WNrZnhvqPsWxJd29AUgMHSDQWw8q+k87GlgIhAPu7fJuZYUl5OAFCg+1jH6wRXxfEl9YZDobNQLSJnhjA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.10.tgz_1507583303945_0.5455672149546444","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"gatsby-image","version":"1.0.11","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.11","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"166b2f84e03ed158fd9ef8efcb1835931f54b13f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.11.tgz","integrity":"sha512-H1WtzI4a0o08OkM11AaapPsuQAQkocRQ1D04x2GK/WocnU5OCiBO0HnUapqPU+3ez/wB+Zq47Kk2co10+K6uDw==","signatures":[{"sig":"MEQCID21t4iOSQhurVqb4heMJq/ph+zV3KoG3u2an9Vote8/AiBYDiV34v6AK0xh0nGo3WTZoiSgNUi4a5XN5iGj9XflvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.3.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.11.tgz_1507589546136_0.6932776193134487","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"gatsby-image","version":"1.0.12","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.12","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"e2d35a97b81552cf597985378f82ea64ad9e36ee","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.12.tgz","integrity":"sha512-5u3qRbJ+tXd5bYD0P9a/9vYafC4WngSDUiYC8MClW1BdexQ6kID/wQCmZYaTAtkzGZF2QAhtwgLY1k598xc1yA==","signatures":[{"sig":"MEUCIQCZKMWPb/xTBJv+f0E7kKGPn2o8mZ1mMJNTSkiX2jNvCQIgf9vb09tGdaIM0D4s34f2MtbQ/mAJi/M1lvw4PriPT5I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.12.tgz_1507999586017_0.22156042838469148","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"gatsby-image","version":"1.0.13","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.13","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"ef708d8be33ee361934b676af686985686eb1cdd","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.13.tgz","integrity":"sha512-dH9cJu+avwedB0MDFvO1s7VlTRVahlkSlTAE1Zmzr93r4CfgBFV91wpnPR4Fh2orLeUU1+fa3bCsMfPkYEMibg==","signatures":[{"sig":"MEUCIBjCQ4qdIru35VvKHXTrpxr5EfHtGDBZGGQLSR060LAcAiEAv6gsJGMvrNHhMjZnSBRrfqK2LgQOY3LMf4pwxKFzcl0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.13.tgz_1508343020250_0.16992617398500443","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"gatsby-image","version":"1.0.14","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.14","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"09da3dcafaf98d6ba37dc404a97916e51508e65d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.14.tgz","integrity":"sha512-HDRoF36yXqNrMMy4ZavHvq5vjTyM/Xoe5RrC7z0/FwZgnG78AYx1+GQkenWChgyW1qCrRQ6BDVLctH0nzuoFzA==","signatures":[{"sig":"MEYCIQDR7YDN+uD/peG7Lwyft3OuIvYi48gg5PjTFViDEcM2uQIhAKeXFMvAMf9UdXdi6Rbo7pOBu+P1hoEsGYj9ARMCXG2H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.14.tgz_1508517247438_0.8328850851394236","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"gatsby-image","version":"1.0.15","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.15","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"98eceb7143d153b3d3dba23fd78d189dc654eb71","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.15.tgz","integrity":"sha512-oMUWwB9otGB2t5M+0roEeLF87jeZd4go1gJuWlnUDUmIfL2m8u/xuiRpfwkr6hulUIffyrEupmUNmbE+2+tA1w==","signatures":[{"sig":"MEUCIAh2RQFc8E0lSoAAfYAsom2VVQUxXT2v9mq3/ueTAcL5AiEAg7asAAMzhmAcnqHeIj9Rz1tV3vLrV79zbVedQp8I/08=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.15.tgz_1508962073380_0.8765101321041584","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"gatsby-image","version":"1.0.16","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.16","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"7cc437b1ea349b86fd3aeca7ab68a23db6ed6025","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.16.tgz","integrity":"sha512-d3Q1J5AY51YOVi+mzzOs+T/USubZCIPTVLPuHzVmhybJgOf8KbYPYGmtKmlOde1miJ4u1S+fH/uoIGBAozBdng==","signatures":[{"sig":"MEYCIQCLUurQrf4DmCT2yYpadnDtJI8q41A4QC8eI3QWTuC6OwIhAOVcRZr+jtVAYHM6DOXuqd2cvcbCyquJo+tVXFwJbUgo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.16.tgz_1508999177988_0.06617924082092941","host":"s3://npm-registry-packages"}},"1.0.18":{"name":"gatsby-image","version":"1.0.18","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.18","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"390a5fb1886f34dd0ba1521ac6ac5bbb93788e52","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.18.tgz","integrity":"sha512-QrimT6kfml/CmhYHftTjSj89nJTV2E1AHRVJ6BLqqyUeb5JZ827p8mbCfWVHyMkmbLmkxoU5JQh9r5VUUNdb2g==","signatures":[{"sig":"MEUCIQC89c9nMOdfboHqmRJFGbH4yiWZzRHYJNp9yYYEqvJz+gIgWDf8FRlBIHjOsIV8zc7kS+3vBpieTKPDezEtkzCEgaw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.18.tgz_1509568143422_0.7312954592052847","host":"s3://npm-registry-packages"}},"1.0.19":{"name":"gatsby-image","version":"1.0.19","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.19","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"39c5fcd3a54b479ea5405e86cbc11f07435451e1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.19.tgz","integrity":"sha512-8mD7VkxvEUFUABfz0KaKejW6/72xKm+9feckDQ9RUQfTnMEMUGjLuebWCehQXBQfaSJ5okBdwNswQgDV/wDt9Q==","signatures":[{"sig":"MEQCIDv4LmFqKGD6RPNPq5DXi9Fe08K6fpXQ+ng3y6t6r9NyAiAS1pDf7/yQHBE2Lks5Gjved9Yf1cVvDv47+atgbA1Nng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.19.tgz_1509646005614_0.5999609034042805","host":"s3://npm-registry-packages"}},"1.0.20":{"name":"gatsby-image","version":"1.0.20","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.20","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"f9eab7264d1d433841bffcf3ec0d4b2945873b1e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.20.tgz","integrity":"sha512-wkhRoM6DEM/fkxaJZeTEnaolYRRh6K8OYrbqOubflHQKkfVaS8Nx5rUKcURX0zYG7Q58rA8xfGwH+3zj6rZ9yg==","signatures":[{"sig":"MEQCIDhWN26lVoI6Spzk2/YDCLWs2kYCjzP96c3qeu+jZA5HAiBXYd1CITYc63j3BIVjIGdfPSX0aMU37JvCjvLeIQ1NOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.20.tgz_1510010061878_0.5469542653299868","host":"s3://npm-registry-packages"}},"1.0.21":{"name":"gatsby-image","version":"1.0.21","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.21","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"b12eee996a26490e05afeecf42c1da8d5d8dca10","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.21.tgz","integrity":"sha512-5zx69Ezo4cwwnRKCNQp1diaEUgkvd6xkKqRguyDqx+hkDCmnvwnc7WgjD4xkJN9h0T14ulEngxix5QKTyO5rNw==","signatures":[{"sig":"MEQCIGISnIWEWAHygvrx47Cz16wqkH2cxSDg6yNJH7bCl9GvAiAs6APraNGNX47izCukN55mCCnCHQft7kOkg0XRrsBRpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.21.tgz_1510042540419_0.6221362121868879","host":"s3://npm-registry-packages"}},"1.0.23":{"name":"gatsby-image","version":"1.0.23","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.23","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"33da30b62fa0e59cc4aa50d32be40d7f3c3b334a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.23.tgz","integrity":"sha512-9Lb4yW37x5rPxQPPwlidNRjoHUkeOdA3aVU1f//wsC5+USQR+MqGNPnBHKW50taR+ix5QqwHg3W8YpTKBRLstw==","signatures":[{"sig":"MEYCIQChbkifyyTqn5eet4N0pFGTzAIeUCusCn7ZTa/+FQrfTAIhALgvXOhHPskK/A3zg3/Td48ZuMkQGSdurdzKrkOJPB/O","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.23.tgz_1510203267348_0.3164367729332298","host":"s3://npm-registry-packages"}},"1.0.24":{"name":"gatsby-image","version":"1.0.24","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.24","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"f6c8bb7caa0cc9061636a246e588ec463570c7c4","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.24.tgz","integrity":"sha512-W/bJ0Q0sSKAB42dWNpEpr5DKzp3GWIErp9H1v01bE8/XuNqaeDJeIesDwg9oiNPt5+opLbPJHjWWhMQJVXIDCQ==","signatures":[{"sig":"MEUCIQDpUyutIZqdmpPadkDSqt4l0SbvWQK7vjXGUieoYdB+wgIgI5R3US7UeeXQY7i/Sn0/W5msqXyLTcyRPJzmwLDr0MU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.24.tgz_1510205710265_0.6502204367425293","host":"s3://npm-registry-packages"}},"1.0.25":{"name":"gatsby-image","version":"1.0.25","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.25","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"701c134d4ccf81e107169d24059c947b4a7da9dc","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.25.tgz","integrity":"sha512-R6o9zsOt2bnOoFH9y73zngxSLZwfVgAlF/Pi0lYEqyLnyIY4yPnBJS6EwOrQEhnDC6nONf/tCP/DQ6qYey4TUw==","signatures":[{"sig":"MEYCIQCUYGOrHhzQpuG0TA60bGEKxYtxGH4t9AbyF+MREdsdKwIhAIFtCwB+nIBZS9e2MXwqT69me1WbWeJfaqWMyRcpHy78","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.25.tgz_1511910689952_0.7325003086589277","host":"s3://npm-registry-packages"}},"1.0.26":{"name":"gatsby-image","version":"1.0.26","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.26","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"2097cf37dc12990ae0ec16c29d58da9c46dace93","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.26.tgz","integrity":"sha512-RVWI4jVq5u3WMwxtFihZqCeALN7ipMKMNARp18nD6bGAR1z6jjCKRym7ZO3uirnU7DsRl3DofZlaAzSJ5KizaQ==","signatures":[{"sig":"MEUCIQCLoRiG+AZ4C9wlPYgvRQMG8X1T3hn8vtD/p5ieTK3kLgIgccWD9yLjrKGPMckCY8rMysGzD8U7/q41kQyCiaFdwLA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.26.tgz_1511912253712_0.37458538194186985","host":"s3://npm-registry-packages"}},"1.0.27":{"name":"gatsby-image","version":"1.0.27","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.27","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"d1543b003b0836219780651dbb13108dbabcd771","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.27.tgz","integrity":"sha512-XdZoG2RTnsGeuRlod7IxltgcnsuiAJ0CXBm9wz2bu22czl810SKCJHXMvsBr5QacX/xBF5/JYFP2/3K5ljFnKQ==","signatures":[{"sig":"MEYCIQDx79t2bZIeVmdsJDOyQT3IaPdMeMjOmT4v5KIf/DeucwIhAOCtu1JiOSqmGpWOprMK1R3UIWvP3lFvfUrEjWoaqMOZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.27.tgz_1511914143775_0.4977829058188945","host":"s3://npm-registry-packages"}},"1.0.28":{"name":"gatsby-image","version":"1.0.28","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.28","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"4ea0468c724e04e1a8e7291ae2939492c1c4ff30","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.28.tgz","integrity":"sha512-+cYbkulC8B6JnHp2tT2seT9qrEWg9UwGTDoXxn9iMBNAodZI36zUhk+I1q2XXWBq1gKpVG3G75h6SN9D0w58cw==","signatures":[{"sig":"MEYCIQC98VM1gG06j0bc1mnP8UYHTcYyR7xtxhxUx1JvutrUqwIhAM65dDbAd6mlxBy3TP/LF+87U+80Nrqi/0+9iQacoyGL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.28.tgz_1512866711039_0.05432234122417867","host":"s3://npm-registry-packages"}},"1.0.29":{"name":"gatsby-image","version":"1.0.29","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.29","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"5c07f7102341943fdf202b55cc9c43e8ad3b91e7","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.29.tgz","integrity":"sha512-uwovzgMGKFhZO1Rh4P/M0ZO27Niq7Uqgqdr4kmfrmcnOGh12OjKqx9kd0Qa7BbBYlGN9VVoMGmeN43rGEcp98w==","signatures":[{"sig":"MEYCIQDVPDxY0mUZt/EOMbq7GnS6+eS94z48tmHm3kDzulX+LgIhALO5Ebc2IQ7DcLlm9HrTX6mzObxjgJbUPGvBaL/lNMQP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.29.tgz_1513134468120_0.8663725790102035","host":"s3://npm-registry-packages"}},"1.0.30":{"name":"gatsby-image","version":"1.0.30","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.30","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"013c1d746309a8746d3bc3307b889c6670d1565c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.30.tgz","integrity":"sha512-/G+6YcHrRYlTwxtg5pGgtZbntV3nL2ZR3841eyhNiQ35sOokf77kBwTvxMgg2ofLAPv/xI1BahlLTFVNOJOm+g==","signatures":[{"sig":"MEQCIF6BzvNNOe6KGstL7TR7oGjigpyAL6VDYNlQPUGosSf0AiBWjFvOLHUzTxWLNM7a0OiPDA4YROoojUWU2EhA+Ux5AQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.30.tgz_1513281477080_0.11135325278155506","host":"s3://npm-registry-packages"}},"1.0.31":{"name":"gatsby-image","version":"1.0.31","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.31","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"7f5c1ad428bfb0773736d4c2b353dd9d7dfcc6cd","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.31.tgz","integrity":"sha512-E80Mxu9f73Oq9kgXBFgsdWAXNElki0k9URZXx6dVPkMQzdQvlcaIP8vXSgP22eCwK+Q4m/13qUhfw5gxsp3nUg==","signatures":[{"sig":"MEUCICNv6UurJHJULctrQ7gaD1+9w3xPYUp2lYmXuwso+IdhAiEAxumEMm/WzJBSiVT/nG2AdQYzWS8+sVIJRHuhq2o93Kc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.4.2","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.31.tgz_1513812353855_0.9352463677059859","host":"s3://npm-registry-packages"}},"1.1.0-alpha.f20ac0ed":{"name":"gatsby-image","version":"1.1.0-alpha.f20ac0ed","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.f20ac0ed","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"5edfc61dfa8af2272acc0ff93afe94d8d3dec278","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.f20ac0ed.tgz","integrity":"sha512-v37vfw8MeKRV9P1Y9lMxO16PQy2/fLG/yQ2NamAKlCZnx0o+L2TwCKMtxP6r3GtWTQUkqtdwQYOPSxumbkmaPw==","signatures":[{"sig":"MEYCIQC5935w5rsbf6E81aeLuyTC+jCyWrRmNjUQVWh5d8dh3gIhAPtd0en1Nci8fmsrBBLwJq5njXI4PhPh20FN5/MFhhyB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.f20ac0ed.tgz_1515695538825_0.8392366219777614","host":"s3://npm-registry-packages"}},"1.1.0-alpha.a0a09c94":{"name":"gatsby-image","version":"1.1.0-alpha.a0a09c94","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.a0a09c94","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"96bf006aed50d85a379fe2c102dc86a2a8d55ee7","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.a0a09c94.tgz","integrity":"sha512-+Yz0Ty5nGy7T66/REWCvtK+Qch/MG9aIrkuNQVo0gt4w6WamRI03MGnrmqfWalbWU7XZ4Xwd/bdgM/c/Bk4KnA==","signatures":[{"sig":"MEUCIQDqg/XFjZOEcu1MfEupilij/Tu+oAZSAjvNw1i7HmpR0QIgZTe9cjuSMzCPhkEVDYT68rLkDnbmo6SchHZZEY6Ixyo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.a0a09c94.tgz_1515696451571_0.19881973857991397","host":"s3://npm-registry-packages"}},"1.1.0-alpha.b50f2063":{"name":"gatsby-image","version":"1.1.0-alpha.b50f2063","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.b50f2063","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"0124a0387817680196a63725488006af3443d819","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.b50f2063.tgz","integrity":"sha512-C2E3KMNM+ZBD78X6ArA/Zlv6D/YOggihBOALf1kMbQBYoM2tppESFAqbX7bkgxOovIbRcML1827AJTGXYUF7QQ==","signatures":[{"sig":"MEUCIQCKkoQTIQlXGEElgvLETgmVGeCuBvLIUo5xUpxwP+oyfwIgcL+Dig3KponT75+orGD2ShZN860dllKKM0xHY+5lSNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.b50f2063.tgz_1515696875738_0.12846874934621155","host":"s3://npm-registry-packages"}},"1.1.0-alpha.03b9df85":{"name":"gatsby-image","version":"1.1.0-alpha.03b9df85","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.03b9df85","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"0be87f87bac3c5e99b2d3776306c421c3fb56b91","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.03b9df85.tgz","integrity":"sha512-4OICvjsmhcKvBTUv/dN9tj/EgxM+s8DopbUs9FUXJS2n+q5gOjhvxwRdKc3w9tGbMPEoX1YDuMZxWuzJEvRUGA==","signatures":[{"sig":"MEQCIF0PsrT1/urbWeALFiVqld3YEOTM8B5J/zp9pSnP49lPAiACYkqY7LNRUa5up0EuG5F+nNpiMiZXzqR21PznhjPSMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.03b9df85.tgz_1515767740999_0.18967864965088665","host":"s3://npm-registry-packages"}},"1.1.0-alpha.e9df8e57":{"name":"gatsby-image","version":"1.1.0-alpha.e9df8e57","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.e9df8e57","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"8a94e7830106d72000673ba83975c129bbb8ea9d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.e9df8e57.tgz","integrity":"sha512-LJ1Dq9mRN0J7P1OH+s6ZXyg7gEXLdvA8Hip2dtJWr7PzMRewHiaeqQKcr4vIlwL5D6BdsFtXnDulMm7BfmBw3A==","signatures":[{"sig":"MEQCIEf96pP8zmVoa3I52hluOaIPVYpkgmxdxTfVDvYemlMQAiBJ8ke0q429UuCZAKYhwZOqSGSnkqXqr8xk6F7f/ua4Qw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.e9df8e57.tgz_1515768418627_0.39179855352267623","host":"s3://npm-registry-packages"}},"1.1.0-alpha.8c822451":{"name":"gatsby-image","version":"1.1.0-alpha.8c822451","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.8c822451","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"f480b355dbcf0a23b969fda9102ff7961533ee20","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.8c822451.tgz","integrity":"sha512-aDIDtv1DGXOWC8KJyMGfP4+gHTne/fAkdOStMymN/K59ScYKYRdFPPbXDvWd+kcwSWhLPCR5sVVapYOkJt/jnA==","signatures":[{"sig":"MEQCICvFlGiRTM1uHBePkoRMBfexTVgGTOutQB3S7dxnRlIRAiAlTmeI5/QK0kA0QGdXrwq53Tl9XNzbEubwmW0MIbjETg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.8c822451.tgz_1515769230032_0.6886506895534694","host":"s3://npm-registry-packages"}},"1.1.0-alpha.e5586916":{"name":"gatsby-image","version":"1.1.0-alpha.e5586916","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.e5586916","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"1c4b3cfafff5fcdf3538110ef5f6b0f7b07ae095","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.e5586916.tgz","integrity":"sha512-tmOIOBSGcxWnRrH0vk16ekJHDk7hpPRTukcAQwM3zJnThIRrrUiskljvVPa2NlMCKsV8TAGdbE8ZcMa0zPdCIA==","signatures":[{"sig":"MEUCIC2stfe5+aee4Z5a7P0ArCIDx8CW36+S6iUrTgPpYjsFAiEAqzij8CI6oLGR0hQOKJaQfXi199c5L4hnN272kf4QADg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.e5586916.tgz_1515770517992_0.09637128165923059","host":"s3://npm-registry-packages"}},"1.1.0-alpha.9da1bca1":{"name":"gatsby-image","version":"1.1.0-alpha.9da1bca1","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.9da1bca1","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"b7f53388b3b881996570a502647fde80181be508","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.9da1bca1.tgz","integrity":"sha512-7iiSi+T7u1qKJyNaA6xupjzK6xyTd6xFlkiX6ad+HVRkpeLPMXbKWthE0VzDQGZYjJvII/6UpTKnADSMqVUwfw==","signatures":[{"sig":"MEYCIQCoWVXgfMT6LqibhF1+ztr2Uu4zakatkprwntqPOKIpSQIhAKyT39w5u0EvDmsDTlqnkGL3UmQl1qHbPlTzjIoabCXh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.9da1bca1.tgz_1515780417370_0.216348271118477","host":"s3://npm-registry-packages"}},"1.0.32":{"name":"gatsby-image","version":"1.0.32","keywords":["gatsby","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.32","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"e03bb8c2a3a05098c122e28dd91373e645c21e07","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.32.tgz","integrity":"sha512-Q1BHAaXBSKsiSW0qrFTFslXLNjdAuehAjCJQAJ2GmCowOjekBzhFcBxhJmSICLD81zWE+ANFn2svNSEjZonhrg==","signatures":[{"sig":"MEUCIQDZUL+yvLOypW5XqreAGAkaPLwveSus9CHVg6MrDnF7iAIgeBXYMihsqC9mhH8XCFJiQ4NHrbEsruTH5vTKUeeEVr0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.32.tgz_1515782294662_0.5652732581365854","host":"s3://npm-registry-packages"}},"1.0.33":{"name":"gatsby-image","version":"1.0.33","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.33","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"eadc5eebc4f0f2d98b1dc762eb35dec0c6197e0b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.33.tgz","integrity":"sha512-JI+YHBLHgI014mtmNtt50D2ImvO46kjLunlRtq++dNcaOg668nlx9kXWiKxKgC4LemOV/Ufup5+gMA7P7N7B5A==","signatures":[{"sig":"MEUCIQDdTP3MSoTrtcNeN/HB/OAnFtd6PQ8NUeQvwJ2OucK6BgIgCY4h6xigTNeBJUw+YrScakuFhvVazIkHWOyyOOTnYdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.33.tgz_1515805396148_0.8206437649205327","host":"s3://npm-registry-packages"}},"1.1.0-alpha.aeb05561":{"name":"gatsby-image","version":"1.1.0-alpha.aeb05561","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.aeb05561","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"628e91624c392a414c0228c71b5cd5a795b7a53b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.aeb05561.tgz","integrity":"sha512-2x+4afAlkWoT3k6YZpz3xAew/U+5jE4VsZ7Zx/uwYhb9X08Q8CIZz5VIkFhV5liyjCndqTiVOunaKdiOGaqiyQ==","signatures":[{"sig":"MEQCIGUkrdgp5+/ZlxUy58hMusGkFTuqhOdBSsHZedntVBQ1AiB5D9svAJr+1fnl2zn+BBpm9P9+2gbLnsOB+Hin/16Kbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.aeb05561.tgz_1516240351599_0.00041024433448910713","host":"s3://npm-registry-packages"}},"1.1.0-alpha.7b47e00d":{"name":"gatsby-image","version":"1.1.0-alpha.7b47e00d","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.7b47e00d","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"bb34fb2273deb59c0869cbdb1c6135872c0f1b8e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.7b47e00d.tgz","integrity":"sha512-dGnutDL0Nbsl+SKVYKk/aazcoPL6HdpzJYTnsPFeYUIfhXV3/yTkKR4vVwEIDhMjj+VB+ORSsBXxNZx6YmPuJw==","signatures":[{"sig":"MEYCIQCjgDCt78VD48SapUqgiHr2iuXmpY8fFIdI2+OCaY8fSwIhAMixGqOwAch4PW7wpD+6n2StN+DCd8z70MFX9XyyGdWw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.7b47e00d.tgz_1516241381171_0.4118400055449456","host":"s3://npm-registry-packages"}},"1.1.0-alpha.f5c1df61":{"name":"gatsby-image","version":"1.1.0-alpha.f5c1df61","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.f5c1df61","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"34a2717a1db786471eac6482171e7b59ad7cf3c9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.f5c1df61.tgz","integrity":"sha512-bJ+X3RSG0aukBdTcv6YqchOJ6zo3KKvxRgdPiQTI0WC9VJ/Ln+r5aUe6VlLP9Et+IDwvETc6R6TX2zSfz1+lqA==","signatures":[{"sig":"MEQCIFJQG0i2rFIK2Myn+40WpP54lTMOiCIxvcbDEft9E96GAiBjRN1EKibi2FLY9QGg6TZcetETrDOVK5WP7aKnyn2pfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.f5c1df61.tgz_1516296590603_0.56463623046875","host":"s3://npm-registry-packages"}},"1.0.34":{"name":"gatsby-image","version":"1.0.34","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.34","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"340c53c740d6ac8e0063e2ca05f33ae4b37dff8b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.34.tgz","integrity":"sha512-iWSYtIeyoF9dVqDodACw1phjoD3/s7apOL+jcm0AzE7/ry61DjzzRcqdpVlVFXinU6ukqYtQJcu5HaIrfwKAnA==","signatures":[{"sig":"MEQCIHsJkWSKogJubCldDo3vWJoAQBLFlXtVrrkPgRf+cV2vAiA1QUlmxwpKcMeomOurc1BvCuQebvj6pW+NwD3xe6EfKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.34.tgz_1516370034471_0.46911916602402925","host":"s3://npm-registry-packages"}},"1.1.0-alpha.926cb6da":{"name":"gatsby-image","version":"1.1.0-alpha.926cb6da","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.926cb6da","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"708645be81c54eb38868580b0f4102a9db2e491e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.926cb6da.tgz","integrity":"sha512-lCELOeJuOKMleO4Di5jIh75DsED6kk3ckgzeZVDDm/pot7WOGeUoizMkFs1f+ma7UHUaNAb/lCuKxZlo0SdetA==","signatures":[{"sig":"MEUCIQDVWdJhbgfkVD617UGbScFaZEFjwGRfLLadtceYa2uOYgIgQYNbT2qInuRvAaIrFCTH2rHqC3Xj0q0VBdMIMUvih6w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.926cb6da.tgz_1516498912352_0.1419297584798187","host":"s3://npm-registry-packages"}},"1.1.0-alpha.3f307d61":{"name":"gatsby-image","version":"1.1.0-alpha.3f307d61","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.3f307d61","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"e11d760728937154b7e5b7f157dea4021019d350","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.3f307d61.tgz","integrity":"sha512-ou9ikEiXwuqn/FVjRtdcwp8zALVDHmDaAUsq1OLmqYO6NVVgN3B5/S8Fw5Vh3WlSZzz/NvEFLCVXboU22fWWMA==","signatures":[{"sig":"MEYCIQDAA56EmIAIG+kRLpk4jaeEaVnVkV4IXYIaBuTSjXZXcwIhAKcGwEgZnaYtZ2RkriITK64mPzKp+sK5qG1VaCz4JfXx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.3f307d61.tgz_1516501343969_0.3638623836450279","host":"s3://npm-registry-packages"}},"1.1.0-alpha.d1544e1b":{"name":"gatsby-image","version":"1.1.0-alpha.d1544e1b","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.d1544e1b","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"0f1f9c97c474d07e85ccabeeb14f88f4b820bb9a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.d1544e1b.tgz","integrity":"sha512-kjvROH4PTOZSpjexEhzRr8VbjDj1mW9za92SnE9VlrcpxwDeR/LJTmmY41zYRYH7ChiiCDMWUwVwC0mD81ybtQ==","signatures":[{"sig":"MEYCIQD5Eea3dnY3PnBPfDLMDM/Y3zg9r5IvSvKxXfyr6SWZEQIhAKbeG3HyAPmgPeXRprHMQQ6jw3Q/rxvORExA+YGUhTHR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.1.0-alpha.d1544e1b.tgz_1516839226744_0.3654453349299729","host":"s3://npm-registry-packages"}},"1.0.35":{"name":"gatsby-image","version":"1.0.35","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.35","maintainers":[{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"582154e59aaaece4eb354336428fa7840feae85e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.35.tgz","integrity":"sha512-LbSkWLAaBUSeXefwZ1hSplEZaZBuUmV7BysSqmAsofWhV/yOOLE9SIkilfvnm8CTML93O5PhtL063A1pVKjT/g==","signatures":[{"sig":"MEMCIFVUE0GPymU8M1rgyfYG8ocPHQV2dITR/pthJTJ8pitOAh86LCPd65VyWFK5UzAMgzT2rwlQDF4hhY4pOb4gDZFw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","_npmVersion":"5.6.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"8.7.0","dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image-1.0.35.tgz_1517889635686_0.38917273795232177","host":"s3://npm-registry-packages"}},"1.1.0-alpha.53bbd4cd":{"name":"gatsby-image","version":"1.1.0-alpha.53bbd4cd","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.53bbd4cd","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"dist":{"shasum":"46898970dae9c0b7a53ca11188f74565863d9412","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.53bbd4cd.tgz","fileCount":6,"integrity":"sha512-JuCHjdb/00DxBjB2sc/XvYIq1AqZDvgvE5ZW8Y3uBUu7WDQyhP0w2YdsNcgiV1QDGuTZMDS2NSHFccZWcZn83w==","signatures":[{"sig":"MEUCIQD+6qS5SCrMqYY7d6CLIpXJktJdrY7LVwP4kaVqXhWkKgIgK8tEpo9WjnjbdAKGiUkptLushm6nUzObxqPMMH8rYrs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24923},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper div. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper div. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper div                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__/**","watch":"babel -w src --out-dir . --ignore **/__tests__/**","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.53bbd4cd_1518294844885_0.8336972145458816","host":"s3://npm-registry-packages"}},"1.1.0-alpha.2b695217":{"name":"gatsby-image","version":"1.1.0-alpha.2b695217","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.2b695217","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"dist":{"shasum":"93167b1759937ccfb9025a2dca92eeaf426c1ef0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.2b695217.tgz","fileCount":6,"integrity":"sha512-JLUIVoUqHGenQVJF/GPg1DjOrXcJm849cYBg8bRwAJ++eJljhBsXVVHUMz712JX/X7T2VwplzocwnMHxIWPDYQ==","signatures":[{"sig":"MEQCIGD/P98D1n4yeNv4S5ZS+wSyBMzbkbMdWHkJMIEMOWRQAiAc5pREuAFWfm0yQrphCgUtuONQdeLbFwaKaRjamfDdjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24923},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper div. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper div. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper div                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__/**","watch":"babel -w src --out-dir . --ignore **/__tests__/**","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.2b695217_1518302175341_0.7066481741395434","host":"s3://npm-registry-packages"}},"1.1.0-alpha.32ef58da":{"name":"gatsby-image","version":"1.1.0-alpha.32ef58da","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.32ef58da","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"dist":{"shasum":"366ece4baa0ed2458add5b7ff9a811ba08baa203","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.32ef58da.tgz","fileCount":6,"integrity":"sha512-mLdmNeaKfDTlNkFj5/PEQMQfHsApUTiMJGbyi0VXp4g9fRyAjYIj7wGeMUKY16x+plSBGD+8zQUGzVAPn9otig==","signatures":[{"sig":"MEYCIQDU8O2Fi+dQFRbFNPlFzwDV1Ar8QC1btdoHXAv4e2atTAIhANi9YvhQmuyQzov0DPMeE32MfLzdef9GfjB1sWaIt1mi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24923},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper div. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper div. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper div                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__/**","watch":"babel -w src --out-dir . --ignore **/__tests__/**","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.32ef58da_1518320650621_0.8949729649708682","host":"s3://npm-registry-packages"}},"1.1.0-alpha.5182142b":{"name":"gatsby-image","version":"1.1.0-alpha.5182142b","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.5182142b","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"dist":{"shasum":"6470e2f57e6fd636d9a03fbf1f194d6e7fd28982","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.5182142b.tgz","fileCount":6,"integrity":"sha512-/MDIfbJz7oEpzyyGsvG+KpiTVHlVf6K6PIijm23KvFziGKRKY/R9DO3ZM1cm1eEI09+dtDw2h15wyjOWyRQ6Jg==","signatures":[{"sig":"MEYCIQCV2QATSUKxNsOuxRgzyIU/4HawDgf2KpWyiJhl73hcFgIhAI5pPPOvZLPipHkDvbaN8ryJjejKTde0VlUuVfygigCe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24923},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper div. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper div. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper div                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__/**","watch":"babel -w src --out-dir . --ignore **/__tests__/**","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.5182142b_1518322311382_0.39160440282206754","host":"s3://npm-registry-packages"}},"1.0.36":{"name":"gatsby-image","version":"1.0.36","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.36","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"7aeace1c9e463ad9a145c94cf20be8cca9c0e382","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.36.tgz","fileCount":7,"integrity":"sha512-Rv18jWKNH3+/oDcpDJA7c2voTHWyYEOBoQImvh9T30E1VF4PvnrCPP7kDiayYEBsQFaZa6Pw3/qRHi1YB2CWhA==","signatures":[{"sig":"MEQCIC7ji7PI5RxsSVqC1X2JYQ/Zuc70mee03P0lW86w20BwAiAAo78Yx/n1WOo2wQJYecCYvsLShFDNCsN0CvLdjv79Yg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26264},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.36_1518484289235_0.29133640990573073","host":"s3://npm-registry-packages"}},"1.0.37":{"name":"gatsby-image","version":"1.0.37","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.37","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c3b2dc7d843cab078b516729d6f92f9785f31210","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.37.tgz","fileCount":7,"integrity":"sha512-1aMsyMM5DRd7Uz+SbQ/0/btle8QeciD3KsVd3ROHZXkh44yWurT7a2UUSgoNoYsYlNvJG5GZCWgkU+sB3YNORw==","signatures":[{"sig":"MEUCIEpdQKzKFOF1im/QXF0f1H9zckYyLILFqlfviUrqh/IfAiEA7I8tgESCRpItDIwtsjlzMuNISQd2PftV/xnqE+G310s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26928},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.37_1518566262972_0.12030767565832501","host":"s3://npm-registry-packages"}},"1.1.0-alpha.6ab84875":{"name":"gatsby-image","version":"1.1.0-alpha.6ab84875","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.6ab84875","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"dist":{"shasum":"e88e39a1128ea02b9ce977c960f68e3ad3cc872e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.6ab84875.tgz","fileCount":6,"integrity":"sha512-/KrUiMaFt0hFYJ+71sOxhC4ZHEdVEScRv4RywocR1OMaGBuFZsROxP6s7+rMr7Zlndp2jHUbo41wrsK2yjXFXA==","signatures":[{"sig":"MEQCIDWgZFoMDxYP/LoS95hwN1mAiH0Uu8/l9JTVrrBXRr9vAiAdmxne/lbKdivHH80/O+CLGB+s2arHY9SbOT/x0wgmMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24923},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper div. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper div. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper div                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__/**","watch":"babel -w src --out-dir . --ignore **/__tests__/**","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.6ab84875_1518660370920_0.5124869119536599","host":"s3://npm-registry-packages"}},"1.1.0-alpha.9d4de2a6":{"name":"gatsby-image","version":"1.1.0-alpha.9d4de2a6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.9d4de2a6","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"97660503af8f3836fe01dd36a9d1f8d74945db5b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.9d4de2a6.tgz","fileCount":6,"integrity":"sha512-Y6Rno5KgozlJvMWJQl2gKrd3je3UuA+9kaIm1yIKZ+3fNgr2vu5VhsdULXwItpQnR7huuYxIQ2vmPLp1iiX52Q==","signatures":[{"sig":"MEYCIQCFvNBMsZe/2Wc/LMjw9ayuizBleUgP0Q+dJ6jwvkkxcgIhAIXe/0M1bKRbzUI/sbPWNWM4jSsZmdWJEw8T95j0zA58","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.9d4de2a6_1518726713126_0.4546497556339879","host":"s3://npm-registry-packages"}},"1.1.0-alpha.1a8f691e":{"name":"gatsby-image","version":"1.1.0-alpha.1a8f691e","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.1a8f691e","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9f5bd67e275e434dd96b39dc1ae64096c6c3ec57","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.1a8f691e.tgz","fileCount":6,"integrity":"sha512-Nh5vGNsO772FXQUSWwuWWk/betjFZfqJ4HD6JtKV0+yUMo51OahvpDxw4dPqMivb2CZ7N8tVcIh9f9+R2fweHQ==","signatures":[{"sig":"MEQCIEfvWC0wtELiVc3pnjTl9qM8hH8fhKbgUFDNUws1aSCWAiBJj7oHgBFRoNHXqHPEhJ0rahxiE/7SZ8AwMpxnjqTwaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.1a8f691e_1518728431882_0.4974956749332593","host":"s3://npm-registry-packages"}},"1.1.0-alpha.9e381f74":{"name":"gatsby-image","version":"1.1.0-alpha.9e381f74","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.9e381f74","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"22bfec37352fbaeed8b993d1945dbd62c4062fd7","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.9e381f74.tgz","fileCount":6,"integrity":"sha512-fZaAnjhXKj8IfPTKcVI5SVd8+RRcXP/0VJp64E0PbsWpc8CVoZlNqfYJo9Qzs4bJL6dIcGjy4RXVckvGzlGetQ==","signatures":[{"sig":"MEYCIQC0iWb0WYj+y/sQRzmDb3Z6fH1XVvLwaYPbn2RstOklbAIhAMn+hJ+x4XtJIEJ9KXj628C0D582u1WI/4BAzslZdeXv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.9e381f74_1518729128208_0.9795930629927136","host":"s3://npm-registry-packages"}},"1.1.0-alpha.dd504153":{"name":"gatsby-image","version":"1.1.0-alpha.dd504153","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.dd504153","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"43ae3543d9abeb3eb03f248ec010e60aef616ceb","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.dd504153.tgz","fileCount":6,"integrity":"sha512-G7kCKUYYJUC5WbAkMucHxE5m2F8HmbShLJyuZeISrd87coiupZECcgBnC3WsKvipuMJPAN6/bPV21uftspy/LQ==","signatures":[{"sig":"MEUCIBWO76ltbKt4dzy8ATkE2L9dzr27S9gWbOXbaMCZf+v1AiEAwlN6FfymCjzfTzlhEsq8fAVObiwURnbV0upq52Q2xuY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.dd504153_1518730139747_0.9477126731601859","host":"s3://npm-registry-packages"}},"1.1.0-alpha.b68b7f5c":{"name":"gatsby-image","version":"1.1.0-alpha.b68b7f5c","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.b68b7f5c","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"db2a708a0512b446278e38eaa1e212d78032c88f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.b68b7f5c.tgz","fileCount":6,"integrity":"sha512-NlOUxzERViFVSA5XCDFhM7MGjVEcyMDSl7W57JfPocEi/g52OMEdKkRcyYwPx67xd/UQrrDXSk5NZ9XVR2/4iQ==","signatures":[{"sig":"MEUCIQDI5Cujo+KRqTGIWUbVNaSOhRXDgODzsSFXKFTMnv7JvgIgJdBBw2sHI6craeiOuGB9L9oDbe+qFfyi5suDnKnmSW8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.b68b7f5c_1518732009711_0.7498334413255552","host":"s3://npm-registry-packages"}},"1.1.0-alpha.bb258cb5":{"name":"gatsby-image","version":"1.1.0-alpha.bb258cb5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.bb258cb5","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f5cb508bd6896fdcdad4d303ca56a2c9f8de9c98","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.bb258cb5.tgz","fileCount":6,"integrity":"sha512-gp/vQXegzDpM1wBZM9fSPZMIUUD370++Cnyr5BZJJS4MeKMZoK1FfqsC3imqA5LTJjvYWhcF2pNmnbbgqrSl7w==","signatures":[{"sig":"MEUCIA3jZTeI1onTH5r+EtU5SZl8M1IUUiFnZRDzHzCO1YAVAiEAtaWkYWQgj74g89T2YoXElc5rgsz2cW7h8TFzDA4PUAo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.bb258cb5_1518740951478_0.07475813254750596","host":"s3://npm-registry-packages"}},"1.1.0-alpha.e28a1c8e":{"name":"gatsby-image","version":"1.1.0-alpha.e28a1c8e","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.e28a1c8e","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8772d0b3f52c15b0c5549fcbb785a49978c25133","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.e28a1c8e.tgz","fileCount":6,"integrity":"sha512-3xo4g5ZM7iuFO6rkkpdTJVYu2Rz+4p6QqicrB4+Kf0OKfW4uipZkW+LSFNqb6EYNud4hbrachsWeEuBmcDlUsA==","signatures":[{"sig":"MEQCIEHb22jbfJG9+5PrqggrjiMNf97JwBC7S9CkM0ECrTLyAiAuxTbG2Onwge/X7/fIlGXL3gF6a+V+5gyQ+vBCTYXc3Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.e28a1c8e_1518743442880_0.03059685901039111","host":"s3://npm-registry-packages"}},"1.1.0-alpha.067e672c":{"name":"gatsby-image","version":"1.1.0-alpha.067e672c","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.067e672c","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"1e21a3a3dfe02780ad5cb785a08bd2679f812796","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.067e672c.tgz","fileCount":6,"integrity":"sha512-cSZ6Z0OWTfdUTaUFNtMpOXvLlDuocUEmNk3I189rKvucoLpp2TBNM73fOHhu5eAJRz+TVGqtuXtFrIyQU5iNpg==","signatures":[{"sig":"MEUCIQDGOx4+5e7aHbSwGtyiMpEPyDrQSpBOP+8fDeASiLObJwIgR7q0uK0aorKOlKZ9WkcdhPr5TrDMmgzwp2G95yRFrhI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.067e672c_1518835482750_0.7564319250470413","host":"s3://npm-registry-packages"}},"1.1.0-alpha.d0b8dd9e":{"name":"gatsby-image","version":"1.1.0-alpha.d0b8dd9e","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.d0b8dd9e","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"74f5ead8d4ecdfd57265eb24bf097336cd6a0586","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.d0b8dd9e.tgz","fileCount":6,"integrity":"sha512-2E3BdV84NfzIcG+vFd9X31RQBnOPmjaK7USYsGaGJ51cmbhwTAQ95g9bmHntfTpuwevm7SITt5++4Qd8/622vw==","signatures":[{"sig":"MEUCIQCaDlHPVd+3Tzr1fyESDZdDNQIOqJ57rXGUQWoM/PoZcwIgZjYOOxtbGjp/6T91LRuvb9V3h6HBVA4YIjdbRQ2AXl0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.d0b8dd9e_1518894283212_0.4902023485529112","host":"s3://npm-registry-packages"}},"1.0.38-0":{"name":"gatsby-image","version":"1.0.38-0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.38-0","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"623296cf0deda72b57a9cfcf9160666bc3050151","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.38-0.tgz","fileCount":6,"integrity":"sha512-wDihfopl8n9elfP41Y4+UxaOizQ9pqjwAK9et56g/Uf+PFxAubISVJd7YMKNCF8ZUZZL/ZUMR2fP9arYWNVVhg==","signatures":[{"sig":"MEYCIQCMmVvktYjfjPvv+1ngaL/KM8jQE23oGjnE+cNXAPhIEgIhAJYjH7FrEbJ0E6+d4kmISkniGUbwB/knIoVqUvR91iuO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25991},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.38-0_1518895833243_0.8414450827206261","host":"s3://npm-registry-packages"}},"1.0.38":{"name":"gatsby-image","version":"1.0.38","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.38","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"1d01e2defe9b5dc9eb304479f21922dae2096831","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.38.tgz","fileCount":7,"integrity":"sha512-pJcjwx7pUy2c6PdSPch3qTO3UT394BpSkkjp4wtUVRXjDe9ZRgfDdWbCl32HCA8+XDghQ3Q7bSOCkrIXqFxgvw==","signatures":[{"sig":"MEQCIAEACUJxIwFN1uZhdBNHSJmtOjaGTWIxFQrm7XReGXdZAiBOOIjpW0K6AWQwaJSqrEmlb6/J+TI7GplGtuMvOQvrmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27037},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.38_1519082933151_0.6278097498371515","host":"s3://npm-registry-packages"}},"1.0.39":{"name":"gatsby-image","version":"1.0.39","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.39","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2e8fdab8138e5d36839398874e51783e72e6dedc","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.39.tgz","fileCount":8,"integrity":"sha512-tY0Ny7NrqeUdp9QrwEYWJGwYFYRgIM+ykiscGCqOjdDB9fjdwpLSrYuETVI7iVodHDZ6pQfEoEiDIz8n3f9/uw==","signatures":[{"sig":"MEYCIQDKK5PrEuHZX8sVDxTvYLL3B0rbRypDcK28Q+LZNGxoBgIhANWz0P376ziGHOkT9c2Bt2/cNDM9iDkMhhn9Qcc6YUvX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27528},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.39_1519342626196_0.8410774198990025","host":"s3://npm-registry-packages"}},"1.1.0-alpha.e66c6c9c":{"name":"gatsby-image","version":"1.1.0-alpha.e66c6c9c","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.e66c6c9c","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6a499c906de31ac51c5846b3cd6156e28cc18f6c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.e66c6c9c.tgz","fileCount":6,"integrity":"sha512-lzJp+g1iLO8I2l7noAPGDc+NId1FeIeo/C3Ha3R1n269arGh7+DqVaIWbZCn41ktrjYgCaee757es3dff+ACgA==","signatures":[{"sig":"MEQCIGVAuZKcdAx3QQm7V1aGbQFkZATy70C2i4TGv0I0Qzu6AiBBfQDlgS+5aHoZxcYX6OyKO0l5UqSVYwtvoYnVBqOxMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26003},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type             | Description                                                                                                                 |\n| ----------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`         | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`         | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`           | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`         | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`         | Passed to the `img` element                                                                                                 |\n| `className`             | `string\\|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                    |\n| `outerWrapperClassName` | `string\\|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                              |\n| `style`                 | `object`         | Spread into the default styles in the wrapper element                                                                           |\n| `position`              | `string`         | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string\\|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`           | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`         | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby.git","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.e66c6c9c_1519694658424_0.6185109013213048","host":"s3://npm-registry-packages"}},"1.0.40":{"name":"gatsby-image","version":"1.0.40","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.40","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"473b77cbabd123d0d988934dd0fd67141310e996","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.40.tgz","fileCount":8,"integrity":"sha512-vaj7XtQi1rYpd6Fm+tYRNoBWmGs4TgkJhPPbUOzxM0Gm026NIM3H5Inr0pPZ6qhE53mZvoUU0R2+KK9mRtXyBg==","signatures":[{"sig":"MEUCICBn3aIkwuXAPeNjAqHf+JkQ2ZzArrHskHb3jU2swiDnAiEA/upxnqwcV62wUiUyxaHi6YwT6syTI8JnqJAHA8MX1L0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27522},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.40_1519850358111_0.21645218427362756","host":"s3://npm-registry-packages"}},"1.0.41":{"name":"gatsby-image","version":"1.0.41","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.41","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"56e356f54ec70ec5136b7efcce1c71dd18bd47eb","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.41.tgz","fileCount":8,"integrity":"sha512-DVNBIvMwlE9vNOtmpFFNqmcBV+CFP/aYkGk4Cf6vJktVGV7NYb9OCH6nBLaGigXDaJM1W+2RI0l5UNEB8oDakg==","signatures":[{"sig":"MEYCIQC1UKQtBH20jbo67Y3JMzq8FmY3+4Yfb3LrWcRllcEYgAIhAP26foohYY2FaMQnSsQ8o5e9iH+c8J6N6gD52XAQskXc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27535},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.41_1520020482146_0.45160985553091626","host":"s3://npm-registry-packages"}},"1.1.0-alpha.2cbec6d6":{"name":"gatsby-image","version":"1.1.0-alpha.2cbec6d6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.2cbec6d6","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4e8a41f5dc1929cac607198458a9474a5a472af2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.2cbec6d6.tgz","fileCount":7,"integrity":"sha512-j1z7Of5d4FmJanVRDH2QrmY9Jv0ysHdvDjWVvUrHgLKwlm97rrexRBtXOW+81RqOLxbzCqZCJEd0aIu+yXhuFQ==","signatures":[{"sig":"MEQCIEe61Em4DT+QLTGEqTJEzreqrNQoFlMr1lbmrcBIz1ZPAiBEiPakmvJEJDL5IC5gPyUZdqmucV7VaXfAV0tDHsKUAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.2cbec6d6_1520059568620_0.3526425808355955","host":"s3://npm-registry-packages"}},"1.0.42-0":{"name":"gatsby-image","version":"1.0.42-0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-0","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9f5ba304c5c76ee6cc5749bdd890a666cc909c8e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-0.tgz","fileCount":7,"integrity":"sha512-E04Hz2vWtcjOyeMo1xPlD9rKSOGzBr83eT7BUWLcqqnTR60j//urZrTBMSsIcuzcrMI+qNRVw4FGr/zdqSHrhQ==","signatures":[{"sig":"MEUCIAy/ZdmRUpKEOfZNVwUe6iE/lnUZNKVdfXolJ9LLA3i5AiEAh4dACyTR9TO1L6sTzlB5oz01xahorIDhNs20FYD6YlY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26613},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-0_1520061784408_0.19965493750298813","host":"s3://npm-registry-packages"}},"1.1.0-alpha.f98688ee":{"name":"gatsby-image","version":"1.1.0-alpha.f98688ee","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.f98688ee","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"28e50d18b3a181dfdc4c4eed1aa480867c92a867","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.f98688ee.tgz","fileCount":7,"integrity":"sha512-26piuBvrU93vq4fTOjIHiG1rzC+r2pbLK3S3O/kUhWRszSDCywwUO3+GBpgsKy5RT2kMWRnV4VboluVpDQuQFA==","signatures":[{"sig":"MEQCIGfFdp8utn0Tx2mmUoPMjOWU7E064gSMM4L2pjV+OaXZAiB4ojiuDaVDmE4c4ONmKkIjqGRpSO0HjvP3uT3XIRVHxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.f98688ee_1520389517495_0.6663794824068867","host":"s3://npm-registry-packages"}},"1.1.0-alpha.9fe50b00":{"name":"gatsby-image","version":"1.1.0-alpha.9fe50b00","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.9fe50b00","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6b7db95d1e73226f176d4b931f0418dd9558da85","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.9fe50b00.tgz","fileCount":7,"integrity":"sha512-ulcYvmuxoKTUkk+P5j1r2FJJh7wy+6HlI+3CS3vm/JCumySqDf+6W+23TspL8GVIKVuyBlPKRwoG2V37m9VXhQ==","signatures":[{"sig":"MEQCIFQCUKTtJZIR96NoZbqmNVVrcXiZGoCoJs9B5TQVv+9DAiBuMR1LRPj3of6pIM85EyR1Wj7JZ/RDMb4rcL0JTVizuQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.9fe50b00_1520478239871_0.626473275171842","host":"s3://npm-registry-packages"}},"1.0.42":{"name":"gatsby-image","version":"1.0.42","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c7fb2fe93884bf91bc1b76815e08c7ac718ce5d5","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42.tgz","fileCount":15,"integrity":"sha512-nsmLipJYBUlWJUfXyaORT+2ihCCMxUbwvkA4MFEpoQfptpypsOo5gg8cfCc7JgRN9mUlY+brQjCQnTQnsMQVGg==","signatures":[{"sig":"MEUCIHD9dWmu5a1SGHGkG+BfKKupLcn96i2zY0UCaoFih6VDAiEAyZp34uoubfvQsT5Oom21Jgylk3wdrfTvdzy98zi2D8I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112689},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42_1520921831809_0.13631366595889793","host":"s3://npm-registry-packages"}},"1.1.0-alpha.34eda94b":{"name":"gatsby-image","version":"1.1.0-alpha.34eda94b","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.34eda94b","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"81aa9b9b1d33616545031d040fe1cfd7adaed465","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.34eda94b.tgz","fileCount":7,"integrity":"sha512-eP6QU0Ih4O/9pxZ9LZ5xTu43bQtRjmpcMuQkvnVkK4Gq3/oP9vSg2CooQcaVLu7HK+kymQ4WJYdor1wbrmL5BA==","signatures":[{"sig":"MEUCIGsDfD42IOL16fM8z8Dh70YrjOA1hpFTUBUtww/FoOHGAiEAl/sWeZwpmfj7/d6Jx/GuRVhhBZmmlXM10p+BzNvz7FU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.38"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.0.5","@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.34eda94b_1521321712693_0.620645234528443","host":"s3://npm-registry-packages"}},"1.1.0-alpha.12622d64":{"name":"gatsby-image","version":"1.1.0-alpha.12622d64","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.12622d64","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"1a51247adbfe937edcd96718bb3c487f23bf08b9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.12622d64.tgz","fileCount":7,"integrity":"sha512-0H6Sgu3wdE6bqTFksv8wtW4UYctiP5OZpaQrQq8vimz77hKFhmxF+jbHBZwqba440hEaxI3vqKhfRAVjEH30Vg==","signatures":[{"sig":"MEUCIQDicd39nKdBIr8XPlhV6VqNbBzGomMZAyLg5f7dqeUJXAIgPo/t/w1VXd8g2DFNZFNMzYHLC09TrgWb7+e4v3QCJzc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.12622d64_1521331172628_0.07017485902770426","host":"s3://npm-registry-packages"}},"1.1.0-alpha.84bd71b4":{"name":"gatsby-image","version":"1.1.0-alpha.84bd71b4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.84bd71b4","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6754e2d585a8dca77a0b8dec850be05558fc7a4a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.84bd71b4.tgz","fileCount":7,"integrity":"sha512-Ry1CDgaKRQ09Yo7jfRiXXPa3dHX1ME7eFGz7Le4IzCinO8vTAcc1xwHByZaiT8/FVTzk5DxC/SYsFBkfqkVo3Q==","signatures":[{"sig":"MEUCIQCkAoO40kDJ5zhLw7edTRFvrELuigbUyjNVwq5aPPfxHgIgTqrL+jhl6uknBRcXoc2QzDCxy+ehL56GdTy/nZZA0zI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.84bd71b4_1521333553297_0.6834545150944742","host":"s3://npm-registry-packages"}},"1.1.0-alpha.6ad61a13":{"name":"gatsby-image","version":"1.1.0-alpha.6ad61a13","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.6ad61a13","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"663d03255717e00a311111e5798615469b53658a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.6ad61a13.tgz","fileCount":7,"integrity":"sha512-FSLA8tUAAvj4fn10EvaEmm/jMJpJpJFSOkcgb4GNxv01G7eksLTwsPiNqJ0xsu/ITc8GwcpSkiwttsfNjjWlzg==","signatures":[{"sig":"MEYCIQD594CkggxECTvqJR1N9ho2tgPulILW5WPF15jaAADlcQIhAOAynJHudP+1VExw2E5vLUnawsQMe+Q9802HlCJjwU/a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.6ad61a13_1521654531529_0.00987154936895962","host":"s3://npm-registry-packages"}},"1.1.0-alpha.5f47082e":{"name":"gatsby-image","version":"1.1.0-alpha.5f47082e","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.5f47082e","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c9bf690c842f87e0b0c979ad7c7a2d15d141f5ea","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.5f47082e.tgz","fileCount":7,"integrity":"sha512-GwK5HdvHxmD4emEB5uED9+UOQs4A7rUJzr+QuA/giGsjfJHDeM8GFRU9PWfmwzUNJCVJinCU1LU7BZr0n5JwRg==","signatures":[{"sig":"MEQCIDTdpelza3n/ZpcScJS7lnc3+NbvUNzMHVvuLeCB/Y/DAiBk9adec/EIH3Y4QqBq7FpvdSgH8jGTgQvqme8ioFxHyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.5f47082e_1521845217444_0.6090400646599163","host":"s3://npm-registry-packages"}},"1.0.42-1":{"name":"gatsby-image","version":"1.0.42-1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-1","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"dc3ff4951567bf99330f7038e48c5a4d83244357","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-1.tgz","fileCount":7,"integrity":"sha512-gQvJsMC14Q/IWP0NlVVnWDt0WHabDITnRv7Qd7XXGvks6y2ma0Uhsr06aBMwIVSPygMx7s7ZBYFvdNdRQd+nOw==","signatures":[{"sig":"MEUCICL/gt/UBoyhhdfC/rCjpeqsT5OOVTmxmgE25/QSHcOKAiEAgujhv0X5b5PfP5GFp7nAnPPit+bgZfeZ0YHeaaS0H/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26613},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-1_1521847108661_0.7975138530872021","host":"s3://npm-registry-packages"}},"1.1.0-alpha.95fcd4af":{"name":"gatsby-image","version":"1.1.0-alpha.95fcd4af","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.95fcd4af","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4e546c8e075dc4d8decb9685455067dcb6fcd085","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.95fcd4af.tgz","fileCount":7,"integrity":"sha512-LHLF2sJtswcXPp55CvEJR9gLrArgRU+C3JmStwotqNFP4wtx47yGZzUYC8dAWCFvMbbkUqrJEU4XQDfX/bjgtQ==","signatures":[{"sig":"MEQCIDuI4ThWKT518w5jWdeeJ6wPTvpgXz/XzuD3HwrU3fQeAiB7xfFRYLG7oSelLzAreS+cmcZJTqzemroAYITANV4KtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.95fcd4af_1522290105419_0.7960211328572806","host":"s3://npm-registry-packages"}},"1.1.0-alpha.20252dc3":{"name":"gatsby-image","version":"1.1.0-alpha.20252dc3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.20252dc3","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"0c94cb5967749518095271d979a9d6055c585c8f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.20252dc3.tgz","fileCount":7,"integrity":"sha512-QOikRqT5wWtWcCO354++mIjIvhUVy49YpvuBtCVMfTctOC9RLV+5qMTssGHVw2L0QPDuTFmRAkMJhDfOgAuowA==","signatures":[{"sig":"MEUCIEOV9oQdGaMN8k0RBjSAy+Naja4r1EGWMB8OXvv8jatuAiEA6CpY45ylua3ov+UsdU1IL583PT3d4V9AvqAt1Hs589o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.20252dc3_1522291405899_0.5953805263480245","host":"s3://npm-registry-packages"}},"1.0.43":{"name":"gatsby-image","version":"1.0.43","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.43","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"aac992fbbe0793bd37a333d6a5da63a2c4d2a2dd","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.43.tgz","fileCount":15,"integrity":"sha512-CKRf9+9sjvAlIE6UP0SqQ++Sic0n0AbjFg/6CHJPFRdBWHEfL/xIwq46QSDZIRr2T/n58I8aW0kN59t4rkRnRg==","signatures":[{"sig":"MEUCIQCArYvkB/3Oyd1smjqIdAEd6HxcsbBt7QMNaAv55Th32gIgT7PZZPebMgXAE9pFTmvQa+tlKoQUEoXgGOFAZHKmpBU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112629},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.43_1522802730180_0.6343071216520517","host":"s3://npm-registry-packages"}},"1.1.0-alpha.4a09f745":{"name":"gatsby-image","version":"1.1.0-alpha.4a09f745","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.4a09f745","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8ca7221bf834abfe9193b7f7ba1d4e29832948c3","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.4a09f745.tgz","fileCount":7,"integrity":"sha512-N7SfF9CJzThH2FWD8fSPWZtoqHGVFgeeEr1mNJIo6fZFFebVxllhqa+zCUCnESovmm1ze9jSoBhpZy2vlhZ6GA==","signatures":[{"sig":"MEUCICExmCraczxj+A30RupWW/8t3INaaTbKhuCjbZV6PLKXAiEA3NhWhAdlQj8Vb2rMGY5inqhXCtjfs1ri0FPC6UvpWls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.4a09f745_1522966470528_0.026699345790525353","host":"s3://npm-registry-packages"}},"1.1.0-alpha.76793cd8":{"name":"gatsby-image","version":"1.1.0-alpha.76793cd8","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.76793cd8","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"53b2b653789b2504dd1efab02e70c7779e8b003d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.76793cd8.tgz","fileCount":7,"integrity":"sha512-EkfNs/PBetty8qrTXhJt8+TkIpEhyyNyl9twI6OVUswCfsJVRH0f8EaQN6NUPlAd/5Dc6J0lqBimS6G4Zpnplw==","signatures":[{"sig":"MEUCIQCJORlpIIQOKyZtIbHJWIQ68Z3FaU8snwowY9fZ0/FzywIgbQbqVrieXv2TQJ9/VNYSLVyveSRpf0bu9vsSTb/AA8Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.76793cd8_1523139105543_0.7932815218329081","host":"s3://npm-registry-packages"}},"1.0.45":{"name":"gatsby-image","version":"1.0.45","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.45","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2b909e00dbdd6386872a1a6909d39ded49930ac4","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.45.tgz","fileCount":15,"integrity":"sha512-aXsFnYyH2GNLHnvdFrchRxy50o1xWm+WS73eUvJJc1OMYbDtLtPWa9xb1EtW+P2XvAvi8vSq+lTqkDwm6Ld4iQ==","signatures":[{"sig":"MEUCIQDH3Rf/u6JDEFLs54LIR4+45t7acESE6egV9ATXg5KUfQIgN3L7GNjUdcaUBefcOSW4It7vA/lYIMerBDcRxWww4Xk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112637},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.45_1523324807112_0.6474871828233131","host":"s3://npm-registry-packages"}},"1.0.46":{"name":"gatsby-image","version":"1.0.46","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.46","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c01f791eec5c1070a99e33ad04973c3f2818f778","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.46.tgz","fileCount":15,"integrity":"sha512-3coueUgLWFLiDX2ABzkVxWxv1lM7dkNh3SGUACAnslE8ZAtbmVUjwb/RoSU8v2uNB8eezNXFdfXsrmlsesfLEA==","signatures":[{"sig":"MEUCIQDKz1rIASouK+LC3gI2a1x4vfN+h4SPjbxF8HmU8nlFxAIgTk099LmAYaP26U3/O0TYQj1+7kx2yntvJ/IYXWoC0DQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa0n6BCRA9TVsSAnZWagAAwccQAJ4Gkcb+fvCjrK59kmEB\njflun5WWAarnb+7BppMxSGTqpQfZWhRS5gH0YlNuobz7lPhV79Q+WYheKLl5\nHcL3WIbuku9R127naIfklT50SosXWVbcoZ50Pema5vHQbkkdwNdcJg8oloSu\n4vqHK8mBUo/ItQSSXuX7HmzC4y0k/z/UKXxX28dLR0T70m+VaLjRmtTXkBEz\nMEKX3yEW/78m/7M9VwZbDjUL/CfME7wyv508QQC0OTwfv++a9G9HxF8NSrDW\npMQix/hZRftT2dWll+oTWJlf4zdfPXxx7iIP6eQELfjfcYdpzM9Y/hGm6FG6\nIT77/nMZB2nH2ecN0JV8OyYip2EcGVxh1yxZpbNl7UjdzYvJTXZCgci8SRm1\nN9f6EOfzItZlkway2i6P4NYFI+HjCtlnXdob29bs4sVxFgADqGtEC10acGAY\nkH2NaLlvdz0ylYfEIyrmZXVX787xI6VApYf/en3i+aBeTKc94ts65ekibSgg\nkkl1nLdNDKvzUmZRCBttoZNS2mXK8v6GW8tBSF2J/ZzVz4YFd2VjoS1NEMQG\nG6Gf0bqNL7YnAEIIcRUbBbp76McT6MSiMN5x+PInBHNsGX6jSMwtmFU42x9z\nnFfKeN1f6Qd+R7uMY7YwpXnCEqW87wNX1c+aSkEXjDlM4vmUp+JMRkpUfOFw\nR09i\r\n=CQqz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.46_1523744384414_0.5675469926499201","host":"s3://npm-registry-packages"}},"1.0.47":{"name":"gatsby-image","version":"1.0.47","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.47","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"77f6563485708dbd6bc59bdbe465b000dc63c54d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.47.tgz","fileCount":15,"integrity":"sha512-7IdOd6JdwAfVvF1Bry1N3wpfAvYL97Q4VqYp18yhS+SBsPclwvHKawD8qVCjQtYexOAKAE8qgnCZsSYvajayHQ==","signatures":[{"sig":"MEYCIQCcFnxgLTnSxdLyfArL7SfgktSsja7TjbaeHNGsb7lyRQIhAP97WHDPG7926a3Fr8yKoe3TM3Py8Nf4XDDgMWWATEsD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2MSxCRA9TVsSAnZWagAAC+cP/1oncsyGaYuS4M0wqB3e\no5nQ1iGthqnoQhT7Jtwqh9MA/cR9e0gOqYEukmsD2yJBHWJPtfsIkH30merL\nNOV4AX2+JBx9NnMhk1ryHYxPoeDvHP2PNp0D6FDN7C6h7xi9VyTHk3d/TpWm\nlkbN4rNOdQ9eZsHkTXXuhbqbP4GGMlLR8mQKYcAd1iwYDqFJ49oMkWvADRXs\nd3Bvjocg3jPBQJu6apfrVKH1UJTVmI0MyQdG0SAkltdkCbcZbR0uVThbIKbU\nmeYyRc81FJFh1gQf+5LusyyFnhUpRLX5a61PGMigXAI8bCwiaQLuOOmNiubA\nd++tdCTK1GTmUTS2jg3up/rVqEPHETNimMfLUiSoGMLlzWk+ed70puyC8sIy\nMrog+hu/tRrSekK+4sY5LoQzJpg/KpbbZM56KtaxoyNSz79OkL90PEnEbNxA\nKhnxus9J5cQ6ODZlMtyjjwDyb5MFs1ONQYYknuftUHeF1YqTTEn+e7oIhAyw\nIgNtWxrkXf2ctXUQixyWlyXmwWzgwEHwRkHCV/388cUq5JgWvpqYaPpbN4Qq\nVGGK5mTuDR9+NE6q0Q+kf6euaAGsylxfpTfEsMHSZNzf2U/T5Rl5P06dLlkA\nbNjf6ahSwSxuDSqFwgZcfp7gFJg8somw2+G34gqKs4mzrkrIM0r6FIwZ+Hs9\nrUUS\r\n=YFXn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.47_1524155565985_0.7155213297318803","host":"s3://npm-registry-packages"}},"1.1.0-alpha.5c9569c0":{"name":"gatsby-image","version":"1.1.0-alpha.5c9569c0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.5c9569c0","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4939c0d40c54b3d5dbb826dce71ea743d3d9fd50","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.5c9569c0.tgz","fileCount":7,"integrity":"sha512-Bu2uTvXSaOybJW9aZG8NDxswlabPioZlGB35kbBzhw4ZQ5O9msO2Ye9tfiB+wO660X+L0B8O8LTBIiBy2PQU4w==","signatures":[{"sig":"MEQCIEg6VNaFdKkOIk6jjTpsT78DGbj9R9BzR0mYOKAtHS9hAiBv1ksYuAJyig2KOl+yjzNM6D4w7BDR0ffjmHtjXE0s5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2MogCRA9TVsSAnZWagAANJgP/jTLnFhLIMWLE1VqPlTd\n/CYWpYJgiTZjuzFI+2QDX4SgXVrgvFmlKN0mMTA0VyMrzw6mHL+8MtHoomHy\nhkzFCOzeIWVoPWoI5BQx9qLVVq2rKckUbSo4T2NZ+31uD1Hfp49VH/q5DS72\nuQixtnfyxg8RrzyllniV0RFnHyLnEORma1LDLkJKVGuTFMjG1vaJZgeWCJTW\npSFHesvu+p/xSVuefjUjw440hWE2XP3YtX+IbiOWQNxp1oIaEvyw2tJt0DGe\ndEFo8ZR5XlWVikQvyfXOn6tQg4R81U2sXRao/M46840SlQiT7Rv5da8onNKN\neAgaVnBJc55PHh297DS5S9B1lrobu94k9sdPCYCohF3xrpOlkto7NjOF0lTd\nxU3Po8Um1kEMoWcpe9RbdpUhr0mZSjYeSL3y0ufB8aeY1SX9mOOWAgEdGFOa\npPCwMHoNxmMBULE9+qMun8dGDR66i6+0wVho7UwDr5Y8+xJMR5M54a5Ot6hb\n37yQ28X1Gvywp59bjGUuAu1ocRl6gTHYL67KM0YM3eOdKUmQvFU4tR8zze6M\nCuDv44zZfyjXF8pdaFcIqWV/8VAEYWYOfgEhANCGIU1QbFcZkZnMwI2YShs7\nWwNNdgz8Rn0LWtE9KmGoNauAvteu5570zAFEQ92H4bnLXHdYs7PEQ0r9bFzw\ncT6x\r\n=QMaj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.5c9569c0_1524156959309_0.517089151925473","host":"s3://npm-registry-packages"}},"1.1.0-alpha.523a4286":{"name":"gatsby-image","version":"1.1.0-alpha.523a4286","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.523a4286","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"03c06746d3c3c213dada8f19ff0aedc706cf165f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.523a4286.tgz","fileCount":7,"integrity":"sha512-EUzN1iBtyGqbRmH6Zy47R7FiJvdYmkQL03dYA4fd0hKUCXbfB0UqPSrW7IIZzE3xLA91k7HGlxbZSj2l0Q2OEA==","signatures":[{"sig":"MEQCIHTUp57Zap1JftCKqc9uX8eB2noCbNg3fLwuwLDG6bNSAiB3fOcLV2pqcnqLZbUa6zqzhzTgmB6Rh2I6TObSBo3J9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2StiCRA9TVsSAnZWagAAoPkP/0OegcasVXUPTgkUFUyP\n223K0nX6Twz/TviyYLoTg0dRh7IRuaXTQ6ngZsB4gqHXis/lhfMC0XDNdDp6\nH/6AGc6PGjJ6ZWvQT3QsZYVmF8LlGnaMa0Xeou8tVFZxIAtAi7UMtt9cXCAA\nmLGj6z8pgbGIrjYlU8qQZGF8sebX1JNigJsf2szLbiRkt+ksq8KmTkd7T6a+\nVVlpMiHE4ocJme4tVYCalDPt6Q7oDdeVz2p3JeUOIhEmjb3ilxDlcHJfcZZk\npqK+LNMF2QUzQMhJpN1+nSiObB9oOZCbj68rniwM5i749TzwTA+VXhS8NBv5\n3iBEa0087gEsyrHV5cxiJFFDWlykyO/oLvLe2YQ6dHOH8zrhZ3rzvCgdR96C\noSeidUlm95Msf7sh3ngxfvmKGLv9vjJCfENUrdnvDKCZPKtaxgX4IYx1VIV5\n9b/SJqy9HIhqMBbdzReUGzLjCRu6dqNEDXtME5Pp+8gwUyl20Xu0VLXQ+Dlx\nZOvjKOclQoBo0cY8YORlyblSQ9FM98KRBE26vpFzKIfzAV/FhzfXoQigGM8v\naF0MITLmolQFZbWXDQY644dpyDi1/IohJXD7O6kkW7oH5UxVA803DWA+GVHm\n4MDagSEbb0be5AnD4TBhAQgBLgkJIQcJaHbGi66rij6JVkMiE/Yd+yczJVoL\n1Y56\r\n=s2O+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.523a4286_1524181856903_0.5396675701376681","host":"s3://npm-registry-packages"}},"1.1.0-alpha.5421f383":{"name":"gatsby-image","version":"1.1.0-alpha.5421f383","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.5421f383","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"411a589e1be669f82bdce3ab8ea38dd0f272057a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.5421f383.tgz","fileCount":7,"integrity":"sha512-M9OtOeBgJizZLzkYmTbxAys+ftdr9Spi6NyFDDSH3tyGI7ceGIFH5bwiCHN03Y0kQxJtaco/QglaMWMqkxM1DA==","signatures":[{"sig":"MEQCIAMY7M44vOngaVmHSAHQThGzJns0Pt+Ir3PbbF9iBP+BAiAOg9vkXIhPbTujcTX+St655TZyrtZt1Q9MzdeA0+JhYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2Y4dCRA9TVsSAnZWagAAnPMP/121RaeKjIxh3OhPhQHN\nnVR1o348Gp3SUvPNQ/g6udIhEP2ukILz3EMJxsJrD0yPRJ0ZPOvc0ATbP0p6\nfwEqzGzAQvPVDZLGNTcJd+GqEvfRtmAHxzFPTZ+7RnjJ7hQFHCCz/aYufKA6\noa3ESjO6DxshcmD0Paa35NdVZS34lMDOSCCI5L62UXBABBzdB73URm9VVD1s\nJMFgeCaEdf05KEeAKRxKTdSKV3o7pOXpI0/mRuQqoqkourrquIAxwlpC+/TL\nJnR7yBp3icfcK8i5FdI04kK6qqrW2Q88Rbjk4m+AiA/2jSIgl/6VDxYOyXQl\n47cZ9QjcEkgZbr0r20OtP42A657nxDq303cUGTOO2wZe1VI/oFPy6Svv4S+n\nqwbBBcPOq8H/dknAcVcvS6moKf3O27L22FGfZFq6l110yzczNreiwhzHOgau\nuJgdFaGr6OFYZcR4uZDBjBsLYd5QX2XwCTtEeDl6Vxr1Hv2gBSZZ+CfMlIU8\niMdY+vYK8c9UK+vsk4rI2avkzamNg7egpWZz4cqCTL7fZMG0lGhY52owyRaa\nYs9i0YIJCQYeskB4dAug/Y5+yfoT/T5QhF5cIIIpFZALyygbIljhikXYXhKr\ndsAidwwCx1H6NBopcVr49j78l/WpcSdrcwEOJ2/3sARxeiF9ovKELddHXCDw\nyufz\r\n=OD01\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.5421f383_1524207132755_0.24376641212833894","host":"s3://npm-registry-packages"}},"1.1.0-alpha.e9c3027b":{"name":"gatsby-image","version":"1.1.0-alpha.e9c3027b","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.1.0-alpha.e9c3027b","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8518d50767bee7802b629d8defbe38e7771a4370","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.1.0-alpha.e9c3027b.tgz","fileCount":7,"integrity":"sha512-SQFR9TzROeP1bcH3j0uHfMcPRcMRrNk8VhI4OAP0W9cLpnVRR94zHy/upsh746bjB4XRaBl3YG0nS71u2F7Ylg==","signatures":[{"sig":"MEQCIBarky8F9ksE8zfu9JSMC+LPqkJS/zzuzYfQdwLe0G/kAiBrqC1pQZ842NKEoCIKHfnYia6v9E/c6To1hh0HJs9uxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2imQCRA9TVsSAnZWagAA744QAILtYJpJtgy1JzBKmumt\naCONnHLptDreygnmBte6VfmwS3mIR5N6jgiBjbqkdr4yF9cI+WjQeIbKYQPS\nKkcn19VkiqZ4lx4dfolzCDOM7ud3S16OmV3g2xNweXHVZJeAvh4/IbNkwDq6\niNgP9+AJ9L1BdaSS164Z6RKoAknEUHGWSzY/P/MTj7FMV9MuKcn059v7KyWM\nCL8bqENH8/mMPC6zv0U3DFlScIn9UrgcLxbasuvsvErJr51wWQ/Of6tAPg3B\n/n0rjdAxAszm4MHgr6YC7WwCDLqRjRcBz13Nhi4toh3HWeCM8tFanVFUUE+A\nKZ9KJ69G/XVwszdHOmB/NP3Oo0l4GG5+sNOrLijKU3aYd9UQXtSYsYDRFo11\nyhy3HCDiAG8Dg7RuRyhaOWozG6c9xz984D+/+OMmyqDCVnVPrFAQf58lJYno\nbryrJCfCMVt3Gd+gK/fnJocLFrO6h91WNpWOoJgJA7/BgaGhV9lgwFn3+0On\nyJvwCUtEkdDaMrtwUy5HI4iT7RAMsz8jSpXF1Xx/HUfn0R6eG1Hk0Dc6krnD\n+F4/kccH+mlyEg2RgtZhNtYsuIzpd8LKtZTCxAw2RoH1ABH7IqywINdMmbCo\nQiv9r4V+/5yKbx6hhKgB99dFXi0OdX7O34bmgxM3V0xRxZBOZxCnoyb3ab6R\nuyq8\r\n=/Y5M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](https://www.gatsbyjs.org/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type            | Description                                                                                                                 |\n| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`        | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`        | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`          | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`        | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`        | Passed to the `img` element                                                                                                 |\n| `className`             | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`        | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`        | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`        | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`          | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`        | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.1.0-alpha.e9c3027b_1524246928217_0.3501703129999467","host":"s3://npm-registry-packages"}},"1.0.42-2":{"name":"gatsby-image","version":"1.0.42-2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-2","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"eee09acb0b84bb6813ae2f3058e92726f892aa81","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-2.tgz","fileCount":7,"integrity":"sha512-NXdV21gVk0N0/Y+39abMYNIhW1eblxL3+yHZDSw6MoDUKH86Tcu1FlRkSORGlAJnRKg/XCln1hCNL3+vZ5u/IQ==","signatures":[{"sig":"MEUCIQC0dXqRPbXRqD+kHYaaktgi7zHd7VArmyHCHx+6RoTxPwIgeNe12cSiooZRzT90/kzaXQSI5cbNLn33FaYw+igmaiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2+sLCRA9TVsSAnZWagAA2eYP/2hNh6Y8Pv2/dj/bJzg+\nqAVhVgd/Lqwvr4B9s7lLQDNYKIf94BzIdNWfFyBjmx5lTHMq1YgiaEzB2Pj/\nhJGR899uykeZVeeQgr03pplqm08t7NU1mkQNpNEpLMUhEg7Vmj5+YLTmBcbJ\ny6lp61Kd3FIQh55NOGNnz43SgYI+Ib19gIcW9zsQ9L+5Jbp8gV2OHp7lhSTl\nEEhn36nIYD6m8nVm5ztROifY7OTrBq9N5q2j/k88FV4QftNPDA3jcKlZeU3H\nWXZ5gp3Hru13lQqfBeYp/dzq7jpWoL9Y2Bmnc0JY7ci9YooAJ4Ck3DWnXJWM\nHj4U5pnQ75KPAy2a+m+AtNjUDKVz4Iyb0KDOQ62HlPqNqN0bts9jYvDw9iW+\nszYoO0RrwyAQ8ICILtjPerKYLIG/Pf+ivfykFXHlAlArxPIQzt4dm2VpobKK\nsaAFrMDzgNR3Eg6FzFdkm6LA6XtsGsZ8BjBKr4yvu5Y/byBh2r+Ee6up3YHs\nH1rxdPzwf3uxIknTIgHN9T8g7bPF+HhebZh1sajMGXIV0b+OWV4Ivph9ywNt\nKbB5pBTtzzJsFQK4ZSUQWTi91wm4Tf4wQOURS42EkehbCFbKEKhVK0XMbsGp\nQazzvoJjjkYzefDitrTAzRoqrFhkuBSgp7uAhSiG7340/QrR/dXCly7bT4v/\nx/sN\r\n=9Idg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`            | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`            | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-2_1524361994839_0.7929204596664075","host":"s3://npm-registry-packages"}},"1.0.42-3":{"name":"gatsby-image","version":"1.0.42-3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-3","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"3f48d5d050a58ba2187d65bc3eb76b81f68b1206","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-3.tgz","fileCount":7,"integrity":"sha512-rjXpNaGWHixx4Im7uc3jcvQlyPFLuFc0+Mf9t+GaD5pO9KrF6jnAl+dgyeTdibvfMc+Aeztyt1BB1xYN63oXAA==","signatures":[{"sig":"MEUCIQD1NGW+ALvWPn1dDH/+0ukWLJZcWczs6vIZr8mHEfEDeQIgD3+TV1W239vPUZZLDO7w0rzRMBEH7i9ngI7nzfQsAgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4KvFCRA9TVsSAnZWagAA5DMP/1kjUPiNQNnOfVROfNpm\npM7s/XFywzXykeCV+mQfIPlU2fi/SILDK4STlSdEU+U31Uxs++d3tDmcT8V/\nbyy+I0fagioZ9khheQC2P+ylKNHdp1/aQ2D2OrMJW6k50O8cstd2NoIYtixW\n1uAdLTEy6L8zE+UkUIcpj4lxX/3ScII9CNQ/B37e5sRPPi3YHxGFCTJ8MAWd\nLaMkEK9pRjjiO9wxBipet/Hpl+0IV9aveUN5lbigMd6um0UORYRvSvAyDGzt\nQPp/naud4kESwpZGLJs7RhNvlG6EDrZxtUWQ4CLZtJY7pSy7rQCLrZW06z7U\nQgyxuk/LVonUWqQRVNUhc2tQ/nKM5IMGZA25drd0yTukLN2/2OKEe5z8V1GC\njSiTy7nTMWMD2nXeS/PrVv1lF+9aJPQxwk4FX58s9a79bSA8irCbFsMbcex9\nrVZ/gTNwsOj6RIJ7Ey8bH1Amp6ZRNHzvQvF93Ux1/w+TKi3BxmbhA8L5tjZg\nW67s+0wa9LQH0RDYg8HhRuIbblIAYQx7PoTQZq3M9BbnLK2erab/p9LqRoUf\nEDtwMwfOuTB6C+Z+9kerFoNk0M5XjksPy+/vNJhb8OTNyjZh7VCsSGl65yKe\ncyqBO6VMNiHQQ16WvrZJpSaj6+d0RFzEioeDw5H1TmnX2Eh+x0WCv8Hj9QXl\nXSR7\r\n=Kj3f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\";\nimport Img from \"gatsby-image\";\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n);\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`;\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`            | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`            | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-3_1524673476161_0.5204975244673111","host":"s3://npm-registry-packages"}},"1.0.42-4":{"name":"gatsby-image","version":"1.0.42-4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-4","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b72019706c9d82cdeaf2cdcd71dd351a0aa11ea6","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-4.tgz","fileCount":7,"integrity":"sha512-8F0klyngLdXBEpgN++Q5/YCgrJXVJujZbcZBW2Ggb9pCkW9fbkqACNzobGZMAR/ysxhEnA+VX/ib1utHQA2hhQ==","signatures":[{"sig":"MEYCIQD2gyO1kbH3j9vHbGLtGyM+pSqQlpqQmBM2Y/lpcD1u1wIhAIWBCnqDWNp/zln94ZpBuzWGvrfqlnAjZVKP2KGxpZen","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4hgECRA9TVsSAnZWagAAtroP/jQDWWDtaZ6l1bQopqS/\nhOMG8frD+GJ+HUOMtIH1+i1E7BRWiv1ju2MzNf+H1VOqIMNZjJhi3s89wbTK\nF9gjQFmmJXeCfyf/9vIq2OvhdkO94NXV+1Y0n/eTVYC7Yfvti+hVzMRK6a8P\nKTa35dBxfx2XsBNWWXFiWukgUbvYFYKhWkCP0g0aKwhBz488jBOxWeXaDyHm\n4jMC8J8hJoYfcKqII7BEu4xqcJ8gMloqs/8e4RxFp12ElfduoFFaoc42ilER\nXXJs5YQLs2jFLSSQlJ9Vts7ip1eG0PWwjK77FKhk6hDqN5/A+e/wdxBg6NAg\n/B89hAWV6UliOFxLrekp2v0sMrZE4+vpYav8+6aKWXtARU/NrkK+PExTlIhC\nD3vWgO7yx/dNkYcLIeww5DaZeJLFzDz/6d6hq7LN8IEfXpPuGywTk+M14qne\ncJhqPEyL2gFVZwTUm57/85nKHwqR1Lma3Q7+Ren1V7o8v9/TX+JwNh3V0EAX\nj+n1/YW9RMDc1qAiTtM3Mt3qXdd6MGMI0UHNRvRZ4G8ptIhmUQwPOpQXJy57\nKPMFJRbBfW1YrjA+UAblr7Aw/E75CVxm+B/BEZBAMs6parJ7+pAVaqFKklQ5\n9CUUpMv/u2UuaqvlyzQlIw22PyzY74bkCDRPlCYxfJRt4MtpyU2JjIjARCXc\nNZXa\r\n=5usi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`            | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`            | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-4_1524766724087_0.25288196982192","host":"s3://npm-registry-packages"}},"1.0.48":{"name":"gatsby-image","version":"1.0.48","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.48","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"58e62f8fabe8fbe870c5b1c5e1b493a5b7395667","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.48.tgz","fileCount":15,"integrity":"sha512-WTUs81U0IsJYhWNQwBD37++WKZx+54Q0PVB5G99pJODCislTT/M8dAafCIrFgYgAHgW8xDeNI+ZYPa15lsu0zA==","signatures":[{"sig":"MEUCIQDodbcO3ISPpA9OsyVQGB00iLeGuljDYbqadved3Y2RggIgUG0JNoMijj/z1yqYhzo5nsp1P8hy/jRKy1JH/MNb9gA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa46B9CRA9TVsSAnZWagAAkR4P/08jG7l/hvPvP2DWKoXA\nm3vJPArH02/qL5zTVT0+DfQa4TcriGVWG9hGZnRrz6puZrrj0bsTjQOYnOm5\neYj5MDzVyzm0/kUIXMm+zXwXU9DVeG5DOWgjQOOwRTf4gtPN5epkQIGr1Zd3\nxrjGeehbiTczxt/Jt/557cRDqOmfi0gZc8KWItZF9I93sXk3djjH4WnS+O5p\nVodH/eU3qyqW8O77fIJpcwfE6HXSFT+dE2U8Va3HZISpW3ncKToGPGqAmrdK\nucrrQSpiTf5XWsA3vaLIDR2Ver6+sVYhqhvpgt04aN1+ziZkmDZw7+c3oZP9\ngB7m5qk2D4UiPIxDEcdJrdSkekOKibYtzfrfaHlDSA0O//PyVLzRJOxA9DAR\nfgYYYGWgHuBL0W0SpZSjNK1c6t/J3i3rKwn0SLuqURUofpep4EyYV30uuwFe\nbdNDR/nrzqZJXoo04BWxwwhFxzy6dsnM/A34/FOXulzSjoPt5RW3h5jZ0Bsf\nqhKop+Ss/0oZiekzD/03bcr3Mx5DrRwHhr+Zd1ebXwvvi6YhLqWlbToMZvzu\nk7QM42x0pRUZmoCtYvE/6mpOiYBS3WBKYj3HDdsXxT8XAmXBZTnkpADr2izY\nBalTc7RGP2+5e4XcNy34sB9nAJD50JXR+aGjiEOb8aonTjwn1L0aXlD7HhZB\ne/rh\r\n=E41Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.48_1524867195663_0.022881798460884673","host":"s3://npm-registry-packages"}},"1.0.51":{"name":"gatsby-image","version":"1.0.51","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.51","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"956cefcf7704b6bfacdab9b59a5d6b76d178ab24","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.51.tgz","fileCount":15,"integrity":"sha512-HbAQnqKzey6dYZLViXGWjfTqa/8MYatqvH+28IUVo+KFANo0rei8pS2P06HS/l/s1uaivzQxnjXInKWKy5l9XQ==","signatures":[{"sig":"MEYCIQCjoRHFzpJoXDGfqL4yGktEWpkQk6aADS47yjlr3SMSowIhAKBaD0xL5zfEHry1Wiuuhzs7OoZk4GzdQdTugw+2Es91","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa66cQCRA9TVsSAnZWagAANcEP/1Nwx/Kgja1xffoh3O4p\neDZZpW5jXIHWv/VLdcT0D6V+qiqKykWCAkJhYq/hK7B/JFnA47SghTXFjsFD\nQFd8BwAsVRpgyRxSGeaP19z7GQciAKbfGvTU6IzDsOCOEomDdp/HZSrd6O8y\n+1YWxzVvXQqxsnbvtIk/t7Ag/42vpaTI47FARlrjbmskcfjwHtcpSOgA5nRp\ngpVhHqP88U1DpsHVjKLhSKsuL+nrsAlbrSFzt1BsYyZvPqLj3+GJcGLKm5pP\ndWsISzdv1wYG/XmkJyNEkCAeb61GKPkALpJkhU6qAACmkvYCWhMGU/rXWErD\no7xeNYUgPJsL1DafJJm6mTaZlWuH4Qj7yIkFJI+j3dHFXs/2MPV8iqqxKvaR\niEBCO9X6ATNwgVDJj+DwqcdQYW9TTE3jSTtkSW5rspQMZ8OaSwTlcHOgqFyb\nAzX/i3Vc70kXmmawRpIczpDYsOgi7MhpP9VXg46kNuJ3ilsi+L39/Mk4E57s\nfMggsN6c6UqNmeWgIkO2QDOh4ufvD9tdls92WJpFKGuW6uiBFxDKK7AliB2J\nV/IoMMT5j3KNRKUtZENP1kI7sG0ePidWDwhRTUeouawLwJHd4Yj3w1O3JU6A\n82bMnkiSngPclx3K5TZtzQExQDkZuGQixNDlxlIunU0SnkveMOy84Vwr4l1V\nhOmn\r\n=8Mp3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.51_1525393167098_0.6404878191945698","host":"s3://npm-registry-packages"}},"1.0.42-5":{"name":"gatsby-image","version":"1.0.42-5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-5","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2f740d95cddddff8c30eb765c7ecb80d3e87a5d1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-5.tgz","fileCount":7,"integrity":"sha512-pxQ9C7/UZ+7eAJNMSs4mBqNq24Q9Fgxjxd9PsjKNqL39r4st+OgQMb61CzMO5fkqoZWlqENO+nLc6DoNx/s+1Q==","signatures":[{"sig":"MEQCICQmUHxMyEK/URdKKjsuFUiwjoiV5EL5TiglrL0QL5uUAiAB32JcRWPs9Vuuy6IU5ICi8aGQLyISMSuQUSgZyiz00A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9g5cCRA9TVsSAnZWagAA8okP/R6+gQwj1cRwDfN3RLIi\nx8fh14TjihOh74n2MDE767qs9zKrspch7KlKT10QaSdLG9YKYc/g5joU2cob\nJvuknMNi/u2gipR6/fC9EEspdyujDibLYesqiu56BOJqDqTQl4a0OFpOzgoQ\nOZ2OJTNIdkC898bqSoqnDt09Tdn+j9VuJUmyEdIgYGCMC/Q7uIxXLbIohnxX\nXLuDTzZGichdeQW/QMm6o+0YevNBsO1jKvxnXR1IFcHYRYDDyomqFbPndBNt\natSRe/HRPhwlFLAjx7Y4Y4acv7QXP6RkarVphWqVlbKb+Sn0D5qrZGwD9Hmj\nhyvQCCDC3v3iNc1GcV6XTvCcQeEfJY2U9z/2vRnU7po1ZqrFR0qLxsddQBqx\nkMI7+PjC5bRn6FdorxVkjqu59A68vCl7JedTZbnWCPG2laS36YWlAb9ADYaj\noVb1WIGbKt3ldd8URub4P94XP2A6qTE/T6mtt8jEb0XHGCgPjxF+F48X2SkO\n6OEASztiew9r1UnuO8rJBThXAy/PNcVkg6amnUlsO1G8zS2DeOEYXnabKQ6r\nBtegNDvDXaDULcA7mSOFQ+nCs6BLOnCKYfOE701xAIQcJSWsTVWcvpSM1ibi\na0ysl06RL2lycuDKodLUvX+sbuIvc6Jfr6kFXA4Vols6PJId5xMkr5c8LI5F\nccmx\r\n=53py\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`            | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`            | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.42","@babel/core":"7.0.0-beta.42"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-5_1526074971193_0.36473694895975983","host":"s3://npm-registry-packages"}},"1.0.42-6":{"name":"gatsby-image","version":"1.0.42-6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-6","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"419862aeabf86a5d4038a56e33106d6c0fc69dc7","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-6.tgz","fileCount":7,"integrity":"sha512-Ckl6ImpQP2ASFMdphx2LPuBh/Ym3GImAAC1VwxYrZITQD4zYx0jMEjzkrTi9S2VfP82uXbQybLm9bjCAtysDBA==","signatures":[{"sig":"MEYCIQCyaYoOoENxILEZFu8Q0Rb1i7q/kgD1IpqxKZkeYFG1WQIhAPnzwuvdtSLXrK3iqoAH9bzaJEyTNoGSi5CmPh+A2B+e","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+yY6CRA9TVsSAnZWagAAV+AP/36dqsLW922g5wTjEf0G\nFvLAprd2aumkzR8a5Dk5OjPoPVpIT0mqZK4K4KGyswzTjLFEQXmE8ZEA9Akr\ngg6jcJEqkMYvdkvdOb2V0M2ETbtehVuvxg271TM+X8QMBNveMPCTNoEvffRa\nLhr9t3/UblWq4aldfwbIuyTULUUDH7SOXm+5whsqRiJUnRfOiHK8dcDkzDLD\n/4QqnYvvzLG3Dn+DqoH9bQW4QSKbagY3jbT3QuyqcLsF1NLiqCWx3EB6d/bp\nZGLjVTIdzg8glFIpFNVkhrhr2+8noxiGWnLZllO8KNHO5mCPTpvoCWS42mSr\n2dvZhRbG8GYVcqHVQiBZJkAAXaezCGcnFQ6Cu6dazi/wp0QD08aFMB6rqdWM\n2d7PQhnva7t3/Zw4KbYMEFt+VcY6RRA+aCxsRjwMkM3nd7Sw1t98fraUH44o\nyTkMqpugIXr1bpXqjw8tErwHV+yrXW7XAw2lCRamI7+nRAQtaWtlTyOFUB0f\n2lAK+5mOESbW25cUkgRhmJuqHa58YMZpLZXnNLCv0p0xK1c11hLHmrIXyNgq\nTtqi/aO5Z/y3iXVvICgSwC5tAyHxr57ctCy/dNgHJ7boLexhm98nFrfvsWrS\nObJbxlNGnfJWuj9MjLb32LSul8XX+C43ARsJc53qygWfWprX/77F5z/mnhkB\nAR6u\r\n=CNr6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`            | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`            | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-6_1526408761280_0.6709640209543604","host":"s3://npm-registry-packages"}},"1.0.42-7":{"name":"gatsby-image","version":"1.0.42-7","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-7","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"10d838369f8d4a3999071ebbf965828876cad531","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-7.tgz","fileCount":7,"integrity":"sha512-xAWnLJYVjDEUcaQNNvCIMsDMcMUl2cz1UC7LG/SfH1tUp7UkzG4aYhqrl6SeiKosMedbG0mfuyx/Hs7BIXtPaA==","signatures":[{"sig":"MEUCIQDYyxsg0TX9H0iW1gAdyHs4APJ/JI6BDVxuutBJVrx6ngIgI3Pislk7N3JKI4vfkMvCoDokpyuSFaH01VRnHsWys28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+zqfCRA9TVsSAnZWagAAxhEP/jl7m58DIm6esdl1tej9\nguiJHhPxS0BGKxOe/0bUF1q+7GTEBc+yhqi4K7t4E8aF195Uc+71dwronime\ndOspKPY500Th4eyeOgeStiPH1If4KPooFZGVP6iY9GVOiELap8Kmc+mPYlwK\ntCl/zYVpvolZEWbLBeZ4IPDfqArEqHEAI2X6EG7vSfEGtEG6FL8uXUv5hLtx\nmYO5fPdjKVafIqcOeNpbYd0AakW4sh3MQytHfpyaEAMK7Y6pW4IjPUSh6l4Z\nNBpTuT8VETBkRtoJNfCzz3KiQY5PyqNF2oZj1YsudJ+nk2e/OBJG70rxtTyf\nFUuGkW8Tk2hhFd75mOs1SYiLU2XlJoc/lfIuhR4GT77PwAb6wS5thoWwtYqY\nRD8fpL+Bn0q9g7NzWlMYkEWH3K/qGLMdnny7tO1soiOdFnVTBGV/ASj1UW4M\nqTXNYfSBcAth4qLiv1ZJ/0ohgWz6zs5XgWdWi3qSB461ZpPCIVcxjw2G/40K\n0HpPx6quvgLCEaXug3UQ/XNwIzKRIy+XIj5geJB0wshp5ftmMC1JKACIPv1S\n5D5VYnFiph1n6VegDjjCkCnaQajZgS3IRy3L/voV3riUnIZyBfd+idUycoe2\nrG0+PJCf9UM+BUxh7IX1K8dSUn97WVf8LXR0KmYbXeu8HsNIN/uUu9JgY01F\nIoo7\r\n=jk70\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`            | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`            | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-7_1526413983023_0.30002324536769454","host":"s3://npm-registry-packages"}},"1.0.42-8":{"name":"gatsby-image","version":"1.0.42-8","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-8","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"fee78b87774d8d1dd497f64cbe96d67085ab62f9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-8.tgz","fileCount":7,"integrity":"sha512-7RP+Lc+6ZYL3heDU3XaSRUecsG6x5pv9hAPCW/1L04eJS74O+yt/uj8Gjq6PVXE9qvhOaHnRqv7pSJ3Rp1YlvA==","signatures":[{"sig":"MEYCIQCpIXgx8WFi8qtw6Bz/PEpIrUE82b3QnLVO3GU8oqDXYwIhALsO/o78ppwYOoXEnYMuVEFQEH1G1Xf9iTM48HJ01RLL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/vKfCRA9TVsSAnZWagAAwK8QAIX2hR6wnGwP9m33fFVn\nUkxNg2z1C0n52+VMbKuPDeqhBANW9WxMXWl0ix2x3QndTHIPlhrJMcCvr4tK\n21hDteLxEVWXEZnr8AEsx+GNsy3/xrZSRgdpKOxsZrSfrbmBkwzd5S3ZGOq9\nw6RXPtkmCKIaK8L0LJpxdGxOAaiiZwfE2WfTh+8RIYEgOUMoF/ZYqUghQyjv\n4O6xAbQWyNlUdegUmrF91JrK3v4KKJeIG5nPH7mKK2sWyAw2BdhsKWUmN/vT\n8UWxzE0HQgFGWyx39JAleCrnQKXAcEA4x9fR8SUQI6oHJDE+XIm4EaGVlxLk\nrfenaPHTnQi/GFmM/fZo2+0G/UzBPe7LLr2Scih/r4GzG1JP3iPbncqV1zR9\n5uXc8Ym8YeGCUweVKclxTjTnwW+VJ+Rk2N4DTvpC1DogeVcv884hWIacwRx0\nGO1jax17oeqOYJu7LBLM2so/8uCcKmQQYwcFhbjtLTNyOmm9GNU9SJgfi96K\nPtOIJndkHzZH+kivhOH3o6yVkcqGo1fUhMZasyjsuPKvw9TjhaCD8eDJHOHP\nrOm8c6HbBhaZJdYXtBJfeQZ9EKdSyYJoc6sWLWRwqoyryD8pp7Pr1dQxG8dg\n7b23zYjycclSE7x82H57cku1HMHQ4Imb8kzQ/LEpdNDS5n+JkLVv22GpglGH\nTxp3\r\n=HeKO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img resolutions={data.file.childImageSharp.resolutions} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        resolutions(width: 125, height: 125) {\n          ...GatsbyImageSharpResolutions\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a fluid container\n\nIn the first scenario, you want to vary the image's size for different screen\n_resolutions_ -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple _sizes_ of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `resolutions` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `sizes`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpResolutions`\n* `GatsbyImageSharpResolutions_noBase64`\n* `GatsbyImageSharpResolutions_tracedSVG`\n* `GatsbyImageSharpResolutions_withWebp`\n* `GatsbyImageSharpResolutions_withWebp_noBase64`\n* `GatsbyImageSharpResolutions_withWebp_tracedSVG`\n* `GatsbyImageSharpSizes`\n* `GatsbyImageSharpSizes_noBase64`\n* `GatsbyImageSharpSizes_tracedSVG`\n* `GatsbyImageSharpSizes_withWebp`\n* `GatsbyImageSharpSizes_withWebp_noBase64`\n* `GatsbyImageSharpSizes_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulResolutions`\n* `GatsbyContentfulResolutions_noBase64`\n* `GatsbyContentfulResolutions_withWebp`\n* `GatsbyContentfulResolutions_withWebp_noBase64`\n* `GatsbyContentfulSizes`\n* `GatsbyContentfulSizes_noBase64`\n* `GatsbyContentfulSizes_withWebp`\n* `GatsbyContentfulSizes_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsResolutions`\n* `GatsbyDatoCmsResolutions_noBase64`\n* `GatsbyDatoCmsSizes`\n* `GatsbyDatoCmsSizes_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Resolutions\" queries\n\n### Component\n\nPass in the data returned from the `resolutions` object in your query via the\n`resolutions` prop. e.g. `<Img resolutions={resolutions} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    resolutions(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpResolutions\n    }\n  }\n}\n```\n\n## \"Sizes\" queries\n\n### Component\n\nPass in the data returned from the `sizes` object in your query via the `sizes`\nprop. e.g. `<Img sizes={sizes} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    sizes(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpSizes_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `resolutions`           | `object`            | Data returned from the `resolutions` query                                                                                  |\n| `sizes`                 | `object`            | Data returned from the `sizes` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `resolutions` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-8_1526657695188_0.08004471356662868","host":"s3://npm-registry-packages"}},"1.0.42-9":{"name":"gatsby-image","version":"1.0.42-9","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.42-9","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9ea24d99734e6292381285a0662ac2cf66cf3835","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.42-9.tgz","fileCount":7,"integrity":"sha512-DMqMfo+q0PtjJ/ruuWoItFmoaKWPSYucdXQCyl0JUk1cP20vjL9xlMON+trutQLwZY2ICbxMPGlYXa594ODCxg==","signatures":[{"sig":"MEUCICmbTDoZVJrYMC5UodUl/07naGeYxJZ4tGDsqwvv7Hr8AiEA1gctx48Ae/IY0RzP/52uYW/gNgrkZz/6DVO+jl7CxeI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbD/SCCRA9TVsSAnZWagAA26AQAJ3J3SVz3rhZdr4e2wB9\nN9VIC2UX7NeapVlyLYybmN/SJPUqoBwQDpvMe60nPwT6rSvxcPpS4AyEAvgV\ny1kne4A/8Q+/Vnqayc/DZ2GWn66SmzS/v4WGB0eS7TsI4M4hs1FD+Hoc2nVr\nqBYF30nlNUJr73Sre6wiW4/yjRlrWLnS3jDaazPc2Oin+eZf7Tp/s8JJmiZH\nyYyQI/2O4y4lPe4uXPYLwXy7UPNAPD1AL5EQ+2JUPCSUS8uJ6A8khN1Omwua\n9AX6WrnJajo4bLP0yO/yrl1Lvd36OvhviHM4l2ZU4GlG5ct+uPMy3EiKW+5G\noXFLCyV/euTJHHsKpq0BlOWOCPTe8ZAGiUOJGK85SG+E3X8zbV8eDIMDbDsS\nKmZXQARUIqKYF+ZT7yluMgU1xMfW/SVMfM2kbYcrNFKTCT5qmI0rMXekmQIH\na3kb1QWp8f7q7Wt44iztIk7TieSYmh41n5MCxbpE9fFsv3w8PUkaFeZv6z8Y\n9C66KLvzWP9KkDsmHB94A+xs5LSqkt78W1doEWbMwGDCYBG93/ny52oKPRWR\n3pnymS8r3eak2J/drnRRXbdM37cN+qzmh17eLxn8nBxFY6tBbhUxtLpojGxg\n63BZMlKD0W7FSodzfRnvbW/thYTmiTUbZBwX7/h+/htHpSUZJFncvsebaq4C\nw8Pw\r\n=U9Nl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.42-9_1527772289813_0.05009567139592219","host":"s3://npm-registry-packages"}},"2.0.0-alpha.2":{"name":"gatsby-image","version":"2.0.0-alpha.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.2","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"66e4f2802da372ae800d460a024ef3dfeea5d80e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.2.tgz","fileCount":7,"integrity":"sha512-hk7v1efNTt3UySa5oPo9L1dSvtjvxjyS21s9mNlrfJzFtLlbDRVQMj7ZWC/xd2rBfyYzxfa7sMG0PNH+/O+vMw==","signatures":[{"sig":"MEQCIHq2cQoB7D2SRph4fZZDPjSK7XOvcnZDOzVZGbfHBNJIAiBDyoTpMXLKVMhDN8vHEASs2rIrujvaqj/82qEmpkeSFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEACWCRA9TVsSAnZWagAAyaQP/2xD/Dr1E1wmJa397D0X\nS0kcwsCBlfY49BEQG19Eia+dDpwVlp9Gex0JcVLr6pGJ4sTz+km3le8YZRZd\nJIpVV1QIqcIdOLjF9D6A95/0kvxWYItIJH8+K87iY+3Qi267x1t5GQkQCH0U\nqHO/aRhVGasFeQT2bmzdF+4RUlERurPyNxpJiCe87ttZ4/hfJOTUjbF2VSlo\nuCxk7WQnaiR6SO6GRB5OhKnx/vjWYlDymQbcoxmr3l0+PYrMMp5CcGwJ0nel\n+n8qRq4t8eFiGF90v3WvxqcFDqZFESQ5KROEYUW6k7oOICsZM+IvmCLPfKQI\nMQQZEK5Bd08z2RXLYZVGXdjYhvplMHrNdVHO5CkahN66MIoN/svhWE6dhv8N\nYrJ4UF1BQz6V1UxjsREWck5m+k1cI8yhRcnJnw2qAbH5j1acVXjRemDJFNEg\nEgC/5+O9BfzU5uvZPCdPjFD7nSZDhZEcsq92RM0HXGkN9YHSCq1ARlbwzikC\n954rJIaN2kDCslxWaCKWiEiojUixfePcSMy5ELt0wZIb8jbLa/YYotBEpP/B\nJvp0I91O7zp62mKqBVYMgcyJ1n6M2hAZyJxZS8Ld6qTAkbpw7k0qsnK41h9L\nAwTh4bPucqCEB2SyjXNNAlLxbSP8I5E1009zg0Qx3rYSlP02p4ILH5mYxFJS\nUwub\r\n=BVo1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.49"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.49","@babel/core":"7.0.0-beta.49"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.2_1527775381826_0.131117481408616","host":"s3://npm-registry-packages"}},"2.0.0-alpha.3":{"name":"gatsby-image","version":"2.0.0-alpha.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.3","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f2df21eb51c0d2107bc29c0d97bdd6bb783af97b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-lIGEdoFfNMAWj4so+PKcEP4oaCu/XDm3iqiS6I3Vo7fle1Y+/ErkKxyTY1mvifalSKN3Cwz2ytmH0T+M8fnpFA==","signatures":[{"sig":"MEUCIAC2hudWa6lrhbPerwVWqXMs5oBDF7ad/v6qw6zL8EgDAiEApurvXq+dqyfMyJpFSlaTrhjMNGeBYvabQnabFil7dAA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbECrzCRA9TVsSAnZWagAAbuwQAJxxKu3mhg+vSqJm6fkP\n6xblX0rP4wftqk3CmsJuuDyrMvJy5C1WVQx0pvVmp2hVyZOLIprC8y92B/sl\n+FlgJtWIuaulSy75nS1o2b18VInoLcIqh36ktyIth7A8B5Bgsrk4ssIG4WLm\n+MkeQFbGSBit3Y3/acqFGxELrMquZn4XibvI+JSvflyUi2D9DL/GTKQcUnAE\n1FDqOWAn+hIIcqSGLNhG1jCDZIJPLI0L4D2+brzgsdZq782AZJEZ3bJMamn2\nPE6f6rx1+VbowuPRAaMbOli55KMlMJki4mJ9ws4ixdSg4/+xLCwZeJx8urPA\ntV4BnfIjJyNkx0WyOv8jrCuLKrmi53aCTDrOdiX7POK/adRKkplfYxjVt0cO\nwQeHy8Wm6wNNUwKg9+1rcCDstifCq90ns59SSQ3va0cBo8bUP+cCenOKgeBi\n5fj2nVCR+pLFg4/OJCBgtp26gaRndqSCBJshHUEwx/kHQyPGGgVWCn+QiGjM\nyzrXtHxjoobJ2WX42WSADVqOwtJEFOqgF6BdM50+7DTR76pO5VU7iURbgPEb\nIXEfkOuE9eEw6JF6iO7AHZOq28W+AXjdqPtQhkbjixRr/YzucVV2EPo/PIGa\nC6Cy9GjLfWZw1j1AkILkv2JQ4Z1eveVWpOy6aVF9HL+1wSCd/DeYkoJCKKWt\nQb8I\r\n=+Jwl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.3_1527786225570_0.6708117215855198","host":"s3://npm-registry-packages"}},"2.0.0-alpha.4":{"name":"gatsby-image","version":"2.0.0-alpha.4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.4","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"60696f3393268c6e7cf77140b7663de6cdbd492d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.4.tgz","fileCount":8,"integrity":"sha512-HYMcWPlo3cOmwev6ceMQRRhz8AG7nAi8vhjbzY9XEkWZQK+p6iwrcd6aOSxTqiGbVMGeN7u3FxVDCnFCwJ/VRw==","signatures":[{"sig":"MEQCICxNFsPznZJYGlufuq6dl5d7e1W0TLtFPvpnn+mCBS8GAiA/G7l0HkCGI7yTDVsiSWpxX5YzMsePsnK1dnlPr9kCHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFfKgCRA9TVsSAnZWagAAfwUP/3bo+8YpGGFbT0N9jCMB\nxpQi8+CKxk4dzNX6f70rE0mEgEFgunf0J05JbgQR4PoEmy/msd8YnqfLICrO\nfgXhHTIEMS6p9FVOhEeHEcdDow6Z+XTp465S6Ehuh0sGuQY/Ovm08MFGLoYY\nezhKuqWPIgomaaLqp05YF3LkFFXRAPSoQmeqt/L++Q8605AZmOeFa+C1+oIC\nHK2+by+j0MaYr/X5naz8DVFHDPT7GGb5AB4AWpMECV50Y4oIPmyYx2RpU3Eq\nJvyPDxnAh+4Dqf+UrdXx57FykrHFn24hIZO8gAPaKdFKaie3+GfGdwl5aOP7\neSAf1rv7RsDf0cfk5CgpehRe3UJuXv4c+n6jYMtdYUEUShnchdKW0wN5+D7u\nfyFXcQhrd7Z++YqQDTrO0xOhE0WsN1keg7FGT5jnZxjMWRBkpmNzw/Hv94+f\nsDHhS44cmmPzEmgpWvMPo0rOhBLO5Q2KANNCNIfOvl/r1UPW4cW9WXvACBeH\nbeaVP4FMj8B823Ln2CeopqOXNM7lAHEhgg7Q1l/SShPQ09dwfjjdOVDG02Lw\nt+83yRpxXXLLSuabZYcTgWbUrj9R+ujttlZpviH1wBAORpyPq6I2zhPYMi8n\nics1HoWHJsY+Ev7AZ+/ZqNr2LwdQ4HYMgugjvCdcwqs+owJWje6+CxSqagqC\ny6px\r\n=rWMh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.4_1528165023653_0.13168142445385933","host":"s3://npm-registry-packages"}},"2.0.0-alpha.5":{"name":"gatsby-image","version":"2.0.0-alpha.5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.5","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"28a11e19e6d19b7fbd849de3c8a9f5ef73a11784","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.5.tgz","fileCount":8,"integrity":"sha512-L2bgCpU6f+WqJ+xaxssOrf3ErggdrxPW2U8UsbvK8FeKqJbuCEZif0aFl6r9f+oQjkwQ/MobLUiLmWEyKFFt2Q==","signatures":[{"sig":"MEQCIC9dW9D0WeqGEoWrSE7rytFHpKqT9kvNBPJ+NACZMKVbAiBMce4JlA0ygYQXX3B6ZVckoPGWu4jyRM44yVCUJU90xw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFxRUCRA9TVsSAnZWagAAJ84P/1jSkVK1oG9qNx13IbTG\nntut9bN2K5D/Ekc2jnVkIy6rN2ZrRY09EAoBjbcltR/F3Lk6pIdCmgibdr+5\nCmgzUb/4NVaAW0IEcFdXpPQTXHqj/h7JUfhLFLZoS4akIMB8ROwlwmjHGElp\nAw7m1C+KvxiXXXFEJJDG95EPBg1FeLkbw35KHkMFZJrdeMMU25KZjyK2TyY6\nBDCkv93FYyBgEs+ucAEBMLPV0prxHlGn7z+UGuQwP5uZFK5JtnPXKMBKZhF0\nMGA2gIimEZv44PAA+xz7PKsGxIcLRW4DWXim0y9LrUC3ro/olvJ84VNwiUkj\nXq6d72CH/6uJLdPtOUPcKSWLCblunJlq6Flq+vIFvswtlrSbM0T4+BUvm+1i\nlMaVKq0BrPTc1B6+YyOlw8ZhrBXG3PipQIofg6O52WnCRr45Stp7FtiWijzd\n6NhteEq8m6mmP6jz6yEBy86XqR0G1NwT2AnjOv0s0deQaQONeCKBE/VkHfGf\na/BpQ9dSmN8+2lwLOYsWuiH7iKkPouGqq+b3SKiziKXlWCRgcv/EzOyGAjW7\nESXsCSyhDTDdcT8ZGXqsDYM8NEbWkyjMNEiGVjGsz4wpZEMvuDoNPEUaKs6D\nA7/T3nXtmdYXwSqnYrf/2upt/NAXmwEExIGhF0tq72E6ZzYKfA0nMXENsHr/\nZFAn\r\n=+0Jv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.5_1528239188256_0.9300780069612271","host":"s3://npm-registry-packages"}},"1.0.52":{"name":"gatsby-image","version":"1.0.52","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.52","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f4fd8ba3a3c3d3b369bc7ed3383a37fec5a514ae","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.52.tgz","fileCount":15,"integrity":"sha512-wSysgEUNgkNGgRqyd5PNfXBXW6QXkrwCvHONnRkVYl+41w0JZ5cJUEbAC0+rb/5uRIazRblrsZqlQVsS+s0pFQ==","signatures":[{"sig":"MEQCIB1mCOwCw2OItYATThLatx5InEiSmswmXSzsMpFVTVHUAiBSmNscftkofERUvdHpcSt9YSCRNRYX3I3FxfcnvU69ag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGF3PCRA9TVsSAnZWagAA5RgP/1LzjHlqkTCWiFXrJIBZ\nzsfelWogwLtds1GECDmmQQvybTyxw5mi8Yyz7QF9lfrjLJqGUsRwIYe61uTg\nFCjYzoJmirCf3HNLEitJqNil3DqOD1wJLeugmLi1eYLlT3d9SFS6C6W1dDLz\nZYVjseI01VBrnjTQp4UST+c0fHMTOPD4kDHQF1JNNn8KPpUyaYsUkNmHyFh3\n0SbIARXdzuk3+2b2WWcyzFHCSvQ4PplK7shODO7jyIBNpWr6dcltTjLRxwjB\n+CFs97OAVmQ53SpigVQekrHpFCaUuD7QEQpxsrSGcNfA8fuCtxcY5fegUjO6\n0xmMYd3X4QA719Q+ig/a0GA4lFQBqoTULBm9oR1KQnTDpRRyeAkZ5YIaAuAl\nFTk0iyfgAA4+EFnEzJO8wC3uIPlL+dXl25xTcN84gXl0cXdCZZf6hPssbw1u\nnVbkz+gknJQkT2sFjVaLkQwk3OIQOaqeWqjrglxOuRvX49xaZttnUny+3F3N\nb3fZHfW3gOP28XLscMMimVntXekeqIgHAfRCB4dSaSFJK/CZ4SqZ9y3rDbRV\nkc4oQU9lLeSAYZlM29cXoRPSq9fGJGhlo7lVMqolXkMdUYSeG6BSYsP3wu27\nUXcdb+IgAITi2srTrExkBQCgUUhTgc7WWEnb3+RvXmBB4Ll0Z/bYjxavHWzJ\n+0qL\r\n=GNBj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.52_1528323533554_0.4957406336076111","host":"s3://npm-registry-packages"}},"2.0.0-alpha.6":{"name":"gatsby-image","version":"2.0.0-alpha.6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.6","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"32badf29932595274829de6739fb83b0521842e2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.6.tgz","fileCount":7,"integrity":"sha512-T9AWJ1fiUpGZ1IUzhcl7B1dJZqvjxX2jyg++vczQSvBlhlJJshyU1YiHYk9DBCSogTt4U+//7JFjCPPuVJVtNw==","signatures":[{"sig":"MEUCIQD+1Mpi5QCpXdl5pFrYI8NGMYKbZJ9VxTly6wAdGXbGzwIgZ7wPNANJ27rYOq97p6Mhkst2iwzBXrRy9RhPvRqe/Zo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHpNbCRA9TVsSAnZWagAA5swQAI0jMHBm/bIF+hg68B63\nljCLtc3oSRTyLiXC5IQ1yNWoakIdeM2Ir9YfJn6pJCOdp8qr4RW1hEhmnqVR\ngpXRkfVFIXRv2Gloal1HHSpSB45UrqfCB4YgbB8loJsFOlGLvmmpSwG0gm+X\n7cNAeoLqMSklwn5JX1PHktGAMb+vDo/eqhiV9tuZ9Qzo+E9+Wc/Jt3VFYsg1\nTcRmBkaEdO+eyM0X+8egu/OxX8rxVnwH/WRMyycFtkL/0ezXyiSWZEQTu+ke\nTpAeGqdwBRY/hFdxyZje1BfEEo03gY6sn2aQMGv588gzGJEH0oCMT53pAJo9\nNguj2gr826cae3lgo8ZJV/2q5479J5EmJMXzwkEuE3Zt1m4Xe7JV1d+WzIt4\nKEjfVoelKAWIyKng2gPXkI9HNjlLfCCcWkv2saXx8vqJjT8oejJka3TmiVt1\ncj9n1qdw8IZ+ET7kYKM4jt5XOZQ9kk/yvQebLMNkVMYFpwAUhRb1vhlXTdtU\nmWqCJM4Udl98irOhpiiyWdTECR6Q31+f1OW3mv4UCYxCq5d7xQqesUIzBCks\n/IS/LXg5gMIGPr2zrBJXiSdMcO7C1NO3ic/XXL5Or2idHpBdxKwsfhUudTcp\nIew+zL714ZoXoCiyLAbB0LbWkm5sLnNbPPAIEYyDc/DH8Mb10QS4Y4SLbDfn\nLddl\r\n=oFVR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.6_1528730450754_0.8365439344865973","host":"s3://npm-registry-packages"}},"2.0.0-alpha.7":{"name":"gatsby-image","version":"2.0.0-alpha.7","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.7","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"a45df4113c3d1ce708ef13f785e45fb312676972","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.7.tgz","fileCount":9,"integrity":"sha512-e6810a7IhR+DnttWc5ER/7HV7Fd2thNtNyzeqnIpqbAFR6tU4XtFmf1QVc/m5EcLk4EDn+j6L4ZyCiNmGzKuhA==","signatures":[{"sig":"MEYCIQCrxp3ri8UtO+WhoWXfWgjyX4vHr+ui3dUWslmDoy786wIhAO/VYqZUQRIGDOpm5RU1mOzHx1qbdZ1Gy7vqMPVHsRL2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHqkUCRA9TVsSAnZWagAAbZoP/jTQdWquKwJ0BfCL0JRh\n6SwewRBd4k17wjRDqPq0xyvL6AIdVm+Oo6ebPYlL6NO7LVWVpnRdfDmQkMLL\n4XCLgSMbckLUr75yh/4nN1mGI4x1y4m+Z2F1mMSGKhtjpafRotgW28cgXQ+A\nJAToCAnLXTwiTQJAHBxJ200C4Ntx4NwnwDCe6fxdOvEgAE9xDnE3OTh49SHc\n4wWbMUhnOe8+Gn1NPYunTV8k3jSTTSjeUt3a+n78auHoRTaaeIvPi+Hunku7\n+fQdmvGszmz5tA1Do8DD1/orDdw3MYP4KBiS8fFE7B+1HzEIEXVyeRMIS/xH\nrZx6WEkDUr3NUYkQae3vJkxlnzy4vcd3MGjJ/o/GiPcIaDv8yl0JGzwFspo5\nzH1gxTtrWX4FBDUMmLokFoXZXxte9wb6F+eeOX7+NA4mPUy7IXvZmLQdVoJa\ngR7a21g9L34ystz2coB8PMz/y2D9ZMOpBs0PpbcQPwWf9p7lqWK0olSymM3J\n0NuJpQSZOyyUhtI4rawaSCWz4JIGkenSk9Ev4KkGokts3x+VXG8FeVG4np+0\n1nX5yJgatgke7ITkr6AlBYMfgASpoDHaS9K35bstp01YoXm5JOqXZQtBORsu\nFZRgs8bwgMov5o9wX92Tgo8xSBbIjdBOypz4McG12HW8kKNs3DfpHfKB4KmA\nBiWF\r\n=DX6D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.7_1528736019968_0.42937824437556404","host":"s3://npm-registry-packages"}},"1.0.53":{"name":"gatsby-image","version":"1.0.53","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.53","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9bb74c48319e63b0af11b76a8f2178bf936138ce","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.53.tgz","fileCount":7,"integrity":"sha512-I6svKCacE3Skukv3XRL+bLSxnpegvcfWyI8AhvFGKvs+hW0eKUJ3eFR9ntvtVR/DcjjLL9M+YqazMv2WHSv4Xw==","signatures":[{"sig":"MEUCIFsRvZmt0ylI1QPTLWR79ugRJjaWbSWURCXhY5PpzV0OAiEAh0zxFkuSDKinipR9AjIbmtGDtpwmK6WONIc3MSowwgw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27716},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.53_1528967038839_0.6293785663642124","host":"s3://npm-registry-packages"}},"2.0.0-alpha.8":{"name":"gatsby-image","version":"2.0.0-alpha.8","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.8","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"7d52c587062d78040fab8ea6632d7e14429badca","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.8.tgz","fileCount":9,"integrity":"sha512-6KudCZWTGfvLok63RFAlxS++xSP2brwZSKugz3U9qbY+Wbdn3sltXbG+OqRTWdaAGvl7aVx2Ei88NxOBINR/cA==","signatures":[{"sig":"MEUCIQD5Vee+1Xn5faGuD9ercMEaqBi8zqL7UhpUnbA05BvrfgIgItOamaAehD7Xa1e+lrDRZAbn5apxRlY012zFvHtFklc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41155},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_tracedSVG`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_tracedSVG`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.47","@babel/core":"7.0.0-beta.47"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.8_1528979971194_0.9090547663818762","host":"s3://npm-registry-packages"}},"2.0.0-alpha.8ac171a1":{"name":"gatsby-image","version":"2.0.0-alpha.8ac171a1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.8ac171a1","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"7286fc3274cdb455389adb5df6b6ac9708ad8245","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.8ac171a1.tgz","fileCount":8,"integrity":"sha512-2wfId2i6Z1ZCdO7CZeMeSDXbQ08BvMsWLg0IUwF6kq6dFDLnrluy22g8I7LylObioJfbpgjMRcOZo8jNABvvPw==","signatures":[{"sig":"MEYCIQDdhP3ZSvI54sQJzCw/AJdUn+PBVSEKZ88/fGjlGUYGQAIhAIWfbvcWV6zR0iwtM4UxOTYtuByUnAiRb4IGhexkPWTe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28472},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_tracedSVG`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_tracedSVG`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.8ac171a1_1529177087916_0.9215303609591723","host":"s3://npm-registry-packages"}},"2.0.0-alpha.e328d33f":{"name":"gatsby-image","version":"2.0.0-alpha.e328d33f","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.e328d33f","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5465ea78823a784c25f820727da759997d5c35d2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.e328d33f.tgz","fileCount":8,"integrity":"sha512-OObstxjfxsvaczE341rtEQtgMJdbEL/vu8NrJtq9vc9MULye8/h3uUCDe+Jp2mOEhnB6B5BwE4O4Isfd7sK7Jg==","signatures":[{"sig":"MEQCIHCt6IprychQnz1E2a41FNU8j8Dzyi3FPEUfHPA8GvLFAiA0rCRRqSmod+It/rakx/VE59YOFUI7CHlU16tCMIRroQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28472},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_tracedSVG`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_tracedSVG`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.e328d33f_1529177529013_0.906677438596099","host":"s3://npm-registry-packages"}},"2.0.0-alpha.80a21f04":{"name":"gatsby-image","version":"2.0.0-alpha.80a21f04","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.80a21f04","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5b304df658cd549bdf0887a87ebc08ce86eabf3e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.80a21f04.tgz","fileCount":8,"integrity":"sha512-bkp4AzrGauBDtq0NUovC6TncMrrVsqWApIDov9mMo8tmLV6cRwcAVhuNJR+jhBiMilpCUQwi7jMldCFPS3w6ug==","signatures":[{"sig":"MEUCIFgG7BxJqWn3Nkj63bpImV2dj7+l+6o7zuqCxGD84zsBAiEA4uZsjLCILheJP91K47aT6is7mU+CPLLez0wBRanQmLY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28472},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n* Resize large images to the size needed by your design\n* Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n* Strip all unnecessary metadata and optimize JPEG and PNG compression\n* Efficiently lazy load images to speed initial page load and save bandwidth\n* Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n* Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n* `GatsbyImageSharpFixed`\n* `GatsbyImageSharpFixed_noBase64`\n* `GatsbyImageSharpFixed_tracedSVG`\n* `GatsbyImageSharpFixed_withWebp`\n* `GatsbyImageSharpFixed_withWebp_noBase64`\n* `GatsbyImageSharpFixed_withWebp_tracedSVG`\n* `GatsbyImageSharpFluid`\n* `GatsbyImageSharpFluid_noBase64`\n* `GatsbyImageSharpFluid_tracedSVG`\n* `GatsbyImageSharpFluid_withWebp`\n* `GatsbyImageSharpFluid_withWebp_noBase64`\n* `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n* `GatsbyContentfulFixed`\n* `GatsbyContentfulFixed_noBase64`\n* `GatsbyContentfulFixed_tracedSVG`\n* `GatsbyContentfulFixed_withWebp`\n* `GatsbyContentfulFixed_withWebp_noBase64`\n* `GatsbyContentfulFluid`\n* `GatsbyContentfulFluid_noBase64`\n* `GatsbyContentfulFluid_tracedSVG`\n* `GatsbyContentfulFluid_withWebp`\n* `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n* `GatsbyDatoCmsFixed`\n* `GatsbyDatoCmsFixed_noBase64`\n* `GatsbyDatoCmsFluid`\n* `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`           | `object`            | Data returned from the `fixed` query                                                                                  |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n* If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.80a21f04_1529177788785_0.3094355140247049","host":"s3://npm-registry-packages"}},"2.0.0-alpha.9":{"name":"gatsby-image","version":"2.0.0-alpha.9","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-alpha.9","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f2378c531fde366a46c059b3b2e7e59cf79012a8","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-alpha.9.tgz","fileCount":8,"integrity":"sha512-rSoYuu6YFS1GTOmKILtRqYWXVpDRMPhKnBDrW9N0NoSo+LEkdVP8Rl1DaADNe4IJZHH5T+LNkoqlcxUBiyw0TQ==","signatures":[{"sig":"MEQCIBBe0aWiw2vK3vVQHLN/ikBwAlKE1NCpqePyf9OxXDw1AiBqtWNeu4s9J+PsrZTdwd6RHP6yz6D+lxKINtbd5oY6ww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28477},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-alpha.9_1529191930657_0.11275532369648511","host":"s3://npm-registry-packages"}},"1.0.54":{"name":"gatsby-image","version":"1.0.54","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.54","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"84ab7d723e48a031eb698d8552ad331943d369fd","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.54.tgz","fileCount":15,"integrity":"sha512-E6v+jm4IPhkDuwl+3ZCo70tRaiArr0W75DNzLrMJE5gRH7AbV7NN2uh4XJWZ2Uppmldtz50PDUcyCLEbzGTYNQ==","signatures":[{"sig":"MEUCIQDvJZWiVfXc5GRNf0ham/gkJB3vTd5YMW5hdPOggc0JpgIgcgcR0IHoDOTZmNbGW/6IAYNciz+6fn1cYjQnN+syeGU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112973},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.54_1529200384991_0.8280406166223666","host":"s3://npm-registry-packages"}},"2.0.0-beta.0":{"name":"gatsby-image","version":"2.0.0-beta.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.0","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"df237b27a9bc88fa08bca6efdb0eeecfac008720","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.0.tgz","fileCount":9,"integrity":"sha512-Uuk71QoYc4k03ps6njNfcbW2SGb3GFDSAwSBzkDNTtvkZud2tvbcjNsndOETZBpXsuwcSdAu+lI8l3xNDbd4dQ==","signatures":[{"sig":"MEUCICMD0O9Cn6kpgO2HzyOyD8tGM594VcBWofF3nPkFeFPfAiEA7WXYT8OpxDehL5yjBwCUo3ys+YbHV46uAAn2bVHqA/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31007},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","gitHead":"62bf108b5be5ec7c1d16b92c424209514a66ec90","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.0_1529218419400_0.49129039458124835","host":"s3://npm-registry-packages"}},"2.0.0-beta.1":{"name":"gatsby-image","version":"2.0.0-beta.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.1","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"7e02dd4f847b5d1bb03b8867c08b396afa58582c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.1.tgz","fileCount":10,"integrity":"sha512-StceujQh2jKlHLJg7gp2dRSBfV0inMG0I+TuqU74YFGsJGo4Hy8hy2NHZt/a4HPH5JUZJQIVABBO/zEw11QyUQ==","signatures":[{"sig":"MEYCIQCLrXWVXVz/mANp4hp5z996Fu2G40IvgqjI0871m1utDgIhAP2r1nG1a9f0NvNhJkeimlyKjbQNpaGoyMEVqgf80lPQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29184},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","gitHead":"2914d2ab77b13de04cec7bc5250b6505f2d67a62","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.1_1529223155997_0.7849805058837016","host":"s3://npm-registry-packages"}},"2.0.0-beta.2":{"name":"gatsby-image","version":"2.0.0-beta.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.2","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2f5b8b777d931c437667b2558a91094fba62b62a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.2.tgz","fileCount":10,"integrity":"sha512-w+Un6Ya6TtRfFjACYYIj24GikqJr2dJihXHmKElETheTcTd8pX2gm+1fopS2+vkX4mQwOxUxqQNIBD6uKV3/Gg==","signatures":[{"sig":"MEUCIQDBfq2OD3ZWUPD0NGhmvCz94orjqQPZlTVJxCszLKroQQIgDWlW0+2gYO5Qxtgr5n7fCippI5wzgVeV5GZiKy+/uc0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29431},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`,`sizeByPixelDensity`,`pngCompressionLevel`,`cropFocus`,`greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\\* Images\n  don't load until JavaScript is loaded. Gatsby's automatic code splitting\n  generally makes this fine but if images seem slow coming in on a page, check\n  how much JavaScript is being loaded there.\n","gitHead":"202a8dd21eaec6602cf7a3902a8683341071af27","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.2_1529527513335_0.3203960397494088","host":"s3://npm-registry-packages"}},"2.0.0-beta.3":{"name":"gatsby-image","version":"2.0.0-beta.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.3","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8b8220144f1da083ae2bedf3a1fd26268ac42d95","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.3.tgz","fileCount":11,"integrity":"sha512-ebJZ4OtVD29ujVkHwrPGaVKgEsGVpqQ+UDTD8ySkWpmbMTUs+rwJ+w2blLKv7Bj+JEdgDtgMPtuniamwQdGB4g==","signatures":[{"sig":"MEQCICIT+e9voZEkAP48egbK1D7Zo/ixdAbP/e9noWMIx0CaAiBgRhWhlgl9+Ee2zVbLzt7O93ckULzkLgK2f2DoX0Jutg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42373},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string|bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"c1d86bc6080116683eb4c4959182c0bbe25cc64d","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.3_1530261604237_0.9674831335929821","host":"s3://npm-registry-packages"}},"2.0.0-beta.4":{"name":"gatsby-image","version":"2.0.0-beta.4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.4","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"1978da2f1f5d125840c536b587bd6e1080eab948","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.4.tgz","fileCount":11,"integrity":"sha512-whwLlxTKWUhRzfanXcYM+T+2/LE9xiPcI7nz6SuqFYwi9mHsTUNQsddRnBeccuMnfzZznA57//AdNsbdv2IGvQ==","signatures":[{"sig":"MEYCIQDsqUO7pb4KvZW6FMIl4izwMH7Oc82laGGYwsV8Dt3ktwIhALFLEWq2bUxNyS2tRJbyPT6CekvY5PQzlURcJSnvNPzs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42626},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`       | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"a4f3d1fded31efc4ec7731303f02da3d676ddfed","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.4_1530526936104_0.23263723675072323","host":"s3://npm-registry-packages"}},"2.0.0-beta.5":{"name":"gatsby-image","version":"2.0.0-beta.5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.5","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"086f079b5fc84079f0fd3387a19fc48b4cf72a73","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.5.tgz","fileCount":10,"integrity":"sha512-8NAbb2ErpwrAZz72Q+3Ar7BRe2mQIOTpuMD6cyZonwYenf1rS4K4kOuqLxTnCbnbdRF+azjERUMTcJC/N7hxHA==","signatures":[{"sig":"MEQCIBFhQ98103a1DbNVtUYqPdFfSJQhTEatEuqJmR+Sra9NAiB7aF35Pccm3hBmj2VUG9xEJZcC5PcNTmd1BQL81dypsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30168},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query GatsbyImageSampleQuery {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"ff7f3a291fc11ac9d40ba2dd4a54c8a13f1f9270","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.5_1531174352286_0.18191554632535922","host":"s3://npm-registry-packages"}},"2.0.0-beta.6":{"name":"gatsby-image","version":"2.0.0-beta.6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.6","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c23a51405d87091bff62ce881a877cacb53829b1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.6.tgz","fileCount":11,"integrity":"sha512-keoqa6aTlBPBqFkz+yEqUpkNMsDeDMIIy8GS8qHM64mg2HQRdds1feBdmZKhnBTsLMYaYGmzrUVF2wCzDCc14g==","signatures":[{"sig":"MEUCIQDkkjGxqMCVl7IQvUNFLmdy950SxdvxNibLbHRiJ6iyLAIgDrAUj6xwRDlcDRsCqfcMEBZJienucpE65jTjSZjhqVE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43082},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"1e449416b0964f9a1b4cef3284e16d3a6d13524e","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.51","@babel/core":"7.0.0-beta.51"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.6_1531404088211_0.7767185081153294","host":"s3://npm-registry-packages"}},"1.0.55":{"name":"gatsby-image","version":"1.0.55","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@1.0.55","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"716c7f44d9949864c55331bd3316b751c94ca0c8","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-1.0.55.tgz","fileCount":10,"integrity":"sha512-czX2ovq0TcHrL81VpvQ0vP2mqDC+YInBImFOOrs5dN9wUjNL9UxSJUKbHAJs1WIqX85nSIK/Z0LAMi0YuszvkA==","signatures":[{"sig":"MEQCIEujsoMm3qyVp+7pmh/6oprEg9gXcqCdGN+wZ44IA9GrAiABv2IRdQAdlnR/Kp6EllDtqFa1TFmmyXqU4fBfdpsUUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41579},"main":"index.js","scripts":{"build":"babel src --out-dir . --ignore __tests__","watch":"babel -w src --out-dir . --ignore __tests__","prepublish":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.0","babel-runtime":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","cross-env":"^5.0.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_1.0.55_1531923901455_0.9991889690730611","host":"s3://npm-registry-packages"}},"2.0.0-beta.7":{"name":"gatsby-image","version":"2.0.0-beta.7","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.7","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"da6723165861baf1f67bf5192323e846b32d64bb","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.7.tgz","fileCount":10,"integrity":"sha512-+eptlThrbIW32ktVWiTI3WzP+/9K+mhH8jZ8JK3R+yVjuvoEIXF9GJzhjx4d1VXJvG9zgXiNafkoANmcg6sP3g==","signatures":[{"sig":"MEYCIQCnZqjHiby/6QeIKF6LGKOiEn1IZdCU70yqPwp9AaLaxwIhANkBlmMwVbpbTQVKe8twEYOjZtw1jWHSU1DuapemvzMm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30637},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"0d9f892e5df04e7c38e3ca8cc32946d35e5dfc0c","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.52"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.52","@babel/core":"7.0.0-beta.52"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.7_1532188796662_0.1256622173911408","host":"s3://npm-registry-packages"}},"2.0.0-beta.8":{"name":"gatsby-image","version":"2.0.0-beta.8","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.8","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6815def2cc962beeeba0e4e4e78645a80f551409","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.8.tgz","fileCount":9,"integrity":"sha512-frKDoy9W9o4FMOJNWsUmg7DfvDn4mkE4eU65abxffLQA6hGNiHhTJz9rrWOVkRCjWMREUMWzyGeF3ojRcu09lA==","signatures":[{"sig":"MEQCIBR/3r9A6ka6vPF0zcy15VaLBil0G4AuVPU5ASDYGIsbAiBE9hEqCtz1VaTOm6icw4kgT2MwC2fSnnh6iijpxhRcpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdJcRCRA9TVsSAnZWagAAH4MQAJczDcDOTeiYeU09vTJR\nUrr/oT+r4X7i6TOaKuoePUbi4uW3MCnL0LRYHzwyn9Jbh0fxRJHrBQhuBqvk\nwrU/4qRnEHBtJq4LWPmS4PJibh61mF0eOlTn6kKzLNpjA0LzyAatQABAkXLc\nCZ+pZf2swuwWgutecUu8Bq9UKduLPJhCp6BHolYz19A3yzgYhUKCP/jd7a2V\nn1YgpB3Hr4qE5akamwa83WPKxOn1uhi95JrkwaJMpwJ0war2p3T7eANwONrY\nXU+ub7HGuaWcl6ZVFotc/SM7ABP6AgQhs/IE/5X9HcsZmq573FiAr3UVhLdR\n9Pszz6+4zUFl9nbQ3WfEZIDofLBr++xQedqOeBuoSj1wGhyqBAUdK5F+bEGC\nMrnTCh18SfxHnWvwG01QRWhyygbfJtNC8bTLY85QtQ8vkhJYKz7cwXQwsGXm\nppXkYN7PsMEI3kR3G5HWS187ZeKdJcX5gupq4MZeQh/bBk+5t8NFNP7So+sA\nUL8PqEcFk6dro2itnhamhOoIykJEV9KB5e7NKFIZ4pZWnrBADgLz74aQShTQ\n+B25XaA+5so2ta9g/+LSmpzLgrAaVe/bkMmG+h037H1Z/q2E6YfptjXrxh2q\nnmhVwQE6MqhcEOy/wJtg+AAM0lzfIQxuVJ16auBQVRHOfPJS3pgGbC1oDV67\nz56n\r\n=kyAR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"d938035f85f0fdba2522ff229099a3410f06d2a1","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Gatsbyjs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.52","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.52","@babel/core":"7.0.0-beta.52"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.8_1534367504980_0.6947220656790019","host":"s3://npm-registry-packages"}},"2.0.0-beta.9":{"name":"gatsby-image","version":"2.0.0-beta.9","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-beta.9","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"a72264ab6202fe606f5a13d57187b060d2727ac2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-beta.9.tgz","fileCount":9,"integrity":"sha512-XpHDI6Xq/DcrEwfiqiAmGOvYidEWogC3DFum37loBYN/06UsYJqYeM8AZNPnvCmt9HdsKFzp+GO+/zc68N43Jw==","signatures":[{"sig":"MEYCIQC2A7/gjdsN8hwBRIWVDMgEElxdvaBN0L++6PFb9UWbbgIhAO5QMrlO2lXr7SsHc7rWLBd5KY4pw4+8me2dYk682xAA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbexwNCRA9TVsSAnZWagAAAI4P/RjrN4YfvguUDtEC5OS0\nc10wb4Jhejuiw/gCDTresAwSiajMQd9y78FdqIEtjtbMa4RqGfYLHBHbXwOG\nNe2xCTjhQBdBrcErwMfCzz4CDc3yCglQts9aDak824yRqoNIDliQlCDNzSWK\nOmOA4nw1Wty0X7MavIbS8AkTQcvXSWjBCtLyiZtaOdrvvQvZJgsoBQZfSd9A\nTZLgy4SWYYml09f77YiKfc0SKvWXJnA9qL5bTDy331dkPw67GwKATDCGSliQ\nqy+IO9FGRyG+rcKXNo4JqOTrwMRzDLDfjJLVCqwTclPbuaBzl/ReiE2fP33V\nlcKmsZIlMiSMbtpL8dac2kOWIpBAhdvY3Z5JdyYjtMbN5qyTCHB9y1nK3J4d\n+0VCLmcpVlQdlZLVLO0/DAV1peIkgB5a40Nw9bSEkhefyoOto+cqydbdlOBm\n0MLUYvTQoC5FOasgZUta5LfYxScKdxva5ui48Wu7vx0DUTS0eeJvIdAtB7zU\nBFKNbkt9OcuAYRn/YwrGCaPg/NvN1ZJNY0qQOqvNdX07QPM16DK1qdcva25R\nnO1vHT8GrhWLLC1vzn/AcKXN+xgKXBEBizV9E4DenthvgDfSUJuAGZYsxy2k\n3CIN0PH7DRJ3wYr+8wHuf8HahuhWO1A59S3fwbu6zULVNJw0hWkBF+QBH9Dh\nzrl3\r\n=AWp+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"27cd2a312956298cca555424129697a027a0429c","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Gatsbyjs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.52","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.52","@babel/core":"7.0.0-beta.52"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-beta.9_1534794764641_0.6723798712528715","host":"s3://npm-registry-packages"}},"2.0.0-rc.0":{"name":"gatsby-image","version":"2.0.0-rc.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-rc.0","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"de029a8d55cf85747adf41cdc7fdea23f684589f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-rc.0.tgz","fileCount":9,"integrity":"sha512-rG7RRgrvGlG8Rh1bvliN3UlukD82CuucIc8QqCrZi3tNz7fev14mJ2Eo+k+edUfQAdWCgTUbq6FpkrCs26pKBg==","signatures":[{"sig":"MEYCIQDVFfFw0ymSyGspm4V0y6le9ZmblqCnK0Ceejd7WlxihgIhAOKq++ZCfEU0fzVgWCczm1CzxrtNee8ux7waB8xf8d7q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbe2ObCRA9TVsSAnZWagAAseYP+wUCKFB6UTy4+cDeG5IR\nq3uZqKZo3UYuW6L2MdJ6ukZs85Cg7rj758BO6DlFdCKzzwCiIYuLwFCz2MH6\nhQQXQZaLmi2RzvnhPvD1iLlksWdivM2IXJd2cf/TN2h8eziCI9FYdAObLaBn\nfpss+hYY9mLNeANEMnPWIYvjMqAMEuPqTiVcsVS9Bgi8fFedyerb6QQNg2Xi\nAKrM8Z11fBbJ8ocYQePDxk+jYgeBzPGCV6K42y9+gzQX+QsYWjJs7/iHjyT3\nARynjLJE5CtOATlkTWEIU7bYXeTV2O96HlyKH0nxSILws/aHILbIkegFo29y\n7IB5uxPewui86elIvR5ZWqutyLwonwGvR4aM6rIlnX7EI51A73bsnvtMqiNv\nPQmiRJaNrZzmi3FnRf1d6H6JgCoIOcfIBdUL0foxxk7NB5ljY55trel1RVHN\nrrghYrqJ3omHFXhC96iHq4VUEW0jii2AHCh+byXDPPfUQqSo33lZCn5JLhsc\nHzc6S89bvLqcQJMSS6dzqYE6QvTpIFIfnbRXNqju2cXxipldH4co6LrwE+zZ\n+gDwvAkfzW0HIQhX4k6pOO8QBysilyw3i7U2hoFqrMmDTCSGpcmusrBFu/Fi\n/OfkVhseDlqTbzhjIHVYr0a/ndt7yxMaxRgsewcNTKpO3Q5egPpHpZf0lqFF\nJXEf\r\n=HfMd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"1b29c4482828a533a32017a624d5a01c8a8a01da","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Gatsbyjs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"7.0.0-beta.52","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"7.0.0-beta.52","@babel/core":"7.0.0-beta.52"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-rc.0_1534813083008_0.00019415638189368423","host":"s3://npm-registry-packages"}},"2.0.0-rc.1":{"name":"gatsby-image","version":"2.0.0-rc.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-rc.1","maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"956a4222fdc1a679c2f0a2b1ed8a91c325d6f73a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-rc.1.tgz","fileCount":9,"integrity":"sha512-9P8F2NqzG+ccVEMgPiUEenZG4qsy+m3nLaquBjfLV0m0HnKDs58H2U3Z15wkRWV/99gFm2ovywJsOg1YqF0zdQ==","signatures":[{"sig":"MEQCIGQaoBGcPXY4hyOL49v75++oLpbHbklii0sW8XjNTznUAiA16nyOvVpL86KwsoUXzvVlbxR5T0q9kQClwhJtirWkOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhuXCCRA9TVsSAnZWagAA+u0P/i45qcpK/cq4I9r/Sg4R\ndztoq1W8yG4u5mmwGluC/hr899imoWiY9Xsq17mYOUrNp3eNhiVSMY5S+M9o\npMbUUWQU/xQ22Y68cyZ3HnAavqM2wWYafuKQLuiGj1whTdNfu0Q7bXS5AzR7\nnoB1krTQm9o6Vn3Dl+gCx2NF2cjsJswmaJ3IsaG/Sj3ogJ71sOcqIY/+kOgZ\nZNDTY2+t9Adlhiepi1H6dgzLsasUXO6tODWLRrOWkGlCY/Wue4s7BSDR9p7B\nOehRlARoKQwIGi4oQP4mBif8A2Nwhvg4lTMzsC0JA9kHIw9nLW0MxcNd0s/6\n0rmqhsOAL65Z/5alM9TWp3oCnOi7oWsa2VHFKmjgElDvkqn/Ail9w+1krplF\nTCvAfJDJ4tz48o4mdxmAfP36huiqR/AvDe+VLUw2pSnGiYlFj7W7WQYJwy9O\nTkImkTedlgkba4QTlZaOeDU1cABGmlNENo4/I3/m/5Vy4DcYbRUX0zEH/XHj\nkioyBf6fHAiLn5V2Z1EmagZbxshLvy7rD5wiQ67/B4rE5bwwVxUcBKUoFALO\nCPtHntc+SavcQ1MPpwiBxQX+2oSgr4sBQESKn0bePXONBggLyUyDQyzxH1IA\nt6di/mZZjHM/kc6AckD6weWNBa8wBSR6opFDT9pZdq8qYN2vdJg75gW2xA1y\njmEQ\r\n=UHMO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n","gitHead":"a8a4c69c97d9d7f59a7bfb50e7d1fbd463d2e012","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Gatsbyjs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-rc.1_1535567297823_0.22255012917012906","host":"s3://npm-registry-packages"}},"2.0.0-rc.2":{"name":"gatsby-image","version":"2.0.0-rc.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-rc.2","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"adea43d39e856d9db072f1de786b4d817e0d85f1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-rc.2.tgz","fileCount":7,"integrity":"sha512-lwMLSBF3l9R8xRnAYrBwGP34UDhHyvp6/a4kzzcI+OlujzIVlCxbJ4JuVdFPJ3TfEZuD1U6C2X2t3C3ro0EKsw==","signatures":[{"sig":"MEQCIFQ1NbwGBACIwuy6n+AkbPtUg9C7tKUqLKLK54kO1GnlAiAaLdv6ma+E9Re7khko+FZBgcJsNWOR+f3m3+a1ag0hdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmTCqCRA9TVsSAnZWagAAvJQP/2d51Q1jKDoSUFLi6MaR\n3nJo+CmAUJ5PYeRfBIInyrRya4kGbchxC3dz+HyJOIcHifZH/IEKh29BI6R/\nutdSc+5LpYmWhhQhhOWQ2F0sc2zHvXrhudE59yCw45WbnsJsMtTaybXuIq8A\nqshfXCdUs5kNnYdstsNAORXnuTo2XcjduEklwDMvoUfkA5roJRTpggmBTUvj\nEtct/7aV78/BICgFk8mRKYeTXVIMqKvwwhUc+7hk6P6BEtVGTBwm6XrFm9wC\ngEvpPgfEHsPvongzX8dpbqewwutYVj7mSWKJdl9U5taaxes31FkIzkTDvBJ/\n3cx+01wxXl2XFmXUCVTP5vongQbZRUPjySALK+q+QVdyeePoapL0E0rYUGhh\nvBJjRAg3RNMOYI4hvy+GWDJQizddXfC9EONcGv+5ugiknRK5lnN1YyvNmmyT\nDaoKy7j1FOh3bp+Bi84GzwzCRJmx9Djt/lKc86u4ZKxiMAKuM6GXdNIGqRtT\njkPAg60jICA8DK3G/Sx7AcPUgD0d+Lact8p3smVmKHvC05ADHaDyptTsDnV8\nnBHTRMHYRe7IAjdOyQfh/74gkviGvsmXINoiCoX7E+ikPedoiy7UGn6aYnYK\nNemDXECru+VSGRxh+bqaX/aXx4AMpvKtf8X100t++tfrm14B2RV7u0oTJYWL\nArtd\r\n=vf4F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n| `critical`              | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`.                                                                      |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is \n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- Gatsby-Image now is backed by newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using javascript. It also is\n  backward compatible to older browsers (IE 11, etc)\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"6.2.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-rc.2_1536766122029_0.9784622667017306","host":"s3://npm-registry-packages"}},"2.0.0-rc.3":{"name":"gatsby-image","version":"2.0.0-rc.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-rc.3","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"56a503fceb1e8c75bb8b456208f0095b367aa615","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-rc.3.tgz","fileCount":8,"integrity":"sha512-CpIV9if0+DMHSmM/PQZG8V4oF+fKwS9U/hvXGSX2ZZva9//DlmzVLYhwq53hlJRkIUWFiguOt0+J39WETSrt/Q==","signatures":[{"sig":"MEUCIQCtwA/0QIpCeacpKrOimNvU8p0MTiqeHPn27JJxUKsxdAIgHDMv5vQNpu8JEu281g5aHwDTSuf9iX5P1O0PtJMbzMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn8w+CRA9TVsSAnZWagAAS3AQAI2DAdufFc7xLOZ4WBP2\nnJCJYgF4O1HyCdPuSBJGWx38PkFvaJqWBrHf5w/dXTZ3AvoZyivTa2JWWXKQ\nKq2DufGw/fBR5lQEyYd9gCDFK+2MoEKuG3ebEbatX1hhJhj9lyWk20m/d7Kt\n8rfXsW5yWkRPB992sfQ3NMToxgeqZw21WWPOsBH5AYFz1PMYdTkrws8VlE+v\nbMbzrlsqbU2cEam2qy1/cMzTcE0eXfXXAGRXAsy35QNZ9fFvxiTXDl+pMnXg\n6wnKT6iYyYdnHA34DYHhwU+4VHjJDI+3kUzz5V0CZxLksDXCiDwUnbgANqsO\nh05pS3VGnO5Fv3GxKH9SOrmQQCU5BgN2yoV/J1jzJtoL3P/dHVD5m8veFQxW\nPM8I6eTTD+ZTBL4k/6mdTqu5wAMUUnzoP9vo7Y9W1Tehev7b0eXqV60/k3mH\n5YFCIvyLZEeWl269mkfvOl36eDqQejSYN0rq5pCiZKv/o+V/ifir+cW3Wo89\nKwl1VKMYM4sxob6NNWmqFFotD0VmhM1IavCzhUTz6RBtphh9R5rwOt+Gxf0/\nek0/uRkHz7sWKfdmBu8v6ExEF/PK6WpUpl/y4Ozqkfw8TZlC7Nbcr1jslFKr\nUjdLq5YyNBUnC5kmYSdeNeh0c4JTwKrmlZyY5BMflKoh+UT3YG4lWDuKHDAf\nDcWy\r\n=mfP1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n```js\nconst path = require(`path`);\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`)\n      }\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`\n  ]\n};\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop                                          |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `position`              | `string`            | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned                                      |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n| `critical`              | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`.                                                                      |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is \n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- Gatsby-Image now is backed by newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using javascript. It also is\n  backward compatible to older browsers (IE 11, etc)\n","gitHead":"17c6dcb7f421cbef5f4d7c8afdc6de7a155f974a","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-rc.3_1537199164323_0.16170608227074457","host":"s3://npm-registry-packages"}},"2.0.0-rc.4":{"name":"gatsby-image","version":"2.0.0-rc.4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0-rc.4","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"afea4d6264dba450edac8d06c17fdc182eeaeb81","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0-rc.4.tgz","fileCount":9,"integrity":"sha512-b/t1itnt5vePLtepDMjTbCyLJCjdGk4pIuWjckR1yB/BFky6xuXouaolrDNoOMvdUShQpw2nwL79dAq2gwweRQ==","signatures":[{"sig":"MEUCIQDHcuFjxcGuG2a6EXsfU7/ZOJtPp8zfTEBAR7sKWsvfRgIgbSrUkr+/YdCOJq+9UbA/lnsa1dfN8AiMGisZu15lHys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn/MSCRA9TVsSAnZWagAAgIgP/0CIpcRcuiVajgrkBrVQ\nR/aVHw7G/pEYQ2OXfQ8rIvmlaePxpKE9vP9OLpiZtpzDzUxvynhEfg48aDLM\nukFpC+QSHq7r2mtc/XDjfVm4d4+KNw8rZCJz1hK5s0zz9Rp8926n3hoLkH+K\nV2yOG8XzJdGACB3rYAbf94XypS8rylinCw6RUiPnokLGidtU2w93+1bdu7bV\nFF3khGKki3FzniftmFjxkrGJh7Br9MztS3D+Jy1x7BqHOa0dwYXCE4Jl7LRp\nipbhWN4Cjck3AconkC7PY/T0nr9De0Ohs6HKGXi1OnE9Evdu2aIMOxn3ZmME\njmPpYWspztZnlYUvlgrL8xOepB92yVLaNqTZMtalouPmAF7V5sfe/Yh1HEaf\nFcGj4KFTAqtP1xDSd1/5RCkOsQbEJOmADgcMmMdhtTbGMBW0lmbufdQvNoAK\nGk3rQpfRMtgpSaEu5o+C8P1TT9aTJqESOOC12TTe7pB38VNENcBHyJmrGP0x\nziUTrkuLNA/9b2MglKVDgRYjlHFCXhuz6ozsvl2q5c3DrfA5grl1vDOfprF+\nmbhsvFWx7FCqElMeqetlV1hbZ7npqUi01BrLQ9UdNlONwfVKV3L8ExsQxOYX\nudZAuzu/9x6O4EPMBkLbapnkBKV/xtNaLUF5QOv4eIbi5T4nyaF40Mn7dQY4\n8Kbk\r\n=zC5Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img/>`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img/>` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1.  Import `gatsby-image` and use it in place of the built-in `img`\n2.  Write a GraphQL query using one of the included GraphQL \"fragments\"\n    which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```\nnpm install --save gatsby-transformer-sharp\nnpm install --save gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```\nplugins: [\n  `gatsby-transformer-sharp`,\n  `gatsby-plugin-sharp`\n];\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n```js\nconst path = require(`path`);\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`)\n      }\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`\n  ]\n};\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor another explanation of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1.  Images that have a _fixed_ width and height\n2.  Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/) and [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                    | Type                | Description                                                                                                                 |\n| ----------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                 | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                 | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`                | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                 | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                   | `string`            | Passed to the `img` element                                                                                                 |\n| `className`             | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `style`                 | `object`            | Spread into the default styles in the wrapper element                                                                       |\n| `imgStyle`              | `object`            | Spread into the default styles for the actual `img` element                                                                 |\n| `backgroundColor`       | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`                | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `Tag`                   | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n| `critical`              | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`.                                                                      |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is \n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- Gatsby-Image now is backed by newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using javascript. It also is\n  backward compatible to older browsers (IE 11, etc)\n","gitHead":"b792c2282e957123cf16302116fdafc39db6f378","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0-rc.4_1537209105796_0.9404742453375063","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"gatsby-image","version":"2.0.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"12328a9fe5aaaa23e802eee81783b0b0c40311bd","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.0.tgz","fileCount":10,"integrity":"sha512-8ZjABtHGDAho2GiwM3UHeX6zXjGahF6BWE6QsUy1SAnMcw4ajalQsMZalV3kq6Bd+TTxKSUmDb8PzZ6cUhCuNg==","signatures":[{"sig":"MEUCICLRuNLiGxTvN2MgEY86ButEPCK3uXoAKx+eqTXdI76YAiEA70rRT0CnoATsR0lXF7nPE12mj9bTKF6oLsdZwe+BAGc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboAr3CRA9TVsSAnZWagAAgJwP/3Bx9hYNHCnXKT4nJnBs\nxYu292+E4k86lmjIGk+Ut69eXaHz5VJyi3BNA7eQKXEyNgmkfPwr6mqoEmde\ntguHJ6oIEcP5u1mMOuY2SR0+yQVABzW9UBMnQ7uPwb6Z3LktndhNQhcXJ45Y\nVBywzMnvvvh0MFmf59b5qf37LLDj5+AkF5KOO0G04HLnk8o/x5bPRpTW/jci\ns6vrHouBqJQkhlMsRyiSwTI5y1ytg0XChIOPulzjAANWHidU4OTUT3kqQkHa\nRpyX2tUKSe2A5v6MtxFQX8YbqfEoxRzQnX0kakBNpnDdy5t8dBY4lUd7EQPZ\nGs/RoH1VrVboPdfl+J/v3IXqoQLsGk89iZwb3BclNanBj8f/5VfQarVI2nwL\nZHXRoVkr1wwRu95QVYd4pJMZhgAXsZsRXpW4Lkxc/FCedRFUBiCfNVjw0T1p\nbn5q2Y9jVvZ56VUESAwu/4xN5zu+A4rY7JLpnGAEd5e7yXGCX2gx8F5lGDEn\npbKp7dHQNjC9IZcQzLw/a87r4P1NqqpvoeoS/Bwyyz8fTxOJneycOjx0Hik1\nFe3OKxwtYFJ1akiVJk8RE0itSPEZ5w/ooKTlEmqcb3Sft4iFkK+2lQJc7e7t\nx0DWtxfTABL9NhpT5XLjHFXddmUA+/CSx71I4G1AvAn7sFJDRNG8H9EVsxDr\nLmGq\r\n=hUUM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b70dd5acc031115296584f879aa52cca62b5dd9c","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.0_1537215222539_0.33383180014792857","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"gatsby-image","version":"2.0.5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.5","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"81323df1e2183cf692c9d3c4b909b0551193e579","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.5.tgz","fileCount":10,"integrity":"sha512-EYDIRqWgaQUdp+kvPUkxozojL3SzDqPAS+dnJgipZJ90wW08r/nHaMqJ4PjMJzUzfrVRn0WcIG0TaHa3luRSRg==","signatures":[{"sig":"MEQCIAo4SxFnXTZ2Yjnj98kSKEJ2E7JLs5DGkTZSWIcP+uzAAiBaHkDbyhVXnMosHMv+6iGaszs69qG9yj8ZEG+8FPCc5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboBFrCRA9TVsSAnZWagAANFsP/RgeZo0ebSK2Q5iEFnRi\nxNpsFkUdsAsE4pHB3NuwyK65qiOLfTRWeTmbBJEQISeZgYsffYbmxJxlqFj0\nVcetidXdHKNz4m0BRNpuTfym4x1KSj8lA6EKyhcndcjrvTnp8BYqZVz/tG4C\nXBnK68883N3ZpDalCCVSTfdKZubmbj6v4oIgdBM1amkDIUb0Y0nzeRPImukO\n3HRrJSaeJrZGs/E0DuUfD4X6dBGHuER3fn7+y5Fc+KCxSNvZULd50dlaeteE\na43b26t/7+So1crul3aboejfHa5SKPhr9cXhEQSOjsgfP/saaGz7huCyYQQH\nurblCe52dfBbvgys+IGPQCmv3LZPpUcn/OVYXsVnqKUvucl6yyAXERXEV7rF\nzXB0Kprpq9WbSquMeqaybsi7PKg9FEbm/P80wgQs9R69vClL+ayOUDASsPIx\nIyZ40VHQZA4fDCbq5Ws4QxqC94xFs3pToskSjwzYD3d262+LvytK8S8vg3B/\nHce1fI43PgMMYa4tlXtYzucZd4p65JjpYQOFYPHODXs3Q8GO6IVU17AORxzy\nKOjGSzHL8YcsVi6X6fGEOE1EcDYdo1YkF0OUAfeF6WQFXRGKb/44KqKW7GY2\nZEALnpjmX1S5uYNW99HbcXN7FQvT9b8mR5yszNgOlURv2HsZWdFF/LNtynlx\nvDwF\r\n=XWSd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"dc95450df6e853d04b0b8c7bd1b6e1a17aaae6b0","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.5_1537216874355_0.6982148023407988","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"gatsby-image","version":"2.0.6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.6","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b9ffbb9dc082cdca556c21a1d7cac54d825c52e5","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.6.tgz","fileCount":10,"integrity":"sha512-0NK1lmiU7Jq7/mM37U5QbI+TUYjEpRrSJg31zL0/t47VChoyjt9xfJIecp9yasrzlZQ0W/WVbHBT+h59FfcsEA==","signatures":[{"sig":"MEYCIQDNwrtLFxut3i0HJS3xltEMdVido+bzeeRyapZGBwNeHgIhANo4yL5XbCMCMnxpOSfXA17dSLUAiDsc4lzxyF1WrknR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbosOiCRA9TVsSAnZWagAASqoP/i74yRtEPK0T1UJNFuLQ\n/NQvf79b5Po5pFkYi4ZlJB4Cju1ZdqST8mkS39q0EkvMlLM6pHM2B55qzDmj\nLuHBDc3U9NtXb+7AQB0OBzMc/1PG7/1w0FxH+Nb6aFycisdX+n/FUISLnIe1\nOJdYJdo0A6YIT4m5Fhl721IRSI4EJ+lQs00pY3LoZD16PXa52XDPAJv8bZBg\nXzQxYzmJEE9P5OqcUr08kBM4zQYhHKj42WnQqYq09jHMaLq6Vcx8UmUwa0Dk\n4Ye18/KO6PAbipBPiKxy3Fywd7YFHweYZbHtGRoIgx2m5tOGTbwxPSuRoaQf\nSGY2hM4HtQ6QDDngKak2qHN2InkD4raGMGkOysHHtDW6DO9QkeenO1PIvMxt\nuGNSy/dlZ7eWWG1Y4LKimsBubmUrtOFSlyjrFzm+TfXRiaq7Kipsr+p5RiRe\ndl/H1rjhawy0+s4SA77Hb9ub4b38Nz6vAOXDi41s+8ol8MB3J2/bSaP9IXDm\n1mB4pHYGFxdiF2rRg5JvzmnTJj+lxxuooC8g5TRHqqRD9LfrCAkwgXnxH+85\n6Gma0HnjUv9uVbKKuDF/Up9rILYS92K3KlLBfFBWwq12sQeoiU0LTTf+kixB\nKPkxtClUijccceu/tg+7QXZalCtgsIr6MuHNgzLNaj2zqLtmT8/P7KGcmw/I\nzuqa\r\n=L/uX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d72dd029363c92b58aae3a0eaf273909ceea43fa","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.6_1537393570024_0.6645069924443479","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"gatsby-image","version":"2.0.7","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.7","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"1a2a11275b1bea48dee199af5c16a5597b67bcc5","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.7.tgz","fileCount":8,"integrity":"sha512-yTR1PMHKxw4CA5Kk7qjUK6s0J/ze8HfzEINhSaFNUIDsEtSIKAJjaX/GSkqvz2GqoaQBmufUCxbnl3YlKebgOQ==","signatures":[{"sig":"MEQCIHVTHjq7pIBWwvEGMvrFPGsClsHWSqY1YXiae4YbZe4CAiA3cFeMzCBkWjl3XWqkXsSohBGTh76exchQ5DqV91z1Uw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo/29CRA9TVsSAnZWagAAvsQP/1htUcfx0Mw6hmrDbdXn\nQ//G0BtWgL2at8aX2uXE5GthEY5EquPQHSNemrTryHurFRdUv9fPcSyU7tsb\nMlN0NhXcu0YAemFoBqu7aLpnLGmfxVBJq/RajzgZBj3vZSph8E86UjZqKiHS\nU+xNH4stLIdVFc83iu4NzXhZoqn13vt7HKiexnqo0XQ4mYnPhUojCZPse/xA\nf2801G7/0m+k6SxTXjUngKmRtvycSDZYRqfN7fp7Osj7E3FeGuZ1nP8567fv\nZbv36nXpuQ4PPIjpx7BVc/EGn9Y6Xix0l7zv/yOEjm9b1PjLgpy/g5G9S0Eh\nLFzabXWBU0pBMbTp4erp1fQ5RTuPvGyk7C4tzrZBG2pL8xWgB9SO3ZxA+gNN\nIKuM/QfPJ0r8+utprTEnErS4f9FLelFwJFd1mFrSJVdG5h10KmaDjN4a1bD2\n6BEh+m795KORP3Mk/7jPm92pLUM4cKYJRHTh+pqe+uALsf5I/CfS+s19bk43\n1C4nVECy7cQ3/0Vw9sdM8NfRKDWD+VjWZ0thSNtSVLlrnolQZSvZop9m/kio\n5OFBPV+/LpYu+LS+gAOWxO05nE3r5m1O4qegP0lexV3z9+9dCAeri8b76WXO\nf8wTr+Z+QkH5QCnHzUEp0IwnzNtpbnowWxnGw2Uu/XCwqSXLF5fADTbNb51e\nsgF9\r\n=Fh2U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"edcac811f6b62ce4ab700ba871c77a791dcaeb58","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.7_1537473979661_0.7617756333435892","host":"s3://npm-registry-packages"}},"2.0.8":{"name":"gatsby-image","version":"2.0.8","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.8","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"02011c610e8cf2ad20423506f11996a5e67fe39e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.8.tgz","fileCount":8,"integrity":"sha512-07No0cLwvAraTTL60JqL9XV8vCvf/No/awDp5DVLEKdfTQdL2oIwIUnfLLoNV+Uw6F4PlNCHMdcRoroe0trDTg==","signatures":[{"sig":"MEYCIQD7ACOU9lZAPjdiFxvnz6K0HY9RW2W0WVrY5Xo6MvL5AgIhAIfNeBqf6CCqQbJAiEx/YQ9gT3wNMOU9J6BvVJS5vcOI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpUkbCRA9TVsSAnZWagAArvsP/j9c3tzlmpBKlHsyLzBb\ntctlOxBm+c7bcaSLSLFcsNqA8pb4foN7unos675aQpqLAojKmzJmmlS0PXy6\ncPiaV9A+MUEsa54xQIlh5F2ALNOCU4zruwiQOehIgucBn6riT/QqP/hoF15c\nLo56cXur7p/+3IyXIH7P3YaHqAcn0EEaq2aMrKid8GawQH7L2jOY1V7F/WHH\n/R3UXJCLogfbO2Hc20US9tsWYwpxu9GKhnYDsoq9m3Af4A7VOZq3p28Vl7Ha\n7zrP0sBmoUf2xcPcu4suVspsgjWlE17udmLlG1j6+SHM1QA0K3sRX10MYaRZ\nUhMKt8IuszhUTDhXuxmXzH3iA2yXa1wM34C3AZac9oaZMgUG0xEo2VWkYfl/\nMotyaYBOgbRlFPvkGfINOK+Tm+P+nvVien+zDU0d7GDYkJWBdz3/5/oJbZ2U\nRN4BVydinY7Zy34XCP7ga40rN/hayNUYpdFzIpyVD26cXnk8on9Qyu3lOhKN\n7bw3wZD19s/X81rV8fGHsa16EVUrz0pE/g9TyDS84ob0B+WgxmgWZ0kL3ocS\nOrUUZntEZB7ewarN5u+OwFqiqEaIdtqaPGB0MMDuXz1J7dU/xaI8efEux2yu\nSIyTMcp4QpoIUF8i7hggQlDeTEId5yhKejeuSCFB8D1VLQxWfk/VgFbi9gaL\n1XSH\r\n=q9H1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1fe06670f848efdd091fa982cb869332ea256b7f","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.8_1537558810287_0.9625229757527134","host":"s3://npm-registry-packages"}},"2.0.9":{"name":"gatsby-image","version":"2.0.9","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.9","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ed5feebb4749530e5d53436ebfbec409253e1493","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.9.tgz","fileCount":8,"integrity":"sha512-G2v4T2XHe4es8bbFyLnenjpf4HdNteAbA3NzVb857c1h9SOPGusLmfymQ1hEDoDQ1J/zNpCUzJrrE9vdNhcVcw==","signatures":[{"sig":"MEUCIHmsQm09YzXqcYus5EpiPVRXbG+rf3jm8ElmbS9c/aCYAiEAuUT3awN2u9J7mcyj5G3pigHVDs1o2jl1tRUiXE3xKl4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqNrGCRA9TVsSAnZWagAAS/cP/ijxh/BbY3YjbV91AI8A\n+18C6TICuqrq4xmoXWiEGwWvvRjWKBqihQfXTP8IUMBpbclxCsxe+2MkZRNU\nP/BApUNf3ZckQOARGn39jpGkekFiFXRjgBMw8CB5XG/dpthdOLuEkE32OpZv\n0LuGtZJm9KrFzA3YDU6INH1NTc9PGFQwkhUubX4mY0ryU4O2fkvjfXA6dCPy\nd6Q+moTAXZ+tLR45ALULccZWGBIKy0wWjT+pJxrdoCHYCJ352En9iFBNHEk1\nI9f0hsL8kL+NMXoVE0vpJQtICzfuSfuctlOu9EweYOF1qEMpY+qB7BxSlFru\nTX1BLB4Z266/Swgl4YfL5mKEbQd0LOF4opdZhP+crYjlmQwOQihgR7Zdn+qY\nDvYlshgCXtUYxtcBVFtIJ2hgxXWFl8rpHF9NKDXh4WbXInDX02w1N6GLNrDM\ng3ZRIC+eBKJFVRkhDW5cidn+YdJpvhXf/BPlQrrZ6Vp7Lu2gbopJMSf1N6nK\nyhC0uSTGLzZKuuLZe3dDEymuMq50I4XNIhaZMtbZRfFsKh4HbRfWWeFy3FHI\n7kqwYw7gkpNpSv66KnTB42PdglKCEbrvP/Zrsqpj1r9Uht2PmoJqCrdmeuJg\n5u+ZsVB7Pse5x4sO35d0Gwjnwxsgzi2KSwbtq01H8ACu1EI8b7A1Mc69/Uge\nTL34\r\n=uSZT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fe384a3554c1c2024cba1c9e7167569593814f18","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.9_1537792709604_0.2325831784491419","host":"s3://npm-registry-packages"}},"2.0.10":{"name":"gatsby-image","version":"2.0.10","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.10","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"65c1f27e6d0cf024b8b31e43ff0d115f3b264446","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.10.tgz","fileCount":8,"integrity":"sha512-kad7qZY7JcRzEUkodCkH38zFpKW1IDlx7AjSyX6aKR4GqJ65BpWrZkY/080IP8tUkyUh+AESn/TgZN+BoKTfLQ==","signatures":[{"sig":"MEUCIQDtflWl/QkeY4auX9Quaips12XGC8IGBerB+EA0EfNWnwIgG7nFsj2cKYNJBbiiL/5S8iKOGMZESDYnDyZZ3GTkjmA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq2G7CRA9TVsSAnZWagAA8FAP/36vnavYlVwGLRyJlAQH\nkGFu+ZTkpIWAwArRxR7qlqsT2q6tcmi+j8Txxvs3b+2dY4UHimj4D3kLSQzO\nu//CSwyrUE5kGGNo+0OBOVClSXIxntbh91Rt7X4YaaZMO/Z4Pfa7SLotLJi4\nuI+ANqL+WZFlRa64FhK8Xuenz76YCL98DACqOvhex/+VwALTIEV1SFlMeE8h\n4GcP0+oo9tPt+Ao9jmOmsM1nw7NGZSAzn1G7I+me54gYVfNChjMLG504GA2u\n2GM3LBL2cNLBr6kA3h4wm+DW4/2FE7JPd291EQuNGKdBDqzcGQonKdsxl3UZ\ntGyeZRp4vT3SPY44nprvfQ2RyWdFDTyiYCe8gSYMb1BTo+zC1HoBrsFC03dr\nKUo4FPKIT0W3s6RDA6+N70lEDI3Rw7ZVpwL2lVaoklArRjZhjSftJHZnCUkD\nNFm16OV/5b/8mIkrQ5OXSoft5ORruPPYOx3Ev1lYjhCGLKsW4W4sK0HlrK8T\n3MSQPaw05H58nNTmF3mift82tottdco2vVuhRzkvrnJiPZZcwJyRY8FHuvSY\nxOaSGB5oLfwtdSjFN4im7Ku4SavGrPSLyNbvxl3rpSLQuaEYI+s8ZuBGXQm8\nOE5csPf9P0ME57Mad5E7GWjp9UUBu4R612QFq6lxyJMAhXaA2BSGR5AcXtNb\nbaS7\r\n=SEzi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3e48ea91cc8cd96b7bac2bf9cd0f61f34a9fad87","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.10_1537958331339_0.2763076063416472","host":"s3://npm-registry-packages"}},"2.0.11":{"name":"gatsby-image","version":"2.0.11","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.11","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"d261fd891a5541e6f7c9cbc7c118977909740a13","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.11.tgz","fileCount":8,"integrity":"sha512-UATAsxZIZ7bxwDzp2CP/04ChkDhazCNS89QLW9QcLeYAeLOn/eW7bDuY1Jkhpj+a9pPGQd2gr9Pun7eqL3n5AQ==","signatures":[{"sig":"MEYCIQDion2s3PbMp7SJALEM9yTn+GAyIpZO0YE4vvxZI698/AIhAKlL/g0iTEwQ2NMZJV7uHveM3mlt1XXFOnN9kdsNxtpF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbriwxCRA9TVsSAnZWagAAKigP/0XFAB9b6O/P2/cjUFM/\nuv1Ipl3cbcTnvZN0S9q8V8s+Lx7psbuI6LN/taIkClylMTt6jpd8XFvJI+g1\n6XtUlH6Na+Kvk+2lyvZwmX8f9mdMETWwUKSgE85l0GLUKLGENAyDvCcen659\nDSuAYrYhYirnkDeEAX2JP4558I8U1ZaOShf3zAxRPw50ELvTsjVKjefyJ41+\ntymIGBgn8s8imVwnLlPg6K72OznF4qIYU6l/5/JNbPj/uK/svPiXxU06l5Co\nhOj/LvmVrKMKJf8t2wmjKgcOHfkgPU0sJbG2ji3QB1T+dnNQEcmo622lCBym\nR4VouKh0SW7XdFt9AFJ+MsZvcGZ9rf0Qvueu8NeRt8Gaqhs+vljl7OA/Ms71\nrCNz+3/ZL9cEg07m8fXLE4K3i98rSH0roFeM3PvkAT3J1rTA3umW0htzXC1x\nNtx4OjVc2ZO03pdBxqW7laV67dpdUe47tqR2q2D8S52al8F+HHrw5gOd4IaN\nseiEJlN+NhYPX3mE/MYM8M5wah/HF0glrKKr1w+afITfW2TiFwiV+2cF3Ial\ndQvX/GfV0xhi1m4MjR8uIgkgFrnwneDdG2ZwZLjqOLV2YdISLjcMYWVOd/DB\n4gUrnodlcLRe1sZ7w+m6E5nI3PGGc32V6gjbX1t8b1LlWK5NSHeP7UE5LPkk\nYHPU\r\n=gMrH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5ad1bb5cfeb9b53653655e97c21ffeb5b9297fb7","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.11_1538141233072_0.4008475093512145","host":"s3://npm-registry-packages"}},"2.0.12":{"name":"gatsby-image","version":"2.0.12","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.12","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"44604d6318b9e14fe7c71a4c19251b833b3aac5a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.12.tgz","fileCount":8,"integrity":"sha512-yQicyWmwodYdcyY83TMvQpOr7Hg/xxERhatkO+oGvDTcuzcPxlz2I15CTlbFtsCnixM1T2FMR/vatuYGsdCX8w==","signatures":[{"sig":"MEQCID9kZTzcEX7ivzWlA+LfAdYhdYBbiWKm076BpEe0UdSiAiA+BBCi4HDoMdosYvrrRpKZft2AFcH9Mn5ABLcbFV08tA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrp+gCRA9TVsSAnZWagAAqSEP/Rl4hwm0NZpvziMxJiYp\nzU67QlcqkvR8qhX0vJE76z+VlSz7dMEY1fi90zTDRaS5IkAsCHOi0FBTNOp6\ny99awxPZ631UNCCYktqo8MRlSWE2ByidR8R/wQBjegoI0LRkOhs5NK1eBmtL\nWUNqJgWLQ/3zWJCS1Tom2B+VEcHX7kJUCynr8elppnxyIcAghNs9BkkpZsmx\nOarRhJ8+X/P+IyOvt6rmXWT0SBxlNVDaSgGEEnvyvLO4erS6xrMGTKta+M4U\nELi6bzHARzHLwtU3wwrLiEMb8mq9PS2PJNkv0tHYER2zeLrU0GlsTCIRAZEY\nlz07boSEO3YaK9nFl1Oood2cUsqTOtDLFlpKd3uYTtnPWhmPPD949qnYv7VH\n+sHP0KB0bvdlyVdzzIxrYZQcrbH1rfDup8csUTsgv+kXFdDHC8rq7DuFnlvo\nrN/0cOytG1GnObdeY3iVF23rQP0rshuDBLg5Grcn3PFNulGOrMvkDSGM8JxB\nV+ZoKrnpkZP+zpVKw9ZrbqBoSf2RtjK+0GIvRY5hAdPy8uTcRY1I5T3dX9Xi\nWbwfziULrCXbeCaSyqzOI6A2t3qT/R8Dw1qoa4erbhX+8AJJW+gB6lCaWncE\nKF8wmWg5H2sTxD55QMn0FY9exEI9WzL6Lj52Nh917iAQ3szRpX07SJcBbeVp\nduKg\r\n=qrbd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3def2340369a518c3aaf3250e0c2564e91e4fc0d","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.12_1538170783139_0.33340814315783995","host":"s3://npm-registry-packages"}},"2.0.13":{"name":"gatsby-image","version":"2.0.13","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.13","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"bac15fceeac699aab27e821c97ea9f64084e2cd1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.13.tgz","fileCount":8,"integrity":"sha512-TDyYfhSZ9gXu8pDdmZZ5ml2zY2kIwPelrHzCXwfAIWbgr6zd4HnYSLPuZCgXUjbstwNsHTS9VAhvmrfUOBs/QQ==","signatures":[{"sig":"MEQCIEmDPHXGkthj0vcrMgcp4Y53SEzcqyNJwtYjUC8fOiYZAiAo7Xyzdbj36HdJZXKwBKD+DN6vYkp4AMYgtKntU4LkqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsib4CRA9TVsSAnZWagAAq7wQAIr7I6IGfD1N4hGWkvNm\nk9YgjNTUg2wjxaHhNh1dwlV9CVTGZ0CBtScA+VNlOdFnWA6cavsuycrs3aXT\nLFKQtgUwJ7kMYKpv30sF42Q4f9TV2vybjSF1xga4S8tbyXH9PGTTdJphq3Dw\n0KGEKN6urvRQWSnnaa3NQhB48y8uzfXmloBhkKh+bYVE/jjGHr+/66cvyXDC\nuaR8M2phKNwBKulSMFLdAcDEijb46g1y00PYo3pdPvnVDvy3R2YulJCTQCoY\nmLtzNlq49VNHgKG+p6pATy9m84IfcObcjgS/Lh7yZj5Sf2Eb8b304ZsXkqLL\n0qOe4/DnoeW2GhVEtubLxUif42mIIbAyFQGttaNqmrYQ3oJEYjGaOq723OnP\nfdHrQ26AtouZ8IB0lTsWw6ou0YWVmiALZSEEaYVkTDNYf5bUdxmzgHdAvfwh\novCLC0snrORYlLubBDbIZoi5zKvRtVJSBW9/Wqgz8D16gn1QWJFRe/cceIgT\nAHDuoXrCr1CfXeOcEU7tq0poPdmOPXV2wcdxgdHKVXeKCg1kE84frBzmdwQA\noxA/yaE23NqDIpcRt5Fw7l03aeEfGEiBEDip1lye7+xm5r74Iy/Fy205aUlu\nBuvVkjlOH1krFeT4yGe34LoYH7PF4lINWJuVbRjeJq6NgzrmWUTfA8xQo3Yw\nkrft\r\n=86+x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"df9e6df512de563a14679d121ba4026a3b606a81","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.13_1538402039848_0.6205868822812348","host":"s3://npm-registry-packages"}},"2.0.14":{"name":"gatsby-image","version":"2.0.14","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.14","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"d3ad81888f970f3b7d2a0564ffab6e4f59756686","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.14.tgz","fileCount":8,"integrity":"sha512-EeqjvCj/pe3UsvUoBzJptxEo9ilJ2uWbwpvW5PtjJufCh6XNjXSwVKq9F0lt1BgOCSz7K94HhOSU1Zn/STNMEQ==","signatures":[{"sig":"MEYCIQC9MqB3b3BCov+eGNpeZ/q6r5pYX8Ie+EHMh//ofPjtqQIhAKxmnKLeccizmzVi7S2LLMBGl3r1nJA8W5i2l2SpCST0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwPfPCRA9TVsSAnZWagAAkRgP/RwhZG9Zp8ZYBhhBkIrd\n8ZCN0eYuYZm5LL3brwA0vHyQhxrliRPwQuV/WHh/LlLcwLLGB+C1M9k2Nf08\ntwQ+DYqw6+HzHqyKd+fM1Euxmd9dRTzfsPIM2MDCv55O8OnjHIrMAfV6CDtF\ncEcr4dpSt6tLTY7l5O7GNB4JkmWYRF+/vMthqxlc+Mg+xG21k1kt8E1OpqSa\nU0zn0V6tYtI0G3WJBT9ni0PkDL07f317UjYj4DURv03vFJx+mpM7vpTNJlGL\nOhU6GYlyJm6zVLsbVYCCdnDWw+ou/kFDCMqnQKJrJn5IplAknp1ddcAruM09\nXDz+rPzLPguA5gRc3ztzqztvkPkaELeRMbvIZL1fi1vhj8TDoSeOrJ6EVedi\nFDU69jAgyk7LHfgXfuSzRYPFMQNVIHstLr0Cf6YDEJBH46e+CrNFnwVu6v78\nW+gl9fyRY4z5MiTMLfGjFl4f15e3XLUDlEAOJjLMg6COtpnDXBw3TBD/+v2M\nX1Nh0dZDhysGZAG2QMviQIGlPvyukMmoZQO/tM1DLHGKuTUf/duOkrJG/ir3\nkxeCz9kyHJaga15FYPtW+fPFoBDNiy5jWGFTK0XdlnvVrt9LCo2aAT/M73Np\ncDpce2R3GOSzeYyO39F43hZO6lgjQqk1VFvDhm295sB3hLSZvl5gFcLHcKpk\n5Eqx\r\n=1PoJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"aa9bc1b353c2f83dad7d39d07f5a7c1b8ac092a0","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.14_1539373006678_0.3664717215698394","host":"s3://npm-registry-packages"}},"2.0.15":{"name":"gatsby-image","version":"2.0.15","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.15","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"16dec0f7ed2f8ec19d3de53931ea539054583dbb","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.15.tgz","fileCount":8,"integrity":"sha512-cqMn3WGb4f9esAPz/eqUhYNsmEPCz1dg9Z/YXzDZohb46OVOIh/38zTGYI9zVLYav44OvestciPc6e12xn80Kw==","signatures":[{"sig":"MEUCIQCr94y22uyCgENbhKiYItfMpBXPUUHhd7YAI3mbi7KsTgIgPm/AL3YCqLIZ6A56iU8/F0zemcRzueU0v4eXAyB45fs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxPjICRA9TVsSAnZWagAA7aEP/RTRPSBVtDUwNDI2aAkf\nhK8bd07qATI6jRAqjM0+wRFmPo5bowO5MAMOtXZ+eyB1u1vbftSQyImiqwcN\nK0VfPp2I+B0tZ22OH/fIxv19noy/Cdsm4KZreJO+g6B+6Baqufdy6UIlYJH1\nIabVQwVbDLP2WsAJt9cY9Rzca0VDtbbU/KPLBvunIOPuPFTWWwTe1X/Xae5q\nITeK5tXu4PXhzWVKYEGR1ZgWiBVtidJgzsX8nzdCZ1YcMP4jQi2RQ2j/7tVg\n0FlyfYAKeiMrhenaHAL1Fe2CdFZHsaIbMcPyLmN1jX92po4kiocsFBKldnxS\nJlMoWXIvJF8zT4z+Pe5ljy5K8AYLmO0KY5DbvLzLfEtoxuNJHQrK9Uw5ed1t\nrlW/mdbV8PgroGwIAXbwtLeMNI4edGHHUfEUkn5t8bmqooQPqdgZdHxXbhvm\nXqNp9vlwenb0rNkEDmcSBIkt/eqQ9n/tjrcgXncy3QIF3mxAogBO4IMDCjMD\nmzZiIvyDg1+WcJiJo3RbiQ7Lyf37W2H6hPtY5ly1HJUL80DcvI0nTrd2UN5O\noBydAiyyFGqkuyWTRI1sW4068hgFzBUxdvYCH7EPKPxl2XiESbt7kPZdNGf1\nLb6c2gUDpzVuQ151V1GF2eOdprF8C6g3JMTGOVEpoUGOuDZDtNbCF8mLOAuF\nq3Nx\r\n=XcSp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1b1b1d1df229d98431020a6ff10004a8c50e5d32","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.15_1539635399152_0.02147575370661592","host":"s3://npm-registry-packages"}},"2.0.16":{"name":"gatsby-image","version":"2.0.16","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.16","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6b58415f9ca37e75a770f6e98dda4591978bfe2a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.16.tgz","fileCount":8,"integrity":"sha512-XCH6PuJfVkBUmVJKtCt8DUXFXZ9MAVNrekRxKFompse03cJJDf3Kh98mu4Z7LtnqT84pGuO0UvHdd970JaRmaw==","signatures":[{"sig":"MEUCIQDRMsAL0KyAniPYtU9B1Td9cf+MOxg0+8gNSs920VRYsQIgCEZbfhNBlEiJJ5/2VX678qdWkDJMod44XMvcRvl4wzI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzxG3CRA9TVsSAnZWagAAFV0QAIA+9aVLg13xB8uLAsfW\nX8so/2SkGUMEvPMecuKhvmkVhlIFe6ixwMDG8Sij8uRVySNEntxTrnqqIXPn\ns+NdAIjhA6Q3CKaOTv6l5ausvh1i1k8pbF2TpnZ7CLPjCvFuPz5OVmwJDFOX\n76GyUwLMXBKtlWYLZLJ3r+rhQgGJFfs7qRx5yEu5OXT2mJL368YqRM2cwjt+\nH5bUbGJHqBdO8k5+4YFxNFP4SZIyTfswQW0k7YFMayoLKj2sq8TdJhIjRT2j\nJNgB+uaqY5n7k1Cwu/59+aULl48MNuu18XzSMZZGuGHs6pb+Gb3yplPc0Qrk\nfZiRcqxtq3EtZTlOYQ9frpJtABT3BqkQLkjHmQrzRkXo9iSVV5tLJkMqjYYQ\nSx6K8dUGcQb0VhZO6DVjesE/292r41YJgRBB1Na9/7MnFZCo/gzJJ4Emm2P3\nVqca6j/vC2Xryls08yj+wGnIGykKJVo+fIuAYvuJSl8IneynUrWNI/XIyX8a\nqmIz+pTS7MyrT+OIJDlFvcUFiuGueehFW5McnFNk954kJhjGx/a22iI1l8YN\nw52VbYr1MAyWxWu3td01zfZtYXZvGNn+3c+yfZ38ua8eH5o6omD/N+Ot8sjo\n4AyQ7nNMyS0VnYmTvY1zj88IxLL3ykm6jcGiV621Isu5Fm0R57QUzKoIpT9S\nK4x9\r\n=sD4F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e288e673949923182dc65ee05aaee506c396e8ab","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","react-testing-library":"^4.1.7"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.16_1540297141924_0.9920881201979059","host":"s3://npm-registry-packages"}},"2.0.17":{"name":"gatsby-image","version":"2.0.17","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.17","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"15030697b67a808cd5fc8283af80e22bcd1e740b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.17.tgz","fileCount":8,"integrity":"sha512-feHLyuZXhV1GlWsAkK8RiWMjL+1C26PUCKFRkQYaa0BiZvvOXMgbeZuC/W0L7QSzBA6GdcOZeXEUtGuuavPFLw==","signatures":[{"sig":"MEQCIGZo7S34JvyCtfd23h4sr1awA2srSoKDrVZLt5z8KpkDAiApvrw5F3GfcGOUARWy7Bfid03HJSgXIvLnMWqcuEYntA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0NF0CRA9TVsSAnZWagAA6x0P+gO7O9aDDOdCpjFpSl4C\ndjJg0rOm7LTvpXf/pDeNcZ0zSsKuu3miB+RRHyEZ35A/TVNR042eKyn7jaSD\nI9v5Zh1l00kUKO2HPg+1uiVcZHwlZ7ApNB22HbW6/+eZ9JW6G0TZMmNrpZtt\nhYP8iJ6fVLA/gSRYpj/HHVFZUdbsoIVQBqeAGtiN9HHnaR9AYc1fCLj66F3H\nAIekxFGrLHTepseOG9f9SMGUbEDSnauhXzSYZgvpBF27TvbTg/zWXjHA7g5J\nObSU86l+/qWcDYvAXWxclZvcoPZJ5envTzI6w74nDxQEPesIbPOLP/mb6rKo\nbjts1Lglj8zJlpaambBwQKEUh73gXdxS4aFukm3c+Jj8uNQLemoXtNtuQtJB\nXG5eI7+7qwmGt2CkEDIdfJVz330/sHz42fPsvTq78eYsUQI28NM34VUMIJuL\n/8CLDfFXhUFsNHiBUzHEYR+MX4gSmjQrSsSEl2Dh8D7ZyNp96SEvdcvbf4IH\nDyOO+ztm0ycG2f3QSopEw5HezWSX01F7JhZyXj1Ddq7o8whqArAb3owEJWYY\nZn9Vce/V9W6xuolMGE6Nezg2YCzaP5aybjSR18zulG9Y3fEcaIsNOcq/lI2C\nayn610XJNeJz2X88WVwy6oCev5Ze5u2d1nuW+uy2bWyh1PppNe/V0IQ9hXDt\nWFe9\r\n=c9uw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e6d7dc3a7adc122fd6a3c606978bc79dc59fce07","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.17_1540411763071_0.9792744497786356","host":"s3://npm-registry-packages"}},"2.0.18":{"name":"gatsby-image","version":"2.0.18","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.18","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"657571b3c7c7c5c53426ca23a10c024568d45b74","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.18.tgz","fileCount":8,"integrity":"sha512-/M1tXe/RoPk0hwqMfq9AaPw0HLoije1SAuTNe5SlVwphfVvKByOqGGEcv3lJtitZPEK1IMsk+nBlk4Ih/egh6A==","signatures":[{"sig":"MEYCIQCoD0zUB1UD4U0KNJsCGRLyrKDPaeFJBtbK8/PNWVMeDAIhAJ0fI+b8A4F2xYKK6OjSKfoJq+F86TudqoilxwXRlxL8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1yXyCRA9TVsSAnZWagAA3M0P/RJn2Hv7fvBK9uhTQ0Lw\n402y5BEOlGPAi2XS+b7aQvIGnLN45ixUJ8e8ZOj0DtM+4pf7uFDrgXn+nIZG\niYDWZ74sBEJiWsImBnxb6856fGWEezraMEwWK58ZRc8pKswlhxCngNOKnbjU\nFjLaoH1h/GBXG5Z2QQsrQBgQz3DS7/yZEdR7+uPctp921QOetkBNTh8uS8vS\n5edgnGL0Uhoa5oe71/CFwTv74W21wMj9xjuAu3afIXYNhcn7F0vOxPyaHIJF\nNNMfO2gJqUdS04/WR6AvKDzc11qWWZCXbrobWYMu8c3L/lbugUui4afXrnd/\n+NPNYqr8CUeWIvhTj6f+nltFJI8xoKZsKBzewbwW4mhFCGbDxGtRYJ6gvJOz\nmVx15zqqIW2z7b4m4dcQhBdWca4QMJSjJdlxGlsLG7cM1CkfwBWh4NR2hNE8\n80NSFzt5Btn9ZKwtoL43nOpyzCMeIXH7YqzdbYK2bI20rbs58mf/p9M4sWao\n21h9eobAx09X7FN5PyWMf7hGHZyoJBGi8+TKRWrNH3H7hXtAwoifLyOjPyxa\neDIG80+6RZqIVzFCi4lbznZNvoF5ASB32+Ya/feR5KKlOd2c7f9YWw0r3gl3\nK7v8rQoEgTWA+3rDam5quFXcS70/I7K7u34g+GSDWtDWrjeh4X6pJ0JBKSUm\nKk1o\r\n=MZMR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"dbd71c33ced0829c5f4bc552127ef80b4a7398a5","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.18_1540826608993_0.6639760296858164","host":"s3://npm-registry-packages"}},"2.0.19":{"name":"gatsby-image","version":"2.0.19","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.19","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"375d570e04b3d442b50e409fd84c272c40d7cabf","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.19.tgz","fileCount":8,"integrity":"sha512-fKWEYD9LvGH97on12xlwUqwz3RvOV3oqW8tXwEDBAUM1tsN9wwc2k19CPVCgWNbFJd0dVe2ZOQB+6Az4elPmWw==","signatures":[{"sig":"MEUCIQDs8dx0risJYfBu6vYy24hGa3YFy2IeG07Jitd0qY9nxgIgf0ChCUXPLDsqLZ0g3lxXX8CwR7lXGrwz4vTgAZb3GDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2KJACRA9TVsSAnZWagAAsqMQAKIj27Tohn6OyO9xu3ur\nWNAHps1bRhvBQ8029G0Jtp4DJCkR0QLqbtNlYwhRxAQpE93xSG9poQj7XbrD\nyzh7yNi5xE2JQB8n3j7+yO2rhk5Xezp6uS7qYSjne9f1Ptc5/FI1zlzr/wrI\nLQHV0SymiUQrh+lWqLdeZezOTgznYs39zeLcq6FmNNRh96Vbc/ZuBi8csILh\n6+nEBXgk5ikXv59W8d8LjtiZ46apVUODpTFua9r7O2EoavPyDddQYr0A6TBn\nSeQtg0SMywIyRty5TSR6S1hLlRs03LKWNcSITi7iex8M50ezK8naDbJRvBTh\ngQE3R3YOabUH7yeiYlaUM+37vJ8/mDhyZ16HhS0ITzblTNKPjdaHaWfOn2sF\n6D5BxiEiAGnpcTWKsb0uao2y0KLdJOe7qhCt2zvMGo3E0jwaTYx1H0nTFuE7\nK4SGdh0h+RqvrSgC3s1rZhF+lLfjLRTl2crOjaMqL5LVXOZPoKU9VDYXqY8S\nl5AsyAkShnfIEcZ0Thvo2sby1s7+mcbYZ1ZvQ6nXWfiFV+Ea+v+PBmyvr2Ir\nVAt6tw8NcDT980C9Ajt+2gNZARIDdBRTAB1XYSfAGW/n2rFQOONlSBrhmaTv\n2xO+gfTOPMYhCsOd5Mz96Y3slKOE1FtTMxX5B5yZv3ptijO8mNSPYttECprT\nDUqZ\r\n=qBDT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ce24780bca47ad53f52f8c0eab86e46f8189cf9a","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.19_1540923967789_0.6527111595453652","host":"s3://npm-registry-packages"}},"2.0.20":{"name":"gatsby-image","version":"2.0.20","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.20","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"89e85d8c2c2ff8553f0831ffdde689a3679933a4","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.20.tgz","fileCount":8,"integrity":"sha512-AxLNe1W9QbVr23iD7h/ryoBOo1PfpjLm2tgZ7ITi5NQqMOIn23YCUfWtSWDWQFd226twyfsHzJFr5XZM3Lyl0g==","signatures":[{"sig":"MEQCIHOF5WAEYvPSFkvC3/8ckI1+yEd3i/5dLOdlwHyc6MnlAiBTUwizWqTZ74M1963Lb+tKihuxu8k3ht5NSKktob0X3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb45MwCRA9TVsSAnZWagAAwUkQAJ6sQWIJ3tEJnJFAWAAa\nqPtYtfdprqcWZbrjc5MS/Jp4rapIsm02f9sshcz2npYI5SWi5+XQjIWfW7qP\n1IRcR5/KNIqvHGfQgi6VuxrpoBW6zd7MQpKZVnf+DCICJw+vQP4KT6omH0A7\nskA+QENjcDuLnL/GJtxGgQEypj3DPAPJFc1TBhfXKBWznlWw1CbePMOtNcC5\nAc//E3LR0030xfJC1hU+uPirRnSB5lKRycw/4l+IcWRaUVJFfNdMYbTnNk5E\nwS9pcXQQDulywZ4Ty3LT+MQAT36GgfpEcokE7RPFiPhhlqUDkv2z6MY8LoEL\nCtbWl4uXaSIKbTJ7WdYWnXSJjFillvta7LKcL2T9Ngr8RTSkwNnibz4i4+qe\n864VO0ONG9bUAtrsI50VcWS0xY8gUOKMyqmwzf5mCIhYxewm3fNPCPiuz9Gs\nI57qdcYpi0iYdyVZANvi9lcuIwYuDnRt3CRsspqnofSVcTnPz37hGmevBdyo\nxH3Gsv6OhkUUdeeg/Fh0FmQjhAaUPZYRKVmzCFgr02KCs6YzCS0zjGd701Hz\ns1Hs+a3Cd47qhmFTf11KP8/x7CL/NBHcCi54qounVoGdgZi0oj3T9S+1hekV\nAkkP0JBdyRnjWGGOgNvECoR3T1QvNaIKaw4fwtkpGFyHs22WeMM+azeYMSeX\n6X7Z\r\n=11GJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f9714a5646523bc728586e3692190507ad68e6c1","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.20_1541641007456_0.4679976072729537","host":"s3://npm-registry-packages"}},"2.0.21":{"name":"gatsby-image","version":"2.0.21","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.21","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"adf418d63ab6a63deb47f9b08702f18288e708b9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.21.tgz","fileCount":8,"integrity":"sha512-vZ8tR9LVZz4Ar+GG0f7MadmVLvM/pQwxDiju0DgxkA5DcwRv/sHDO3XZPLvpTNRjEmKxw3l2pVO3m9ru39lFBg==","signatures":[{"sig":"MEQCIEa6uZ/XAn6jlm6eP8n7TlWKodusgY8gUyrC8s2KegUkAiB20cyw/w6PWLTQFirG1npDuG9pn8sDmONjS35YepUOuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/b3UCRA9TVsSAnZWagAAet4QAJ1KIoWiSA8isLMlxFRH\n4NdXCtYixa1cgASZwB9JsufTClWnOdLs7U3LE6GRQQbX4NUw/eJk2qA40uz4\npelBbRViOYIOn57harU1UPLI2PkjhijGZDqBslg/hp6uoTiYQ3cT4KQ2T/T9\nrw2DPoE1Ne7jIzpgdj1NKVnzvwbDGdEln5SpDkY6k5/shQaB98IRd7NAsRCh\nap3qmUZqwt5Y9VyXAkqisuoVeZVuBAcmHSnfUUO5F3tGGkRxjgf04+mm0Abb\n7h+/Ucr8GdN7V544W/soYdHOnd6eFtuiLOO2nxcrWpvO/8teyIRvOC8kMMfX\naK1IIdZnJCwMvadECi2yfoQlVjmDD2Oxa7UCa/Su8xB6JDAobsprsj7MhVNH\nJH4xxW6ejLlLg9JxFI4eTWcYUe9D7ECJwmFU3ZNXWjKIbP2rmZagGZ9d8cMX\nZCUpLK3lVkvBu8LQ8+ajCnRc+9vAVsymtoyAYZquhGOBrNi3m/pi7mr9DVso\nK7js5OggFYEKTmd+B2HWPe+28EyXq69fwUU1i9mSuRm0oJkoD26GXheze3eG\nJg8CRgn0jP4KDSz+8czhrnE+a4ohkGkGJi76Oj6/XrmtX0oWX3rBR0iD2c1z\npCbQ2Yun3HUyIz4ReHMW86xQJWsUoOhMT/dYKDaweHdACXkd27Yi57h/YiNZ\nga7q\r\n=Zvg5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a3e505c256d71915ce80f4083d3ba1f5a251d507","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.21_1543355859210_0.06324375358746859","host":"s3://npm-registry-packages"}},"2.0.22":{"name":"gatsby-image","version":"2.0.22","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.22","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"67b82f0bc9adcbc49134847cfc85355b540fea96","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.22.tgz","fileCount":8,"integrity":"sha512-o8ILGBXl9W8aIIwy9EL7HE2bOMQePMQztXly3FI10AMWXJyQLlQHhHzZceF1DMjCUbbCGIKRdVOymQdjm6+pcA==","signatures":[{"sig":"MEUCIEvaJVSNRSqhN2/ZgDyMRV1P1U/DqaSLhthZrSEjNL9sAiEA75JKKzXiS2FQOBn92PhpaH5E/GAehFHrHSzOkHAPlqQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/9fMCRA9TVsSAnZWagAA0QgP/32TjDwAxl5br7zJ81Jz\nfvGCanuixxotZhNPeoEufzCT2Mg0AcX2wMWcKsOsvOw+WSnfV/diq7KqiYFV\nmFbxfk5Rwose2o9OFeSHxNKKxR9/xibSsavuXtV92G61k7xyuHTNqktgI5B0\nXt13TDOTEQbmjJoM59/0c6RtxO2+lkjKTEtKsWV4Jp1SpupExNCwtRMHzfho\nftZ8vat2CT1aE64MfS67WEOhs0fEEUD9VA7S6RFhos6XsUXhtKH3Gk1+zRgu\nKawIv/LHAdxto4mhXHkHdxa4yhQwTDtL6Fv975T//mHFf5pIDdMLNIwjz2I+\naP6OV1zs0QKY2ExbuY9s3djlESptS1E8KZfrL/s1mMke7Ta6FLl1QzSg3U0S\npzRu2q00G4hrQdOBxQ2S0jKwSUXUeRrscT5tpoorp9NoCjnA1Y28xCCueb7F\n7/1eXRlTCFRnh2vo1BIwiU//SgsWaDuzoIgxI+Wdeb2j1JDF9WF4iGQ7YkUR\n3V3uBIHO8fXib26GAqPJL626Zxz/SO9RxfLC6HHHQckmGAMXSWDyggWZtWj4\neUHt4FUc24nQyOLHzMs2Kc06Dz6jxo91Xzdg+YaCarTKQO8H3VryyoULQiaU\nyjRuYAlbue9J8VeykxFv7NPJ/0I1WNv/q13029lb+5rpnrCJArTn35GYeEoj\nJaHz\r\n=GFID\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a3e548956009fecbcbd5e55f11e7803cbf5253d0","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.22_1543493579441_0.013399616556621474","host":"s3://npm-registry-packages"}},"2.0.23":{"name":"gatsby-image","version":"2.0.23","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.23","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"64e6b01a02234ef71e7e93500207fd9e7f77df86","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.23.tgz","fileCount":8,"integrity":"sha512-Ab1wQI9nJQxF4TTgdYqENs5tFJg6voBp1YCRUl7ppjSJadKvmaoneVQFCSGm29WSK/DgsRE0MVQ1Fe3L+ke9mg==","signatures":[{"sig":"MEUCIClKGmtNat4CMDDXquUxWS4ZgJFXCs3rV2h312MiX3mdAiEAt7aADd4p64MFXbJ+oO5S0OxLAy52GzdCO0b+qhIST9Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD56uCRA9TVsSAnZWagAAMYwP/ihAawQEZPfBR5NY+/au\nMjeTW22bdXmSUr15qp+poN9XAQCdesW+0JF5124RCYPLpQLuM1fHooszXhRP\nAW4WzSzSKuXwnXdgj3Qbvs5BMtMM8vP16HII+lz7eKsXAPaYkazE3dqjCjaT\nCMaP5gB9eAa7Ae9WqlA3YyYyBUuSBAG5xBRkJKg8mzGsqj2n7rY8AhumlUiL\nDwiVoInWmn+sRpKxIfKB+9mGH2HmiOhI6VxvYXNX7lRfLigJoV0+//sTuKH1\nljlNgs2e9jpbsPLclX/KXTCtOOHLsdZG3vs5RwzPk6ydO2dh683iVm9zM6aT\n/VBHAjAJRXCVzEOjzVEkDYca4j/+wrtypFvWV2XMrOHM4yEC+QZcCaw2Xja+\nXQCr+RcrlXTr9zUV4+qJ5lLulm01fPbwDPmXg1+s3A8WieweuI7OeHd4Je6V\nytBd3V6jtN7+G3fFpxrkbBjJeWzzw3mTH9xCRqrypAXh9FMO44757Wwx+jCR\n45/k5CILZ2EYVkhdRzB5m4qKjSoHl7QN5m758yKnPAl4iCXqNsEAVCxTKGxv\nEtb9H2sWevdWdjJu4+ql4hVFD3R/pXZ39HTmBBIiMwvpNyUE4GHVUoUFqf7f\noYS2eeTsKQ9NoI6jMVKnPG8MefNk+wBmXMuG/7pwIrHnIrw4wNGF3t/wreJ2\nRiFg\r\n=hWHE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a3042fdc8a285caa92b3c53d969a14f5197cbd02","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.23_1544527533277_0.034504406023805334","host":"s3://npm-registry-packages"}},"2.0.24":{"name":"gatsby-image","version":"2.0.24","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.24","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"90ca5a9dfc377a63807c0d6a5e1a7ab152ee7f48","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.24.tgz","fileCount":8,"integrity":"sha512-x4aeBosxBKStSTSsb8U1NrQAo++9YalllbRKI9a+14vfrlrYrKXFj3S/8Y9l4ql7TcwRJBibDQilw+fd7YFwyQ==","signatures":[{"sig":"MEUCIQCabUN3t/+QG5ZPmfHO6AODkbE/id/NQFDNJTk9bf0tswIgVxijmrnn38HKvT4gXobXGtV5xh58JXPCCkqcNOWYIo0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcETkDCRA9TVsSAnZWagAAzyQP/AwheBwmjl9rQZ2LrHfy\nFwP664jMBgUtoGdeqUiRN4XqMFvq2LHnkk8EbBwq+8A8bZX4vNMFN0mUGC9X\n1dFAcrqH2zB8Skl4n+IExtMSLmGSuSzJPhwdzOhY9TaTtMy3xvYpwPgdgowl\nNRK6CqlNh+TSZQX+HONozrzJlYwZFnkxiEbtKYuZN9jHLq8pZl4Ryp9JAEOf\nzSrOKzTTaQFCHFFVBCdayoQCHtt7uG4p5iovDSB7tttgQjIj5Fb2HKUJ19/O\nlpB/V0zmtd1KmFPeVRbUKxtq0UxQvK9ZzY0bmLKSVqrEmWjZ8yYlqf88jJWE\ncr+dOFWtYDdU48jx07Drj9pxkEmonIpQcn4ERpcm2Y8fSPNajIBOeETQfMgU\nrCDmAzLghJK2uoWU+WaZv8Hcm5R+JQ1mDU0h5aCohaDhEPYnhxo/vO2kw4gF\nFlrbuh9oKg1VcyZaH0bBnWeRa1x3TvicElLcFqaScTxB6sVNaScXKOMXlARN\nBhVo3ip4LKdhtVyfKc0ruLr2Ulf9b0nr83177aHypgXnQdSxpCvyjj1YiJ1X\nPTlynPlDl8u+Si6Sk00WrugP7dD+SmtbyLINIGCvDsrhVW7OMXL+Yxd5I/6e\nor5/rx5isaSVBTMnGOopgjWf9O3L1U+Or8pKbhG02HvktVl0SCLN5Pllo18V\n6p9h\r\n=qwOw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"39f3c3a99edeb608e8a7054a329a01f4a8da7251","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.24_1544632578095_0.43290741939588573","host":"s3://npm-registry-packages"}},"2.0.25":{"name":"gatsby-image","version":"2.0.25","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.25","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"30547589701db4c4c3e954609201fce2103ec8de","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.25.tgz","fileCount":8,"integrity":"sha512-Czjwf1m/8p7OX1hEh5YKHIFgqGZylGYKqXcDQ9myOQW3qOZ3Mw82ERjT6YSSHTQsELK27LgrKacL0YvvPR+ZJQ==","signatures":[{"sig":"MEUCIQD0KXtBS7Xyb9Ap3kUYopCANyPRPed4cVxLwSEPAje/awIgRG+9UOhIPnn1uWUUOblzxI7bFG6Qr+5DsWObVSiXc1s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEblbCRA9TVsSAnZWagAAG1gP/0ZHb/YaufPlTRC4kpG5\nZagh2QEOlbGW85nBxo0S2c5/L3Bd95JO0wd6XaIehjOmKqA5lM4lMplMW/IV\nfkU9uR96t4iwZV5JpToGUQRZnjX4rQcXToyeIDp0knw8A08Soe7jqJfi/JLw\nRFfQPMrzdN9vw4XY2y4zAAZ6ZhFUMd9/DvBBnhp/roLNCKukI/WReubJgiyf\nzMzj0ePz6laePKIF/lgjsuAHgfOl5zSMHsDX1+jk+mTmVteK3Zkc6qz1eHXC\na9U4rU22pSrJGYAHhwRArmj8kZJ5DjK9q8zfqs+6lVmzXXWe7LXe2m27nqCz\nUf9DOmcnqIJL9L/y52VKrLO5/id999m4nK1x8xcs42XsyIz/23KTnytPL6Gv\nlZ3PkjGGJYariELkqinNQdVjfUmb/9o+i/xzuT2UstKEFFjjFAA0YXEdCGQ9\nrsyvtT4yRt9FjX9cYgXEqzDrhC1EOK3zjRZmfUv1/A012Ulv0bGs1D/yKc1v\nHoHzTq0luB9ray6SigAmjWaRPJ/rJZHavswoR9jWQi7f09O+g4Vy23LhU3EL\n2gOtReMalYewlUKyRKtslFOnKKfyYa/PKdFdqpxQmcefVS4+2U15liHwh5Ek\nTRGpqoSbT1WE9jB99FGquUmE4tk/4HFEnWzRhfGBc199Y1n0CzwhFAqVUkp6\nI94m\r\n=b9Vi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5a08b7640c2db2c65696be56d81afee83b2ca9ec","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.25_1544665434059_0.4769927516893464","host":"s3://npm-registry-packages"}},"2.0.26":{"name":"gatsby-image","version":"2.0.26","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.26","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ae97a62a49237b65660ff9c1b4a559660878bb17","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.26.tgz","fileCount":8,"integrity":"sha512-bvW9jvrGsc0lC36ikwkLCDicgolyAtM/Z56aavXy+aVE0GRL2/RprolRITIjt1ff3pzo+n0L7unAZOoR4oUR1g==","signatures":[{"sig":"MEUCIQDxpWvrKqxEaxEDeQ09ZvjUkMMWB8GiD3byfru6oka7OAIgPQSqyJiQabRscTZ6nNsk3STdmLUB1zmJ9F6Z5P4POu4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN1AsCRA9TVsSAnZWagAAJNsP/iCuHimF7OCvSZUd3onm\nppkUHDN4EzRAVLXZLxtiIyfAcZ44KhO0Q9OmgSygAaHGiDlMPxcnCdH01UNi\nWj157JzdkF4suf6fxZde6ri5kBWQaQbVOMobVD99p66+IkVzfN1Lo9ORVJhx\nmQekz0ECIQa/PQSe4Z86NqZtj7QuiV3IOBB55ZVbVJoAO0sBikpnA9n1Ze1c\npJgaAhy8xAsd97FE1QTWa2lu9BlZNmqjWxDRbYt9qsba1McOMd+eyjDYHxSy\njAuP5PswtToZ5jwCCoHjrMAsD4tj44Qvd3H5ap8DJjkqEXP/ERdPfZpTgIq2\nPsoCY4nGDD8+BCENWud+Gw44kHCa9Vo4rIY8q0LACQEVcXDav8nZzGqdnGWj\n1z1rw+/rriCWe40A1HWlMlofsKSamtm6OQ1r2SV1X6Mig5IYqk2fFP4uHlmN\nkiA1On8eNC6P8U9Uh1a/b2ENy2T+Mb/tYrQw1uQAHpAk9s7JdWcXkt7AUqbt\ncZZsdq3hA13n2rNb5rmirJ7dNtxQhnaEUnybQAMNxhL+eOq40NPvVHZK0qeQ\noUbFlUWzTI17noWsP5TmwOo/+sjd/aI4DVk3TggjdXx3HCibxH9d0uxvKR9P\n6vUaRUJlMcJNjQ86XowUHh92Uz5sh6ZQs1pgnY5TgD1Q/IFYWNK4L3oxNghA\n+k1i\r\n=jzYc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c232a58a7d8b6813a9b1467e10a52f9c979e7db8","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.26_1547128875941_0.2392568578322618","host":"s3://npm-registry-packages"}},"2.0.27":{"name":"gatsby-image","version":"2.0.27","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.27","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2ac20c9c141dd012f8285c34cfbb040cbc60b3c0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.27.tgz","fileCount":8,"integrity":"sha512-f3av1nSSU6r0qGALYJ5kPRxuehiZJM/MAGXhGKCYi3eqbfWT3NERDwpjhSKHYa/P7s4gc/jAyGJXasDlxztEDQ==","signatures":[{"sig":"MEQCIGmxD+29QIQMqxOn8kIUinX5CTo7coBDzfm0wy4L3aFGAiBf685fecaOzj6ODn/YdvanewLnf37+GqtlOCw271YYLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSIdFCRA9TVsSAnZWagAA1iEP/jtsl3FXYFO78wr+1uS7\nd5UMn14d69Fhus6PqQEEA8aDDS6Q3Te+oU11LiqS9zZMCZIb1dhqh7h3jnsO\nZ1+QS+ltbpTr8Cu4RWgMhso5AVBJdCph64RalyEbvZQ/Qp9o1cFlPnzWr2Vc\nAj6xt8afv8PhqIjL753GThFYnzvM0oeHjXW94Hq+MvK+/L5fjv1g0I0OvQW3\nnj9ZOAzZbNe4kQi1loHAwfr0SVJrqk5YpaRXf221YqiMWxQRUy5Y9z5zd0kR\nLhN6sJV5nrmAt4b2GyQPqax8ysVBnJJiyhI1uvU2oKTtwwdx58eYc0YIwtMr\n6mBAhp+Xfv8IB26Y9BAGeWWu7IlBFdMqAbfzkFZVNtOju4aCadddR6+fiJbC\nFahiUpdf0WfcHuaEDLTB0A/9FEeSOmqbE+mok6hJYp1YXTviGRr/sex6h89e\nWTkzxsN64R6uWYK860zrc5vEspQEShYMXPtbDwGf11NL7NpC1V93owMF2g3D\nIAn0d5cuUexcxFenldsW59SGD3ZN7DfFLFqc7AC7S7jDDYeIrav7Z6mcQIY3\nBAJfnG6F5TMVhl93m2cSJ/e7RBtKNc0J5m9rtMNF0LV/+ojH/g/coIqtMJn0\nnu3Fys9Ucu74kHl+OH9rdAb0hmweMyUq+EYKs2Y5R+PUIJPrlgGc6PQMUpzp\n9V/K\r\n=R1Z+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e9cfd13508cb3a6951699f23ae3873c5eb9bf74b","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.27_1548257092382_0.015260158135266488","host":"s3://npm-registry-packages"}},"2.0.28":{"name":"gatsby-image","version":"2.0.28","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.28","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"368734f2976d4664bf46c014cfb7ae33baaaba7d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.28.tgz","fileCount":8,"integrity":"sha512-GAJ2nZoGO1EXnB6yJN+fm9MWZxhzoYla4JwEZU7hP0VaNjZhS9mxuRGLfaBO2PxZ0k+abO69/tiRIO+NuxMg7A==","signatures":[{"sig":"MEUCIQCHkL9igfjfr/nhw7H1GaVNisc5U7zZh/+eGTkEJflGewIgfFA/3c/7k2reGsKbYB1y4BdagwVZTC+z7NQgIuTojBA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSuKjCRA9TVsSAnZWagAAOCgP/Ax5bJ1LzeVZ1JH+xUjN\nuoIpu3j2/OTi03C6f2hal5Pjm09nIYUDTvJjBwfVOU97XNSdVNPSPsuaf1mw\nzDWLM8NI6Bfi96Lfj5OmweELgIjplkXuW2BpGdcuvX4qCiRNjQyjmi6E3mIz\nCrcmT/zzdz16+GeWHlp+z+jCuhJ8jlDilNHjnu3cjI2TIXwWV2RtyNI02XK+\nmxZYG6DBdTXdcA6AnHXv7ghxYQiaG+LFEfrw6UtWMBAw+dTXG2QTqGhrvAE0\nGQqosZhq0C2qdA8pI25mxEdQQF3pp+A99NmXoG0mGlEFAy662C5B9C1xRU6+\nhlpmFSY8iP3/L0sVQX3gYDrSmkca29ak56C1FZFyU0A5rG8CpksEKTcaplti\nOxuq+bPIbXjmDsjWTfIA9o/JJ7MboPv91wNTZ2gZNjG4XXSXDOa/zDFBUFph\nxmDRRhwBSa5+BBLGmU456TuH7idTU1j09dfR7Wu4HAiU2jqS1EPOjaN3DNDm\no9Jnvv40U3E4faTBOKdk6CDEBN+1otyNjRbbSC4CqZPoUbCg2unnmD2/dANw\nEKrj9fg6TAydfrpEYmUwNju5T4wsOLsFqbtxtvktCYtVdbHepbrVXBWgrPwN\nyP6TAv/vQkX+xfvhOJOdUwlQ338ftbdyY69yjso+iC3fgb5kevuoEsVMF5NW\n/uvR\r\n=R5mR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"79bc7d48c84d4b36c72a91e2d5e1af2e8ccf6378","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.6.0+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.6.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.28_1548411554661_0.7650244516531755","host":"s3://npm-registry-packages"}},"2.0.29":{"name":"gatsby-image","version":"2.0.29","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.29","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"38475842b6e9a5d58c4e3bec875179b959c7d7ab","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.29.tgz","fileCount":8,"integrity":"sha512-kMB/MUbm3qPlioJL8lVhLy000W7a6fA0DKpyTS1MtpixoAJKxwBTmXv+EYZPFizazRbmpHaCXzq3kk9qMhEEeQ==","signatures":[{"sig":"MEQCIHVtyyPHNyC8ZIEz7lRk+oHn/JeN4eY72D8sbhchQaq/AiBGVrOTLzAa5MI0hEHdK7mRxNG0C/YTk628qVrv5dSyDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTzS0CRA9TVsSAnZWagAAiAIP/ier+YKu+SdspJca9je7\n62h/FG1nof7RLuDmoGc6qvnVCr4ObazTtE2bvPkqfTpvjG6N+ap3BOtuR7yr\nKywMXNAsVANdB7+gnLNWMXxYJLMiGWOdwqitsYL3RALUgRUfGu+9km0tGZUs\nbtg6LVryewpb5Tw+b+H8cTt4RzVXBrmEcpPxiooVkjuYtbYyYlX8jq7MXAfj\nFEZhr0pI1O6JWrSgCwODpFjUHmELi4MlbTzWwmVP5ohAC43sTHC2Bkmyop0C\nE7B2Z15fkhOVa3dFPrj7BE0+c0Wa5q4Q3KXzDdaSZwB713sXd7ZCadyB0WM5\nqrCNJrK5jdZ8OmcMNBl+AKcO/1XqVQl5jt/2iCcGHLmFcxfDW8LblY5thW40\nEQTSOwTGGe6tJz+MEt7cD3tLB1x6cY87kGliueCuLePPGQCyNevW6LSpnH1u\n5k+hpxvaQQ/qLh/q7PdSMYLSQwfjA3CiF6EsiaEcVW/JbQQsKcWag8RN/rd0\n2ea7D+rdYh4BJS0AZBR38HtqLu28fQxlmpgpqvEXBAeNJotT7ag/GqAx42Ww\nCuF1ztN5wOcM7w7nI6yUwuBZGHWKFPlrvCOWtpjNrZAapFmtHhgczD7NiQHo\nB0yWr83tYLzW2oMY0sIZeS2npJAL7Mmjjx2IO5FSIhu8G0pExn1eNIyFok4M\n96I1\r\n=vmvl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"87652543ef7b5773bcdd2dc2bfca393cd42b52c6","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.9.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.29_1548694707902_0.8217096642816752","host":"s3://npm-registry-packages"}},"2.0.30":{"name":"gatsby-image","version":"2.0.30","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.30","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8aa3cd89998cab092c6d6281700832a065fab2bd","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.30.tgz","fileCount":8,"integrity":"sha512-CBkJwEQgpZ1Qxb1AsP73YHAUL8NSTqmv75h2+eR6BlLBmMvbEqZGTMnMZddA8CCrbICrSQiRupDYPl4n2vzFCw==","signatures":[{"sig":"MEYCIQDRGpyd61WJw08zVq0IOwO9ikc0dBO+LsC9wl0bvbYKsgIhAKvYokrK38y6j1Wix6xZYjcA5kaNfr/+p6yGxnPfhF/h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc4S3CRA9TVsSAnZWagAAT54P+QCUTQRwOF+C5eSE6tUt\n5C0T8EL5GWtqpWlne5LY3KoaC0TPfQZVwHAKBY6LvSCYABmazMvFElXfRz4/\nLTNFXtDs+g9heHKBgUZCa+rEwRwPH+tp8Ry+RQ9fkNgcFBwh4mYmeuyuZBMK\n9pYo20TW7SuoS1f+hWpf+ZsMeM0I2mASuwWvW3Jm6MgrGJpWnEQdF6b3jN1g\ntZD6f750Sa+0raMLqZiNPk4AG3+N9z9zltz9HNZbZDrMuoquioYGlMKrMpTQ\nJCBe9igu9ms/f57+aQSjyrtt1EBy2d94/r6x/s6bU9iNYlcAjA+CdH7xUnI1\nMMjCtg71rybVcRLXeVPaGcM0fP67vwhBobV6+VKvGxuPPYivi59h1qM2eqQx\nsAWXVmNtxqBKw5vVyFcCTjHkGns6mq6ePQJm/e5EvthArElelUobpvyYQA9q\nANZNN6aVBLnJO7aTucoQl6YuEdqdH51/aLs1RUBOLV8dpVXwMJdD1e+sy/Ly\nT7j0AaKoQp7ZT7TEni4jAJavSXLzE8qE4IB3e6UMMmxGBPMamJour4kmyJCr\ndEq4OLdmvcwt1AvSA4SrC2VruxhOllkuLdsnbh7ntNdqHIWBRFcaArIPdlhl\njUtkCWEIv+TTjS3qPfGtPurvqImlpWGh3dRBVtjpDQizniYnKDUxX+Oa8Ft/\n/vLM\r\n=TSVb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc6001c6f16f64f4a0eae17d1d48c35645e00ebc","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.8.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.8.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.30_1551074487006_0.3989332090718998","host":"s3://npm-registry-packages"}},"2.0.31-alpha.0":{"name":"gatsby-image","version":"2.0.31-alpha.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.31-alpha.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"cc8e6d789084fef2d3468a347810118eef12c156","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.31-alpha.0.tgz","fileCount":8,"integrity":"sha512-PnGViKaI3kXi0iIFAhHsmtNc0O7HpHFBv/eAnBWbuqzb3hyobjnMou3+aece2FjV/kCRCjpqx2lPdQB36Fq5FQ==","signatures":[{"sig":"MEUCIBL0fx3O5tkompezr+7GwmFJ/Mm5bgJ8jJ43ezCkbnrsAiEA/Ow+Cu6tOGGHEJ860IlDtl5jzW2JLfgWZGzIW0WmyRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfNAhCRA9TVsSAnZWagAAAjcP/2dIa/XFhf3V0Rnv/axw\n/TltCe4fL2QGRmSMfg1gEQmFKTFW9/o2h71JDNdSc8JqWyotRsZxtOuJtclp\nAkH29mE/xtl/9CceeF31wbC0RVi20/KqXo8hLhfkwNlYiqj8PtD9nfd9jRJW\nNiSdAkhSJ79+s63/Fg8V4JH5k0c4j2I1cjj3KPD6jyJuBkPgc8Oa3BAVSP/x\nx1IG1UqRWHKQaMYBdamzpGfvxdq+BUmWCxIssRgB2vMym0Vq9WhNzn0CW226\nKqiVhRLFgSsQ2+E5Upf/dEri6WodOakLpg0vopRSTOD7esoXqxDTs3jzLqyX\naRnXrpfmCHPLZ9WCYgifPSl+I0eyle+uhDy7kTScAKvacnSOkJvFAocVoOLn\ndM90X6V1tTm5XyZ8MJliQpZIdedCNrWgnsI7DKbd+29M5qRLtQeehVDkcjCf\nzkShXJ0FGLsziiQOUhifsWrRrG+wanO3+IjhjSlbOzwdik6/6pode6xm3sZr\nj0NMZA2PYoQfrfHanNlxALz18Cvp0Ul++xr0hfMk3lVS14iJ6YcVnV5C8k/y\n4uBIE2B8i9zMSNxwoP7COPzwUBKi367w/sYkNUmTTG5nTaxnycrkozwGDs4w\nkWV7tcacG4gzto5zJYjP2a01egnK9+ww9g7GU4jqL1COOk3EkTueP69OdLWh\nDHuv\r\n=gYY7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e) or this one by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/)\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                 |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                  | `string`            | Passed to the `img` element                                                                                                 |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                       |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                  |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                             |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                     |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.   |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                     |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`.                                                                      |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc)\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in some fairly common browsers including Safari and IE. A polyfill is recommended.\n","gitHead":"9992c123f46b00c1a8dc660331f2155c42cefd3d","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.6.0+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.6.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.31-alpha.0_1551683616616_0.9672953227012828","host":"s3://npm-registry-packages"}},"2.0.31":{"name":"gatsby-image","version":"2.0.31","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.31","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"07bc87a92b608630f50af7cac4315131be75d01b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.31.tgz","fileCount":8,"integrity":"sha512-UQju2WMe3B9AfEaxApP/HNjkJMS/mJaROC2KCq2qEaNyuaSPNaGGCM1YACjWnC28a5vy6tOZWrxTx9vsBThb8g==","signatures":[{"sig":"MEUCIQDVoo3RsYYdrX2GBmZADyySA8Gg45rYgRO0LuU8bYMWrAIgdIEMP0jeqw/7/wrb+2BoUpZeZOg4iZg8StzJ8z+GMcI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfPNQCRA9TVsSAnZWagAA6GsP+wav1Z1bFqAqBuYL7tVN\nXHk4mZLFB5sXJ7+W0ZhCyqs2v8S8S8/LxVXb6yazYt5bl+BxdJLg6K86RQWn\nF5f4qfhq8GG84G7AcanWaJm6qjD1VhrD94hAnmWBv6M3cFycuwOV6ZVA6guZ\n5ZB9KcnzBbfODQGpgFKfeRFcdZj2L5qzDD4FxKcGtgckNyBNBhhGMJR67QdI\nFi3Eght1GPeVCEUJ9EeSpa6uxcTUimlGA8WO7MHcJ+c58wWUFsH4nS8AfJ2N\n0PerTuKgUDJq41eTgZPNEMseRtpv9Z78qFu4/0SEba+Fd55fgEt0sPvRv7Zh\n7N+C9HianvpUhKayyBWarhDgZJWKaWGaebfOlF4QW0ejm6WJeMJzx4oNhFyp\nzkRE7v1Rt6l68BMubb4ZJVf/S7VdoTCmiJr6X6MAfYS4w2L25vh7oMfslEKD\nxWXhp9D70sS36GZE+2gvyv6VTqKe5NzrrMXUina6fd4W24JJ2XWau8zangs8\ne7oje+GPIm5MbuQD9rA1k5CN3USjVVDoOhulpGfSDMsVE39/9RTe6vO6eh/o\nkfLqwLudd/X1pceZlCwY/IyNbAFnn4VtU50WqMszJ5cGjeO+JjO7hpNqRWUt\npVZzKvLFf2/urr9Ybl6rW0A51oZrJSRQFwdjmOIbhHw7hSXgCMPt74ySqX/y\nEKtu\r\n=5fAC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7a4b3ff1d42920818448c7784e96b976bf08d8f6","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.8.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.8.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.31_1551692623927_0.8383856704626644","host":"s3://npm-registry-packages"}},"2.0.32":{"name":"gatsby-image","version":"2.0.32","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.32","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"0fa8537a65287f3cc4de40a6df7b9ba513d2cc8a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.32.tgz","fileCount":8,"integrity":"sha512-JrPdkUnBnO1OQvZksvgcH01U2ue+9+vjQNW3totflXUx7yqvT9rHeP5zFfM22I7APFLhvLiv4YfEDwEmur1eUg==","signatures":[{"sig":"MEUCIQDrUk8PD74NmyU/tGQjgvAfZUcjVtEUstgX2SRhmGps8AIgSYuK5TMAgRk3oF3G/8i81R433llMrHRbXKlygNivbe4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchn2NCRA9TVsSAnZWagAAYoIP/jOWMIUYlYvr2vsX+gwU\nRL6AZo9uenE5XoxkAHTx//puJGaLBbooMLwEQNjxhKa1rh0ILVZgzQAzrvPk\nfBd6oB9tHpYTky/5sfqcPPCkTRM75UkRfXe4xUoZS5cFsUi+Jumfo+eDkNrG\nurpTz+P57ELlEZgIw/N4lW8XMlKHcRtftX9qYEroYdc5pFS/xGzXSIwhHPlY\nKhniWaEtaNL4qeKyh/chbUVBIIniGuMdoqZKyvWgLHERdvukC4uuIpCKzkPC\nAkOQNYX5/ggSmXI4FAA9knXQW0ZbXbp3aAv24+na47ULICUh0rw0IbPqZx+e\nY9LCbXy+inFxZrHCDHbOV4BtD0ABDk3/yreJGcPyUYJLUeT336lRg6E9qOTs\nHzmGkXk9lsDX7Gmc6VW0bHdccSnktdAJq/wbVH14P0er0CwhE0VN6lLmr872\nMt5ngAcAVSuiX9iTpMWcOX+B0YmtmNoZC2Fdilluat6b6HCxh+dkZVU9iMvG\nBTK4vZQyxKDIvPTOrAdFjQX42Hq6zMnLHsKWeL9hz0/9EPTubqHkohH3qS3I\nhlc9HjJLgvpoCsFEj3WJqxTMUtCAtQkTP/l1zrRUejuy5CPlGIouB0f/Sjqh\nuccVGAEanCGy0N5yoWtbzK3pmfeHfMSuktrQ8OLgytQnLbZuJoOWPs+Fq4Ka\n09rU\r\n=iMtN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"17118da6ecfbc274db521e11cabbaa6f45f7fd5a","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.9.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.32_1552317836323_0.6949654692216478","host":"s3://npm-registry-packages"}},"2.0.33":{"name":"gatsby-image","version":"2.0.33","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.33","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f167c128e5347e17e6611b164aee731a7f05caf3","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.33.tgz","fileCount":8,"integrity":"sha512-Vl9eARq/ZFx240KmAOnKDRU5re0kY9BP1bwHP6Sq0ZqgUN/HjWeb/Gqa1Tj8uQwhFGy989EN32nM4xgKVT+5JQ==","signatures":[{"sig":"MEUCIBCkuYDArURfiRWJ/aX2ZXj75iwl5Y3fqFciInjNZynUAiEAkoK9FZbDq1YTIYVfsnyt/00ikqKDUMSDD0MyeyUMkaE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciBUwCRA9TVsSAnZWagAADnEP/A3PnfWQKU13eGZD0uDw\n4P0wZ/ww9Sx4uXroDdvdNGPyduyeTjjJpnTaS6xPUYr9b3tXEgR41/VlxCZx\nvjcQ6qIQA1I/jVpuQV+89k4dF13HLfTa2dQDnK16tuUsUfAGjkQt12cHF56U\nXcWAmBVEaqSgRPLk+rTpE86RU3wPSqqbtUijET6rtfvyB2UAH3P6s+dKZN9v\nM+1cCp6Q+S3XctUYJXNe68kNvtHcHbUmRIpaYPxGo0X4OfbWwzhe+edxt1kU\nkyURkIPTcgjVSQkqoQAupztnfx02NjQOdSi8BzvUSrhMXVe3ZQCsB/aq799o\nkmWdODYmTa9xaLPlRZNw0NryEIPVU9zhTDYmTsBo5xmbsY4gHyMMHBew0St2\na3w98UMYqxurzpgrtUyi25NnLzM7mhwliPucX9Dol9KlvV0pKyYLNOu53tLZ\nf4HUzbrnWcIXv/Rvx5HHYK+NdhA1K8ZtJBJVOEx+sfKPKtsVUW9iEMYx82gu\np0ozpZ+zOhrZcdoLUROfJlFMPCCsa7MKj2u1SGgth1DH9GzSCFKw0rR8la1i\nZsvu3adJXPBZya/YKXixKPx8JlQIrmMeBG6e2wHYZZM/Ehl15XafIzIn+m4B\n6gB23gMdBdqlWhM/dEW7FOR1h5XMbwoAX9qZoCm/sHk0qROJkCPmUE8LCk7n\nlF84\r\n=50zf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2bc1bcac6420b8ffd8a451699858659898da5a63","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.6.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.6.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.33_1552422192002_0.856242218463463","host":"s3://npm-registry-packages"}},"2.0.34":{"name":"gatsby-image","version":"2.0.34","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.34","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b4f33c3b9391d55fe2648fb629fee9db2d524a86","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.34.tgz","fileCount":8,"integrity":"sha512-nbqybNM9xsc81yaaPiQu6/pQHeNO/rcXI6RoADpUVKr3s5hRgddcf8xv4FQ2n/sTYJ6/2/bmu/X4nm70tBQCLQ==","signatures":[{"sig":"MEQCIFpTaTR+AdyLFITKSQM96+jrzssWP6p344LfofcUYEiBAiBV5z9wYgtRWI3272lrLYKhLBLznXbq1H9ETCsWna3yrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci8t9CRA9TVsSAnZWagAANA4P/1lyfqImUsmpCpBJirMp\npcXWvnpPGAJEu7Yu2DVnMX4sv5dqsuBCQtBixFM7D1o9MmlK1mbRmFcRBl6y\nay1TeTvMGO4VOMVk0wCm8qNFHVpdpeXRWkW3EjmMAQaD3rxMahxcjHpJiiA9\niu72CBDTMn/A945nWqQ/Mho6hEJd1NICIWrrzRFAZCJUJWZvh9j/QepT80b6\n0QSxcIOjJNIzK5ANjw6rt8yNofL/xfoAUbAeKPD7Y1iRaJ2PIb0t4nyPaFe/\n6XRdgIxM6ugT4loZBnz8lkrjgcrKWRlttqLHnoUiwNZV5rXjz9UUQBi69gJL\nuBn3OoZ9NDZ62ToMR04HwH2XgswYwXclk4iJ8+QDTIm3nOHc3W1cbsFDBMQJ\ndN+/Qc6im+07MtddJL0eZ7/YJS4tT51c1+9OWVgQb0IYhJdDwWTk/jvPKcc4\nJz+GhZCR5bqK1EtXHBI110lmxCtYPCqWTRcfNeGP1z2h4RNQaeN70Ho4Qy/O\nqSAig27FyeAv4jZRVLCAuimxCocE+kwzNixfXoew8MOy2scKvRVnWzXyQzBP\ncf6pet6tgop5/+87vP6sM1PoKGDPk6xxlg8IdVM6XqbumuoSnzVgaZ8dz9ly\nDNR6kJ0k1M8w7VO3Z9SWhsyo9GBObPGptkSFaK1vnoYHq+AS7QEDZ4HgV5mf\nqDH6\r\n=IRim\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b62816f7ec1ec01deb7d7f7860e58dada818a93c","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.6.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.6.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.34_1552665468286_0.9437491001867058","host":"s3://npm-registry-packages"}},"2.0.35":{"name":"gatsby-image","version":"2.0.35","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.35","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8c19b4920df9a33bb17c2db1d5c83cc062b96e39","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.35.tgz","fileCount":9,"integrity":"sha512-rr1R1GoXEqLqT4pz9zaKLfCNBdgz8vi5MZU5Iu4yCwYc78dsx9M5Nd5ftwitHu4lc4y9eKyMcRFX/UOaOm5hvw==","signatures":[{"sig":"MEUCIQDKk/K2gnM8AKGrZxR72BSSLjKu7JaWb6Mrh39wcyvn1wIgXlxVbgPi3iiCKymXUlqWE7LJIq6hTBg+1KAM42EzILc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmlRuCRA9TVsSAnZWagAAfeUP/RVFk+R3iHVldHIpAIbX\nk6niCF7600K2ozhL4SwH1pFA4URsIwSLcgkV0B/QvONFxDX/LW3cAW/dmYQh\npZ/Trw3T6Aw6+fOWKJr9/GBP0MtB3NWeQqNs6tQJjNG4V7gcrvcVYyJKY1Zl\n+Zk7Mz7q9q2wukCTfTQuLGynzdbgKtAobdN24VpgEOp+0LOwhx38Yc0pFsT7\ni/WN3vBlhziI+77I2D5hpxSXsiqbca8CYyLy0WS2Fesr6MX2WRebMsRb0qrq\nFpm/NG7Q+oaW/4Lm1/67NlYXtdMdyQrBwQ1daQBGrdxb5lZ8thysl7f8yTn5\nmJCQ74VJPS1eXe1+wUIs1nLIuWtq/9tpPvHKA7ZlquyWtk5knGkG9DHFSg0W\n/3oJtq8/KcRMSfz9aqBgd2ftA/6kuEhAwjKcBDucJ/U0IDEAm0JT6IYG7/1Z\nibgiEGbu5PYqS7qzVFX4+jM8COHpHLFw4yELSh6FDC+QcKOu2F/ZiNVT7kQy\nLsxUz06IzFig8ScjCqQrl8ZRkFVk/OCc/Tp6T4vREoKUdqWaV+vK9tTgFJ6X\nnYkpAoIt1a1Fygq0gw+0DjwJh25eBQTA8GhW5yYHgutkuX75VDNumUPnWY3a\nx8TfZCmcUVhdMOkmf8/yhKGrvUP/e+670kIng999rJDK//fdLyoGNGt5L2p5\nxtAK\r\n=BbZh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a1b8f24e0dfe08a057df7eba1b267185a2b176ed","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.11.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.11.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.35_1553618029776_0.723751139915924","host":"s3://npm-registry-packages"}},"2.0.36":{"name":"gatsby-image","version":"2.0.36","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.36","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4b97b559389c0bf7ad5ca2755905ec4b95e2ccb9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.36.tgz","fileCount":9,"integrity":"sha512-Uyu1U/qtCO+MbgH1rZSLf9+OIlk/PDfl4f6kAM6d/ncPJhZjOyoWI05Q22dd6Oe47ojYmJu7PNGaHzq9mWKdOQ==","signatures":[{"sig":"MEUCIQCwlWp9B9jgJ86LzSZXuOCPLK7aVL1yi39r0216MpGWewIgal4XTleon5IvvT4hn5t6EDdcjhInsNoqfuzyjXknTLY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcom3tCRA9TVsSAnZWagAAWzYP/2e1rmb8oNYuHOdIUJrs\nldDb14AJWOSQO0ewfaiRuFi5mUlMPd5NreHtYsJHZaIdkscO/4vi5x4xygkL\naZQRyZU0w3xX2heofWiMXJ5icEY0HnposnFif3mKroR5biuw46K0a1G0OMsK\nVhUejA4uIE03xbm14KtvJN+bxzBQaq/DOmfFf+iNz2Wvf24K0oYF0cZOExjR\nAQAIzrSsetgDeKQQAOis82vsp0n6ngukeNNjN/P1q6vs8MkcDna6OVAvA2pa\nPqv8p+20AYy1+ZSIV0Nkk8uBNf+U9xu1o3jYTMbOQBHZkC9WxB0/4eXscM9t\n1NtV77Ac5+UwyekcO3sGNwRHynAU6WAIk7QjDDaWt4ANLBg0g9tosOjeggTc\nq26ORuIK5OS7P0dwgtQ4vjUspErtXA0G6UgrhNX/WkgJN3iRNZrn/wxWvl0n\nv+jHBGfFvqWtcSun1OQwNs0sFZzb0KI9Mv9iAGmkicCiqvq3z1vMJnw3zcgP\nvLaEs8oRUBO9tVvKJeUOS47DqMXMzn+HVFtdv+MeBibRKHzZMkR3KVmDGPLE\n3s7FArmSx2rfsZEiunAZzcBg++a/VUZQeegjixX+oRjeWyQ5VT/ChIx3rt1y\n7nWlorjYPzIOXM8vp7TH8NUyULtxkpkcTm2+pyWxsyzWyuzIHPpMJOK0y2mC\nkgad\r\n=IARb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"87c1f2884a81b6221523e0210012db7db33ef4bf","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.11.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.11.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.36_1554148844194_0.34402692716117556","host":"s3://npm-registry-packages"}},"2.0.37":{"name":"gatsby-image","version":"2.0.37","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.37","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9c28c3d8c2a249f6f5eff929be67a761658762df","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.37.tgz","fileCount":9,"integrity":"sha512-KdD5LefTmigun2NmvYqoBVXRZ0W0y3Rr9j+yOX6hxU+RJQb9u3gF3vG/dC0Aljwgo2T4zKBqG8wolJ7F2fWj5w==","signatures":[{"sig":"MEYCIQD21UI1gUXj7jxVLW9HHojzFEEEjl6W+gjEV7EClVFd8wIhAMaW4E8W7kT01q2OcJmXSM1Q+Fbsol64Ek4X4iZaBvFb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoyyBCRA9TVsSAnZWagAAoAEP/iVCdm5izW4Xw//+bliu\nOe0A1blH3FcLFCQj5Gqu3M9cMjPhL8pYBJZssaBS3XgivjQd8CfXYG1Ksjow\nxI2xLpL3oxg/BNl8ARS72TAkYoxSrgj9BOeP4GSptDR0QoTw/MPsf573NJm/\n1DTDOlfVqyv67Eqyztc0G9UJJvOMWuGLMmCj9R0qS6EbU+IqFJgyNsC+PO1Q\n3+qnSDqvcTabM6aFt6iUNINTfeT3LZSE5YgNdFt/7JQ8nqNXvG376Huvl1LX\nNbTuX5nbOcqLDeFQoGlHliX2a2UFVtjJn0CrdzD3gNLzO+MnAgr84pdzJfKx\nrSy7yYDSN7oDudOWPiXz16pbbJRV7iMXyjwgpfQUdXur1HnCxiqDB422XvLq\nLLpVTZ8tQfn6GD96nn+kTScrVD2pd+4F4GBmU3HFAp7J/hmYpSBkPO4FvwWo\ndQPc+NqGivfUdL59M0iIU4a/9abaDUARDeHwHEqciTocuF8mg9KdOltNYd93\ndrue2VZysTH5m2N81q13SYaIF7/gjkuYnViDsrTr2qRouBrk1oBwjZNS+DYk\n4zkGtpTDX+NLSk7O+Kk1awg2j7GlJKONNxWZ+cKJ7URYMCYWnp03p3LA5GRC\nSxjWNkAanacdUJdRJ3yQAgU7tjw3m4Clzyw3Az6cWXqt20S/S/t4ACwnutdJ\n0uZ8\r\n=Yvcg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"748f83353bc08218b3f248a5b5eaff41302800df","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.8.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.8.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.37_1554197632893_0.9791804195009581","host":"s3://npm-registry-packages"}},"2.1.0-loading-attribute.1":{"name":"gatsby-image","version":"2.1.0-loading-attribute.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.0-loading-attribute.1","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2f6db4212036ad072d4ce83f6526958e592b1b5f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.0-loading-attribute.1.tgz","fileCount":8,"integrity":"sha512-Omc8EVj3itlDCb3QUjInHyJXhDN3x/v82DdOcwNkdunvVYLZ0/jfoceRCNb4c8+UajGJ3ER9iZVZbNi86Hca8Q==","signatures":[{"sig":"MEUCIQD8SqVgUixPUCzqfGPNsbye2wbOXmwDXfC1ecWkOk0ucQIgaFFmGA9f4cLpDVWSLgpOjUc3oZ903oy7rj8lSyG60J8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq19tCRA9TVsSAnZWagAAOMIP/2L8r9+YPxg8CHl+ovbf\na7mMn6VtTh4lqS4n2PuVL5gtuZtr2grFgUITu5CDhudyngoKremwBApxTelK\nsLYwDZg6DDymWe512kIh7pkWP4tFjo7Ju1FLKzqjeqqmLCUysLKezQ1qzlBL\ncgf/miHLgan4vJpCe+yqzl6LjmEAHqzmTKC/4se4JVC/Bi/BnamLeMpyyvyI\nyacSLjonP89vy8HjE/H19krfk2pFNNTGo0fS8XOYc+SXJOaVb5Awf+a8fIEW\nUEdtDUghukW9uTEhYf7YKILbAJOMflKdPoSKkuNGzET679Chslr5zQkDdbQw\n7M+7WZB2HT/Sr6jwhVvtw45DRtfujufLZjiaMODd3I3HPG1iLoaPZzPJ6Wkm\nn0uqdeLa7sCTQ/+kCj6+c4KkvasPTCDdgmRSZhgp4Q4NOBResZ87YHSi7ORd\nHLqyu23Z+8TeXRQyOO3sw93dHmBTqKgOJF8QhWWiELNQIO8vn6JOKvGV1mgT\nmDM3UVJHsv/RrINGl0M5TmM3+xVJv7rVp9ZOBtf6u73ZhZaw+fW96lyFirFj\n7WhoFc7jBS4e8pjRhY9feAo0DLmG74bqbECPK8iRKakMsq8gYgszlxuPJlwk\nXy48JUmDJN2CdkWUzF7cOims5dzT6yuvtDcUwCuPUM7NMX8jnxgocKByyJhc\nVFMl\r\n=3kjy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e) or this one by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/)\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                 |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                  | `string`            | Passed to the `img` element                                                                                                 |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                 |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                       |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                  |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                             |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                     |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.   |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                     |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`.                                                                      |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.          |\n\n|\n| `objectPosition` | `string` | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.\n|\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc)\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in some fairly common browsers including Safari and IE. A polyfill is recommended.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"6.5.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.8.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.0-loading-attribute.1_1554734957107_0.9812214324595019","host":"s3://npm-registry-packages"}},"2.1.0-loading-attribute.2":{"name":"gatsby-image","version":"2.1.0-loading-attribute.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.0-loading-attribute.2","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6d3e8e9f4ab4017e3ada30a131355e12058e03b7","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.0-loading-attribute.2.tgz","fileCount":8,"integrity":"sha512-zoAQKuyLVl2nIY/0mqy99eCaPXAOQuLxFEPaHDaMewwgyhT2V1YnWAo6XOjzkskW3Vd1UzOOHdSsZ+mDfw2FcA==","signatures":[{"sig":"MEYCIQC89Orvj2M01CJYft1sk8uLgSgtk/oG1q+wyXe0TqAVogIhANvMZ5AbolL0nVV/wiBvzNXRjnhnBjYHHlCC2EUedi2G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq2TXCRA9TVsSAnZWagAASesQAI0OD1LKi2H4+1DH5ztD\n9NP8XRXzvBOzUjDlbAZUbiwHTh36O26fgaedYohKChWaP/v13nn4TtowzFMV\nHegtcW00S9H49+J+pp7nKqZE6WrebaaJnSUstYe8P1e2E76TMbVA00ESwZUd\nRbprpdJXZn7ei11F0MaPBvb0E9aX/RckaE3K3V0CuhnbQioqw4TN4WHn/I7j\nhYyi6rUxz20wpg/qECc385oSFa3XQh5OBvGdXUsKqrC0Aijv+W4Yi+8Xvsod\nVyX6adjRSbhFDZIEWZfNlEf1neuqA+ly4gF9pmqfWw7siotuQtiLDlA1916U\nIm7Ej1/p7jA2OoSluiGDFPWXt/wPMQxGOEqyLdX7Yqb9hTX9e9EArFb90Kbd\nRkKc16q8ZRrSb2MJkW6RPn/Ea3JR0XqVi9eKumlkJ7QUxAlN/OSC/OjBfOfC\nPWGuWSO8ziocsLnroTM75iSMlqVQZ83El9gKtZeBt+DF3gulC5LYtNq+xucn\ne0VhdltKGzWcTIu/4vJdC9kdbFV8e8NLLcREXo10kXLkw32rydTWf3MMU/u4\nXaJVnMiyyJA+xfNW6PXXkqooQbGwySxYH2pfdL2+45XgSO5mmieCMNHgRcEu\ns8XoCoGgVnMTOM6hyT7trMpNdwQRy2oRKIIvKV7p2S4tFxKnMUF0Hs4QYZYK\nlLIs\r\n=X8FS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e) or this one by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/)\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                 |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                  | `string`            | Passed to the `img` element                                                                                                 |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                 |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                       |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                  |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                             |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                     |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.   |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                     |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`.                                                                      |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.          |\n\n|\n| `objectPosition` | `string` | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.\n|\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc)\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in some fairly common browsers including Safari and IE. A polyfill is recommended.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"6.5.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.8.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.0-loading-attribute.2_1554736342638_0.5917862854370177","host":"s3://npm-registry-packages"}},"2.1.0-loading-attribute.3":{"name":"gatsby-image","version":"2.1.0-loading-attribute.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.0-loading-attribute.3","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c9ec55eefc81bf4762f0cd0d223ab7f2d04de56d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.0-loading-attribute.3.tgz","fileCount":8,"integrity":"sha512-MUWkY8yhumJNWsbt1Ex62zo21lOwt2haZeFQGIPBAFrOl14MjiyaoAHsBwFXtaf7wKRcY2Tj2d356qfCVcr8+Q==","signatures":[{"sig":"MEUCIQCxCangERA6tiXhBduHAytPHA4RYnqTsHrGi1bVpc0XiAIgM45+jrVnuCUYwA3JDXye43pwOpnBQXv/CzG7lqYqyyI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq355CRA9TVsSAnZWagAAEdcP/31qKkcYnjjNYwzlhj3f\nCCkNqC75u9c3sB4Nv29KoYlo6aBKmP4wS/WKhpKp2MssNlw0k1q3BMCsohjJ\nELN7MjPGYw8OeyShY5MdNLzU+0nRHHPyO9bk7BkENwwEUMwCxadCjpP8ZwXn\n1SZNlqc3NMHsQ41i4TVXjVXwrGzg8bGCT2y9NeGP7tXRp5mGdnFwqjItUFtc\n/3t/wUlES/46VpTqFXkq91FujMx0D7Z0NAflzoXfW9B1olD5YCDbmG3V++2q\nLjVtPkOg0wTuKWwxI/GdrdCi5O7FRIeYWiBCmU7AyHctiAqIUruPFXV6qKko\nmVbblVmHcrDzHZxW2wrBybPfIN9H910zaGoS8gc1/CY01tRsVPAww2PzxyAy\nNtXSn7HyX+eWnXSnP0zBfTROoA4VX+8qH40CifyLxUzpZJ2ujG4U++UE3lCd\nkPMK5cpA43ikAYOn96dPgHoHV8/Cy47E0+Hdb9oQIABlQh5v0bKFLG3X/eq2\nxRAELJSYp/gpoeW9HlvCfs/5X7gHyCFFrgz+9AbRSevUMdHe7qsG1sGuMFXQ\ntoLm72plnRO6/xZRGKyf508htwFDy83vMkzqsresyBWCmM1KKzRe1yb/NjHT\nfMZyqYuPmClLRJ3noZa52zK4YGPHvty4RxVTw4WGqoNn6HV/puKC1oPOdISA\nH3Cm\r\n=HB4E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Warning: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e) or this one by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/)\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                 |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object`            | Data returned from the `fixed` query                                                                                        |\n| `fluid`                | `object`            | Data returned from the `fluid` query                                                                                        |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                     |\n| `title`                | `string`            | Passed to the `img` element                                                                                                 |\n| `alt`                  | `string`            | Passed to the `img` element                                                                                                 |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                 |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                       |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                  |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                             |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                     |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string. |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                              |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.   |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                     |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                             |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`.                                                                      |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.          |\n\n|\n| `objectPosition` | `string` | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.\n|\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc)\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in some fairly common browsers including Safari and IE. A polyfill is recommended.\n","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"6.5.0","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.8.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.0-loading-attribute.3_1554742904219_0.6177258366461675","host":"s3://npm-registry-packages"}},"2.0.38":{"name":"gatsby-image","version":"2.0.38","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.38","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"348b4a9ba690e1621ec53a7b60405ab525304a7d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.38.tgz","fileCount":9,"integrity":"sha512-c51nBwQuFlTffFrOs4nDI7fjS+OrWmniklzGSkmLhNojc4YVipYdYMDQLI252xYWzAjToUouCInFErlCTcEYRw==","signatures":[{"sig":"MEQCIBIN889v4eyVE9+7idgSPe17VTWeAs+7nZ6bdUnc2RPRAiBPZ0SkDdGwE0GqVNi5zPQYh0T/UU4YyRQzS0g1C5mJbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcr6bkCRA9TVsSAnZWagAA+UQP/jbnPIJzR+nkmL8A+b7Z\nCJTymgalqiwVWkKNzIuPubmJnWRlBPRRAhGV4ypb/mmY8qdNEVgWruOP3wpL\nXWys/tZZbA5y51BidzkWMiQ3xBvWRfHBHOXkw/bLYqZgQNBiykHJgmkJgsf0\nKE9aMc0LuDWc7esDn+H72otLBVZlVbEgxVFA9MpCZgIPXBB4J96tSRgX0acC\nT6oIOlYxDq67rYSvV0XGuDtX5Oi5AOV7AjulFH+X+vDx3PylW3QLugmrFePk\n5F61C9QTt2fNlApJCFJdfy6g2XtO+dkREyBVlAPt5IjyLQK+ET0mDUxl17WM\nZez/AJBgWS5s63Xp8q1TXF9RRRRrnpSxlzr8P8Faw/JP9zuuFYI2zLa5nYw0\nT3+6ONDN1rd2Hqe1O7NPEp5BF3U+si/nUkEw0OSrLSHNMhvQnp1f9jDf8k9H\nTdWqIgKDOYmAblubYQN8RpvANR63YGU2GH9QBQ16dgyNjaS0EjGwQA5ASgI0\n+quKl5IEOQUUo2EVpzHKnPqzoiggNcNWMMSiNWCMwxZtDMzHwyDA4E4Y1x27\njfHuGEWBJ9xvFhqPP2Lsrkv80bhDI9UUHIFtyq6uPX4inm96bzDCuDlygf+c\nVavsOI1bXEcrsO79fY3iIl7PYCFd8UvUUx8B0yiaatVm57xDUHYQfCs165sS\nXxrI\r\n=C7kW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"52b4f3cd81bb9a929b71739565c9952518254a1d","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.9.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.38_1555015395461_0.6671887172143893","host":"s3://npm-registry-packages"}},"2.0.39":{"name":"gatsby-image","version":"2.0.39","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.39","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4dc7aab0bfbbfb9ce737a3814d8343a7ee02df17","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.39.tgz","fileCount":9,"integrity":"sha512-yXuduhxGNG8T52VUJK8w+ZbcLwVuZSyA64R6fizbgqVKmefLlYc622k6MiLPic3qswiJgkAw70h700esErTcpw==","signatures":[{"sig":"MEYCIQDjie76Q/DToC0rGEUGcoZ7Y1qHCyUGabWuZfQujsowUgIhAJn2pK580jziVEV3r6p27W3xm+Z+Vg5ODp5PlFzI5n0U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctJc/CRA9TVsSAnZWagAASJoQAIaBrugYLsbOb/afIe1y\neAYBT5526kX5BotymoC1wxIvT50oyKzWi6Y1fGTOY0rBR+8V3maeoJfsB5Sz\nfiHjGgFEnoFfQ0Gt244hgysSii99y7ner/qwunAK5oBCFLQmEeGMFXlHM+E3\nzNwRI9brxYCrUJ8/fJQNETvI7n3dvUbtCsDJkokerwANB76orSrwbWGrNHky\nnHrSWSyUUSqGOlw5hRg6DzpihxEw0OVR1Gu/PXlrtifHKG2ow0DDXNqYhLJK\nGHQyxSLx/1VtIWi16w+MkvK9kUIZYhOtwhx3xve0Jmnl5jDuFb0z4EJapBx0\n1jIIo7qgIFLC3hIx2NTpMjHbDH2uoxLAyCAOn5bnToBDNVhf4hX54Ngv3NUx\nGO6oKfzz+kysgqtOHUi7Qi8Z1ndyP1UQ9G2RZxfbi8MiVvueGngd91qJ1nT4\n+sVLVzR+vxczsx4w9Cni98220F2t2mJiX+p2qHF4KSg17w9899B5t2Yw925D\n8n47c/GEmLlkSxmV8d9rI4fHBENAId9cQZx3Sg0zTksvPFmDcAv4i4O9NZF9\nmvk3RIr0JLVH5dVdXBggPCLeCDaxETL24//8lD341T5f/H55VM5OxOPIvCBI\ntk6hOuvJbJg2MqLum38c/2beS1opwtVeXLR9HQ3RTrE5Ahx4XQuHaI7oaIQT\nyx0a\r\n=SfBo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7a62bc53a72e8e77dafd8f0e74c824332231e819","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.13.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.13.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.39_1555339070606_0.9219296083196384","host":"s3://npm-registry-packages"}},"2.0.40":{"name":"gatsby-image","version":"2.0.40","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.40","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"eb59aca8891804464e339baa7421d78f4b7a66c4","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.40.tgz","fileCount":9,"integrity":"sha512-iH2+F/J0DiDXeiC2n/grI1QrcXNJDVxnxxCedHeE0/0iUFwlQ52TYyRPbCSnIZg0xcOmr1FB7EaRCoqi7rddVg==","signatures":[{"sig":"MEUCIQCjriT4WkYnpHsOBXGrHam01+AM7bGkvdfJZDxCekge8gIgXukecvBcsNkBtSwLTGLO/LRCuhrYINjfQPxfjyRoJHE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv3w4CRA9TVsSAnZWagAAM5QQAKFOHZ2GxoalrsDeB1Sc\naqDCxbkELrjuCi4RTGbywfzkyzRrXkCX8g8mKXHUcZOadXAOVDEE3BJeKwC8\nVOMsEoJZ3rOyqJpZh06WT/T8i1gfPzq5BMy3DxRd/SyEXPZA1oNJCT6XYXWo\nd1jkuFSZIltmQOVHFPLbm1pDG1aqfCY8wU6UWHDGCCrRAhEjC4m+HVdvtn8n\n+5b/WrKq3Oc4EAFbOE5GX5V3LdKKk37kXTl3BM6RjlplExe5uRjK3O8/YwB6\nz/9aAom6cyqz3tfz+ZRyl4jxlEJhWNiE3ZxKYgIxak7tUxeUf21+FGZEoatx\nopgGQ51lNu+7sDpOXSmH+m9XqsrNhlRgEMIvFE+7C7TZSQDv4hGMJcC28Qf9\noy71NJu3sYuDUamNXBL6v+/SaXmmJr15t6s18jez+aiHPeoDy1KAMP6iTbMy\nKlkxKsKw8eIhYCUMFuMSI1PLD380JvHnkWSBr81RytSaGr2bQq8l9G+WK8Zc\nZO+qqa1qtCcJKfJ5501p6IWo0r7ZuUdlI3Sx+hil628le1/W9M0HSCPbU9iU\ni7F+1uFd5bL9wwI/1SotaT/wGCojIx/xPil/hHbhZEAslCWZCoy3YY9IPDZg\np9DDxws6xaB99lkAFhBEb35TVYgRlrTdy0vU9NPjuKleYWWN3iImp+XqxRNa\nbB2a\r\n=SNAH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c35dab51ef9eaf41376579b314f607c683f20c37","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.8.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.8.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.40_1556053048182_0.7995038342258729","host":"s3://npm-registry-packages"}},"2.0.41":{"name":"gatsby-image","version":"2.0.41","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.0.41","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"d2f41b13013c7294123c341799d3645bb1a6dbe7","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.0.41.tgz","fileCount":9,"integrity":"sha512-FeR9DkTZAfHJf7jF4nduDPMEOElpjouzKi7aHblmKyBPBTxT3wt57AQIdwjdg5RoUznjVlDfRnmemJPPGWCNLA==","signatures":[{"sig":"MEUCIQDZ+5oZcX/bT7d4HmXvfjV4KOd+xU/9154YhyWa7wi3jwIgSmMB7844imWNqk44gmgQDif8izCrbB+T6H7bVPMTFdg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx/PPCRA9TVsSAnZWagAAZZUQAJMllDWF/8xSi0EDmmid\n9tiO/L0BiKx7lyY0R7vYSGlozwsbAbdLPDgKpkrnfShx73yqxxCKLSKtGn6w\nOP2xE63E+lb3IshaCmLtaOrTZg8lEnqHOW/weetVvkgHxUq6/vyfbY5XtQGw\npeXLucGUI4cCFEliGgx5u/KZ0KVSboEPz1G3TaN9poLm4VsdGRGpk0+TRqiB\n7tFK8UAmz4euvsnHID7sI8PMDSMatT1fqVTJpVRhlwIn8xNbfarcL55bOJTF\nnbAjavRh+8fFmwCHOasY1CrTEBuH6y2Dl9qYBkNGk0kABxMV+S2fZvAbxnvq\nLgWxvlG3wBBhU068fK3oyryogbWOaaaDJ99tG+ekJpYHyLEtxG2h2MDfkc4P\nYBItXKEP8sfhIisc+a4brcyR3Mw0K3O8abG+ht2CE0LZWtepQJBuSQqpDjw4\n+j2lMroQgcTVSLtIZq6/os5u4HofbhCfba6zgI3XG0O52p/3KQsJ+jpUZAmE\n4WJvX1OjCaZKH5WhhEL+nTuf/2ubdY4vNxbwLf/i9hCmbTFUVXfJMsJ9DKzb\nDAxxzmIieqIyrdTT3tv8hvPhpw4RovISM3FvqaduUSiW8lQj4hR3+bHMZ13R\n9RiupSiBRnDsDMY/lr5WS5nMefUwOY3NxfGYSdYRglkpWQTTXAtiqRjrXd1W\nWjnc\r\n=wWTZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"41928aaafcf266f388d8c8a36cd926640adb90e2","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.0.41_1556607950512_0.6032815843259773","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"gatsby-image","version":"2.1.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"81a68c619f1cc2f23d153899a84c048764fa73ac","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.0.tgz","fileCount":9,"integrity":"sha512-AK0jFWkK/vG8/Ce2COwuNho/3XSV2Zn0y+FUweDj+Tvffjs+lGOhiVxDUODY8flKCO+Bz1UCfO0HcpkVH9Sg0Q==","signatures":[{"sig":"MEUCIDRqRw8bZbcbLy9N99sgS4NMe8fZwgl7yB46Lzxu1mUdAiEAhDuem1Gq4ekU9znwGV4jf33cAnuquD8DQzFFQ5hhees=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3bocCRA9TVsSAnZWagAAM2gP/3A+iJD1w1aqJL9Nh1zx\nXu/+KPDwyiF2U7mVIqpqWAr8qrsnK5CZjrMQgshmJrqrCip3XaBtr0X1uUQi\nUc0GAJlExPYkQt5WoQEBpC0ADaAvxhO9eJKjM6USpLQnRuZVtzBgFYOTN3Z/\nMSkmnllLepCTkPAnPLqRJ/PIQsXVC+cMIuqGCC5R7obRP8BQxP73lAMF2GgP\nTtdkStYW6zXk/ua3r58TXtSR/TZVx6sjPXcJSH/9BppHFAWwXyB2cO0b5nqn\nAlerQR/zLZXrV4cjnhWkGfHNhf1D6dAsNTuYMp/GP9owUoxmgTgtH14HsjZL\nJq8sXn/Rx2EeQbWs1ITZNSYAbsRq7JlYC6rqX31RYgqc4CmUMkiE3dGZkITZ\n6A6xay5KOSK4oTYwrQY0M3Oo1osJzxJWO5B+LH8ikrw5YYtccn2uTIwLZca4\n4EZq9aGjtqMzxEpfWaaXmReJZTRDPEMLrVOHEoUezCv/bKfQViElAi4JRm2Y\ncxDLi9s/hAxdGhV/fVsGfMGquOeMBXgfhf0Ts0DWWT1ZYOz7MDO0yTIo5fxT\nr8jaAsaxXn+k1IG8jZSm4dUuDYnFlwCVLo5+CIsn6sHZSzxpzHU+y4RIovIM\ncq5f2EcvBQ1SF99mBMimcyBZRvW4r3G5lpF7de89EV9DJGLgcIhIFFbJqIy5\n1NnN\r\n=3WCD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1fba5a6d7e3900422ea92f84a564b4fe0d9a220f","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.9.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.0_1558034971836_0.22314575076870158","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"gatsby-image","version":"2.1.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.1","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"bbaca556dd90083fbc59d492807d12fb06435c42","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.1.tgz","fileCount":9,"integrity":"sha512-MPmFDyF7Sj8yycMcA0ngFSHSDvO0PU6Flini3tDz58v1GOcyD9Ks8asaYaEhdZaauPfIKfXmun32G+QMtwaotw==","signatures":[{"sig":"MEQCIBBfcwMz/anCkH/M+SmaMzD5qxWoIFw8YoI8ZML2IdliAiA/mUBnKbDpy+YE2XdqckyF0Cp+sgOnHSJQ5UZAZ0HooQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6GxkCRA9TVsSAnZWagAA2iYP/RwdGGqyV0gv2zQzhWfI\ng81KKtPRV9CbSXGfXMk0o9lBf3Lf7bb5RhXorDhtGHCpSC9lDFcfJiv44ltB\nwEYj5FjPa+DXxlz64p6FWagy4/ZjDlyPuVlA2iFs7DU+OwCPxdknQu0LvtqT\nXZM1Peva70UyhmMftq2dfTaysU+u6En0mXAuL5LLOb2Nv36D5PApRl9oz37h\n1Xj6W7k753z3B/h8A+PwY8kCrF2Jw2Gpn181I8uX6lQczTgyrQ+Df+497Vnx\nRwK7EJbvewGZo9nfNvMjmWXULLlsX2tXND4wUVqRmFTCdyOzA7gGYVueysTd\n5+A/pI9vqdTy2h3qsNBnWUxa1RoLYbWYxetUiaOCymAK7rFUu7EZTrmsTGwr\nU4GKzfaGGjaO6pAck8/Q1+BwjGK/r2FcX0N8TPDDX9FJ4QLNvvLP/PdUXDGU\ndsXnG2DLzcLVhWWWZnL1VNruZJUzWticH0WHK5JHioa2a2CoBMCDJprHQPCe\nBXnTfBddPoziBtp+NDd0FxNCcae7sX/v0b7P5qMCEA11FJZUroh461WY+zLl\nKd0uGCbLTI5BDE9Bpbg3GlOaQVTP2EuwIgbzb0BSLmIZHlQDCU9OxtjwEHzZ\nvMZrSPV+FgnUbbcRKnHTVE5EWFTYfwRvEsfVQ1lOjoDh7OISz32rWP5LVMHK\nvt5K\r\n=ozP1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"534b4a83230a80235a71b5f3c4171347e8862e58","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.13.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.13.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.1_1558735971297_0.8821657437290742","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"gatsby-image","version":"2.1.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.2","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6c0caf0a4a3eabac5f516cb6e5abf8c95e603d72","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.2.tgz","fileCount":9,"integrity":"sha512-usDd1O+fz6emqu1F7HyaUvUUXpWS1a98R6kej7QVS3Y7pDo3bx15EGqbmIBvPwrwFaQanGe/0e8IF1DHQ08LZw==","signatures":[{"sig":"MEYCIQDikpVonGDQENYiiIUeEe5BGHDjvHNHjY3b8Gs+IFsqxgIhAMy+qEDluXDXnWE32DpG+WgIWzzXhpUvlrxCbAnR51qc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7nKYCRA9TVsSAnZWagAAhH4P/izdb47frI4sQcULObw7\nR4Jsm4LUcrE6XCv16jOxaGoAflZnDGuIDiRv4i5iG4CegaK7lLQaaBXyMnrt\nR6BDJeNj35G9/O02bVFMEnMsUihN5lIL7j7thhTy0149g3aXasnrI+36JKlg\nMBXaU7BOKQmvVLcJVilXWTfCi9tXqIwlEFAAlHm9eUn8jVEpvwsoVAgpKDNl\nv0frQn8nKhHgqEq3txRIhGNO2eAxs/BO6DEBHNF27+s9bylvCCkDas6z/GoE\nRw/WD15UMw1mTR0PtGYt8s2Vp0HRMDd9zBM2GYXvE/nOeM6nCKYrmA8hdZvg\ntle4OmwR3/eydFTO4iGO+vWKNHvCk+sxWAHlPgr2LttgCgRUBF4rAQufWdbg\n2NOQ8yFlK7YWuhto9oRLfsEqQ1VMjbxRCWD/H1uUmLQ72tWVt928noNZcVf1\nDYvAdvJBK5jh3DX5rexRPfvyCsJ6N2ybBy4C0WcqEXGsvxv12lRPWPRycTkW\nduicH+o4xHtgJ16Hjo1wIG+r6a2BSTxeL6cN3qeJFrOrs+WIndlMZ/JclFtd\n32D9JOUBKHM6Fx4rKA3PweISLNEN88cQSww7k/Q3KbmicUh8+XJn1tLvpokf\nMrWcQGIA4YgVcb2ylr8PUBX/ZX4kMKfg0YvQvwKASoLTzPZ/1Cq3FUHNtGRe\ncUel\r\n=c0/4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"887af7dc531f4923f5b5d9017b9ebeb16ae5b6bc","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.9.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.2_1559130776044_0.9452699542808465","host":"s3://npm-registry-packages"}},"2.1.3":{"name":"gatsby-image","version":"2.1.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.3","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f01e0dde6c31c1f9ca268fb12bb3c5807ab1e432","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.3.tgz","fileCount":10,"integrity":"sha512-79Ug2GX/hk6Gycksf+i4Mj6v4MbsW/qBWBJ5QL00tCDCOxY0FB1vhPdD8EvS3tjREGIrj3s4bSFsS7krLy+Sug==","signatures":[{"sig":"MEUCIEJIp7KYSdAwU7KNjquoTB7jMcn78sYpZINLxsgnyUk1AiEAj4Hn1piZe4AEQ9CXJiWfQQMCkVbJV6tSYNgrNAOWVkM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/jpNCRA9TVsSAnZWagAAQXwP/2nvih7SEyRJZuIbf5LC\nIAYrC7DDqhGWmVmVgCxFWHjqiOqsPabQFxluyyGurrHPjVtc/beud/LedCkr\nyK3NA3Pr/ygrcqHyV4ukvf2uLtCAAqbYwzEArSmQS7HWTiW0HCj2afV76eQH\nf88Q5h0BCYErsvwh+jTiTTc7mBPyBiVwSLIoun+9Vsz3hX/Bi27Z9iUY4fjc\nJgSISZEw1wHTjUqUz5l3mI4fhrBdwRxBJQ2B4MaRe9J5btphgyoiGHZqxp35\nI48+mweCCa+I/Mjgq6NkvtS8UELvJZH/S037S2J7mk41lsvSQ5x2CDNKWH09\ngLPlXQiFCw3AQvs5tVUqoVnb+3LLDwfKfBR/6r9FcJdDBL1qS7sk3lMw43kQ\naKd6ic5FCgL9S1y1zXxfKRpW6pj+7NCFBM7EP/1Vz5QfAfrbpdaGww6eiPpH\neuYEbmYmM4DknkDLNM0iGiVUJfet5ySdmnD9Pcv9fZsCAst4OcIVbb8Q/cRM\n3ip4gY0+/p6ZJ7pVungNkw1m48+93KcUFACcaxc8ai5rO5JJZJnhEEgFxXiY\ngV8IsC09qhuNSHv1lTyAUtsD0yF2jVpnNZxuB45K2pLaB+sows4FiG5otWOr\nLMVjhRb/vocmHHLRwN8kT8HGLxKdOgm+78fcP5plPb9jCAvP0vI/A7ccQyOt\ngNch\r\n=Pxxv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d2fbdc4a8ab454544060693165f4be9c42b2c5ae","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.15.3+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.3_1560164939009_0.2308977884083363","host":"s3://npm-registry-packages"}},"2.1.4":{"name":"gatsby-image","version":"2.1.4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.1.4","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"0a53a0919ce8499a9c480cf069a8abf610affdbc","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.1.4.tgz","fileCount":10,"integrity":"sha512-AqVcHp+vkkQYBRTBs+9w38cHfMFIKpDWz75fRK5fX5HU8FBXiqogrXHwdTguS/uPva9Mtpqjn93TTeGxDWF/CA==","signatures":[{"sig":"MEUCIDbdeaMuZY3lPVMEhatfQrVq0Oyf61I1xgv1FgRt+LDkAiEA4LxsreIzsui/dBXgfpywNTZ3ZYtsLqhlHpEH1ok/bPY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAYRxCRA9TVsSAnZWagAASi8QAJqvaB3oNRQU5NJLYH4c\n2v+iqYYO6fLhk9yomKpOYKXRiL2IOEWKmzxoutt8R0yBlra4O0B+mVMT3APT\nEJU+VLDQD6TKHfmjeiO8ti+LK0sCof8Ytpm2m7SO8rrAnWQ0KRZRGjy/Oki/\nnsJ8tk8zOnkHiP5rnqhHGXALBQH5mS/Al4N1HnhBjy8iclu6lbnCqU6QQYcQ\nVLvxgQYnWnVYqt/O4CqTqza5b8rQsMqQujdxfiyX5rVaWSVzfr8dxbPIzLEP\n/RZVaH3jL0LlfiIFvitrYvOSeuEglPeM7Bm6BzB6Knce3cAcwQdF3mXcfMZU\ntIclkl3XItBJGgo0lwf0YCayXHUiZixZbyxSDHSVx/edltNh/vFCTp80rCzG\nUQeybMxTt70PqCOiqDcyOD122bET3P+CoNhmKMspmBok7viXlUb3SHmoGCFR\n2yXI25qcidXjx+kJAkWyhdtETWA8M5Q8PJZ/zHem8r2bcyp/PUqXxyGxUM3p\nShJOJyYj+bHHPsAmfsOX8AKgg1dljqWyrRH+rdua0fD4GjxShv2sBzciAVC1\nAh0KP+1Wm20jN2im2wL6yyK4j2x88e9/xZbUuw2dnfCNzQuJlOlmSxG6BeOw\nP8dIT0bZJOehTiGEPyCteXgXyJjteXUpslwMzCtcKKCL+kbyDbTheWVYYTn6\ncR4m\r\n=9vuu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"bd27ede8516988ff2a17a7610b2e9528adce76ce","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v12.3.1+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.3.1","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.1.4_1560380528822_0.2915311026531393","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"gatsby-image","version":"2.2.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"37c15dc50f9a67e5a46b2cef8a8870c8068ae5d2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.0.tgz","fileCount":10,"integrity":"sha512-DuCjaRdPW09XKn7VxgkyqrGoNL7RzUCgHDQydsKlLBXC+LdXik9SDI/9EDlsZn0/SLvgdW33n/VBziWpKCa4KA==","signatures":[{"sig":"MEQCIEu1vC4eGgBnrdG4uPnzvdIaX/zOYM69h0Xo6r8hp8rsAiBi/VcM22yb7sOMSLU6orxt2/mC3H4ULTCKzxXG78pkwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC46tCRA9TVsSAnZWagAAt74P/A5PwkVkcBf1Iu/yp79c\njxUp6vLmhVvqd/U2kien8xPYGN8nK30STfCLjEIUxs2EyTDDegGs1qvoRJnu\nrAwwH6kQgTJuvScQ4ZKMTN+JoW1oO6141qYYP+pQMfbxMYNo3315xQwdg+9D\n8vo51jMpoShrSgz6w81+iU2O2LlXVfJ1x0CUx0X81HTAfm+vamN4EUKntXmy\nGAU3IuhBm0AN2gzsaHiA2OUrjWEM0/DSOnSlTdELJB+cG/j876to8wzSEqYI\n9MSQGmNKIhESdT27T6DWPem60wG+veqKVEJTwZ1LV4rCBju5dNRsgm6ZCBzu\nIrmpGeHrXyp+SlCv6sl/fuPreAs7aFjmrrTDIJuxUVPByxmYB1+XJcIih38P\nyyv7fN7r8TKUTilSNnXGZudLTL3hMjNLM4kFfIop0S/uQlqpRMm6q2JlNgAu\nT0lVVT3ZedAKngWIAPtAR96lcJ/0SvCOGurWoeiQAbn0YoSG8efV6APPMS3p\nhnsze8sh8epvI814mauKVLL8v9eMWJZ74if2//Giv06eJdctpCdyo1bNF2Pc\n5OYF2oxjRRRAsu5t+AyLMTK1HToqrm/aYHgKE2DFP03zYHo4CwFMm7YGcCOh\nNBRrLOE2HOFrUwkL1jMtWE4iR1Hcrhp3QQwRPqn67HskIjFyt2i0+m5lLpJn\n83PU\r\n=YkDZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"90d9440bcd44c2b6d70c78bd30adc8c0eec90fc6","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v11.15.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"11.15.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.0_1561038508548_0.7732368620504131","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"gatsby-image","version":"2.2.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.1","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"a883ac469734b9af4018b11dac4d9e24c0e889b9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.1.tgz","fileCount":10,"integrity":"sha512-JoI3PY4jF1jCFqOEZjyOqsWI1g5NishpRnLa5eTA0Hb0WfcBRvN1xBfLGwLvHJp5QIYM4Fu6pFqpSwPeiCN6fg==","signatures":[{"sig":"MEYCIQC8suCf1i9kqzg6qsKKFRRA+TnbSOGeS7Opw1yAVoZrlgIhAO/6evCQOZxraSTGl5hqHrM1OKDxuCz/RUc8RdTyz12j","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDJxhCRA9TVsSAnZWagAAOd8P/i8LPZhX6GmwTIlNyrxQ\n/171F16FeFubdd/hYeeocSTAWREwt9xosKkKXyPw1WrUGzIVlbMQjYB/yh1R\nWXSdzb3Kbp4OcVQFYGjyrIk458GkS/OA2zLotgMht1PxFjODJ1UY3fj6ChU0\nsO8jdO/a/BMTn557NyzfgIX+Mj8HAYYwiTpDzB88frz6upilJp8HXpED9OjK\nS32aLAuBjN87F8zDTelLz0ZPwIUzTYKhq1i66DaUHAGSeHIW50cpw4SSRaO6\nakyHXqywj5zs6FhN/mXI8IZtyQqosRJsUZIUZS6Y9GuBGomMh7+pDzqGMBz6\n1vjDq64+DRIKmVsOTlY/KBADCAQckXltmZPnRXWHq7TqqZ3ofXlzG/FTIHs0\nXSRmFtY8VLx83ydPvF2IvxwaCqpK78Fk9QJgVYltjgz3NwpsIQEBVTB/VOQ4\nfH24r1HCzBpbPmdTVS/R3vWDyxK4GeSWtP8NhcoPaHR4BVffcsGZO7wuLxUV\nghhxQy5dHkBNfMKBsEmpocMG5yr1cPydp5NWH9zBanLRiHtEKSqZLejQjq3M\nZv4/xlbo5Vz9N0sHpLl+9iM6zxGl4PT+VJLs8U18KFuB8YVewrKB8WJ3+UEs\nH4uizqM1HT9+eHrymk3kYM9R2O9vvG+zIAqsekif8WBcGeR7w2FcwzbKpI9E\nX1gd\r\n=RRny\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c9ea948f068c3ba0be11adae4570900445be0922","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.1_1561107552699_0.23182011981727824","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"gatsby-image","version":"2.2.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.2","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5e4b1fb21c314f9d58c4c6afc7ae294b0fcb32a6","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.2.tgz","fileCount":10,"integrity":"sha512-sTvR11X8dM+5DcvP317mH2xyZeXbNDd0ZWHypfkWNV3uw7e9RIo6Xm5mlI1+wqGGVQzr+Jm/0QQRwLJ9uGp7bw==","signatures":[{"sig":"MEUCIBCbUlii3a/ZA+yrg8mARpDkS562rD0ETklHpAWUzRj+AiEA9YuRJtyv3J8yOuhz2ZdiiehbDmJ6e2UsiEMHM0ytryc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEJuFCRA9TVsSAnZWagAA2l8QAITyqJuPp8kgAlznKQtf\nbuQA4/gGl+bl586LB7KtG2QXZJ21W5Ke0Yw/3PMqg6BSTlzX1pqQm2r4MSj6\nTWq2lwPkYq07l0LKhIM7Lclpz1iFtQLloyoZRmwjIUa6B1Dn/ankx6Pykcgb\nbgfmeO9LZlbjR2xVNq3G8D2G0BCGtmCAB16MFS5xq03U2Dzzn4KynW0TJdap\n5FwMDpI4ioMYCq23tAOjq5IusTfKE3bkbf5FMUJk2H2Fp9Jj1vaq6DXmzzw9\nuvbhtWxTVbZT/Ke/+5tRGxlkeiVgITVrzMgUaAxBOYrmyl5At5HZurgeYVwb\nfh1PI9omVXzloergEDjf8lxA0pPFSl4Qd4FYDQ3CgnUPqqutg5AWeEo0Wmy3\n1BkZQk1E7e3kD7tTxkArtlZyMRNy/5ehaYGTtaMNO2LQJ1U2xh0lzApITfxu\nAjOFHpPbAl4Cn2IL2U3/9S2zeKR9GwEkgUKe1WVSF0ZGMB/WY1rDrZZRUf30\n3y4yTV3hNogE+7qOAanAuzya4RQ8PiVlO6vxdDWmwJKq4AqObqqe7mQeahzU\nv6v5SPWs2DQ1WWLso0j/ixg2xiT5pIsAA91QpO+UPUyUhxxoGxQvWvalkBjF\nBWGtOSwNQHWvKX+Ajr2zuZo4ulIVJ8cdOPoVm+fnp1X6h/7KE8Za5z+oEExY\n7pDC\r\n=V4O6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e140aefee2a8a2ac893e151ceaa9fb238465f517","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.2_1561369476791_0.39628885206026965","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"gatsby-image","version":"2.2.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.3","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"568342b3254d40fa1ae8150991bb96ca63cad463","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.3.tgz","fileCount":10,"integrity":"sha512-FRmKHkbvbJXYzdjxWaTr0Btm3yZCIFiEMXPf6VFTCaMGXzRUW30mCpaffqy10frpr9769zZC55LT01k4VHKaBA==","signatures":[{"sig":"MEUCIF7zleyLHDldH88JgTWHx4hlaY6c1wuR+4QJ5cYoxwqnAiEAqd43iba9n9G08Y/r97MHMW7MKtCqq+lmsWZFei+Dx5M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEKaaCRA9TVsSAnZWagAAAdwP/j9KxNnrGXkbUpJGdCQX\nkDhBHz5XZU6Kjs67VMWXlYZI6Z2NgXL9mtQC93UNILyANFg0XP9tX+6iVphy\nrm+yh3ur2euTJuIK3OLjFmk9XhlGvgnmot5p0tHYssFXIOfSSoOS6uODKY/E\nEDIiN3GoaX68UjgaOxCXeL1Dr4u5tmVI5y+ZWkWMDNH5f3PWZUK4ZgwOEGyy\nVeKX54sKyrihlenssur0310XVbKG0mVo2rzOGs8cPbKBdStnwOeWpLwGD7Ja\ng2LsrJ98QmPPfXT+a2IrwYSDL1sQzEZ/R8hrF73CsjaXuOH8dp6f7MzEnYKA\nvAeLZhx1pj2ws51xZGxOHnN5SimrAAJpKFGcwMAN5vjavsfd8opv1TP3RwSP\nDLspqFpLgBtyIZPI59z5wdZ2MhJQEfqZhBHNNwQdKUGpYvIe0fbd/JGQaBRO\nmYp5G2VIRt/4V44ytf1JI7tGs5Cm0e9K7Vnc8Bz/4iiWFCTzmpN6bk09sCF/\n+64iWyh58kNybW5G/i6BH/x61frnE4SFnTstNCZgVnM/1Vq5o+mNnNVb6k8A\nK9GZHNCrb6LSw/vQ7WQ2qaeMpFd/uNVDmTwZZi6vZF79ZxK6WmulHe4mSWHW\nGvNzsZPChKZCc/Rc2J63V0ZvKL5JTY5B1qx5DnCd6qVOlK+mEfFJlElZEhJH\nxagn\r\n=PYSE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"023135d6c30dc93eb46edb563c03e89134b3733e","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.9.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.3_1561372313231_0.6111781341819971","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"gatsby-image","version":"2.2.4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.4","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"d6c8b42feff1252f7d285584b7107a2aae7b394c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.4.tgz","fileCount":10,"integrity":"sha512-wlbqGsfIX2+ILz/fk/94fDShc5zfhTlj7vYGyTFZfKombvwPXFAJD6pey4zTBZUUBrxMt2tROMXNnmFi3wGyww==","signatures":[{"sig":"MEUCIQDuj5zoz88FgEPyiqc3+8lr2yHFXKV6OJEr0uo5pbpmRwIgMJhwZzRNndDDDQgZ9QGBkirnPyqzwsI8ETMB8EEdQjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG78rCRA9TVsSAnZWagAAEfEP/2U0I9dewqWowtWCzgEZ\nTr3UgtOezwqQFaj2iswdo4xxf62maQSvskBKx211eoWl8MMY2S5+kg4ZoO7i\nDCzlYPNuuKYBuAd0fk4Wr+CCE+e0O9d62cMtW+8vvM0Jwosa9bxV7e/lZhEt\nC17fIRy9IMLzWJvUYHxCTs/pzUYvII7k38l36LBnYDG1yC3bBmaXOgRu0Pcd\nkIHB6WXmexZMXNX+66ZlOzPievdGFIiB52+4WtYsdNXZCl+/fK7z2wGiEFnf\nUbVo9fTT+zphvd9mPazAroMHTFi8dz9Ouszwo6ujWC9wrkTDNlF3sb9hVt1w\n/bZwbjFikFrbpNZAC599+qj2b2p6XzscQcYnKKspBCAe21SNK37D3aQcLdq1\nfRl1P2iO8jUGALRo9JSVLUVyq23qPmXhX0DTY1JrHOWzhBygrrucnmWuaAdY\nZpoxUJPjhWC/GccxDQciDR4YXhGDHMZavhk+q8iyyYJV4D1HrmqeccDcwnz9\nxeJkGGRYjTyE/czbl9V+FdeCOQXRT70gUMQeYgXRmhlfly4PwArhj4u9WI2k\nWy/qlwvebXfHkxZwPYpV1lpudYnCC+i0V3jTehMM1pGHD/OFx4BnohitArV4\nvPxhARjntqxMpcGugAt6pCN+ZgVcLoI0jj0snV79a5ByaHvpDJQr7kg/xA4U\ntU9R\r\n=0tdF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2fbaa3aed691ee2554978083a605475401309beb","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.4_1562099498260_0.48832942860143036","host":"s3://npm-registry-packages"}},"2.2.5":{"name":"gatsby-image","version":"2.2.5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.5","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2d9bfc8ccaa66a05990835fb825ff157d9293e8a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.5.tgz","fileCount":10,"integrity":"sha512-bf6NmR8MgjwI1RcOEBSjBmfUBzU7I1/c8/fJjNI7PkjDlW4lTo8i1cnojo8loGYB3r1PiM6G2lKAufND7t4TCg==","signatures":[{"sig":"MEUCIQDSJPwPcpVujOMGEhxy8LIk6fWKWDmwrnEWXdtTpS3DJAIgGfdw1qTma1N3XlTsPX4/sXWsHXZAR8ETRk4qrgN5k9o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJw1pCRA9TVsSAnZWagAAh30P/37JBlwdV3L1Z8aALAWW\nKWAznzSIR6WUOgG8drQQtJQMyWYA5yHzJMMsOEQvTq3KQw1v44sotwhs6EmX\nU5CXEqqNLNkL4funyr2ULgeWYHHZZdCIpQZku3V0GShqGtOXl2e5gLW1v4wj\nU4tGsdBFbN5myKy9x28xcejZlUq0AhmH3lRTvSONxDi6rwM61FhENtaIzti6\nBytinynyf/0MDJ/V9pu41ZoQeNdsICj+usoez4WkAnwfAXRIpqD4Zu0Lafla\nzviPtvaFMxswXe1Xmj+FuUTLa8JV88Br5FLAdSYPN9tCZh7VvJy1/NtUDVru\nuf7S5Q8LCaflKWO3RxZil4yJxsP2855MUOd0YfqN50pFX3S91YxmvGikTUHB\n4PZn5dXV1aDCqoP7hvYY7KaP8F1Hd77xFtrrlAbe3+Im3PPXJBknYcpnHJaW\nl8W6KR/f2RmHAlR+2k68rV5KKmClBC0Hr+QNBK6Q9qyvvvxNOByIrvge5HV9\nV5wtZTNRSECZuGgV+OeP9iPxOB0EH4/4Esz7TABzw+7488NrpQfR8+dGUaYf\nMPknZv6KImudF5JfMKfoLCV8+pKSDxIUblcoxj5TrDkHxDItVKbr9s3glRGG\nxyaqtuv0dMP2L3AIR0ygdNzluCr9gLUkSUuA7W5ydMXLxuzHYc5LeEcf22v1\nJluZ\r\n=VdSx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a3288b8efe961df2fb357793017a36b608b39549","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.10.7/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.5_1562840424464_0.7364724466801371","host":"s3://npm-registry-packages"}},"2.2.6":{"name":"gatsby-image","version":"2.2.6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.6","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"669191cdd5446242b0f3982df156a4bea971c5a8","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.6.tgz","fileCount":10,"integrity":"sha512-gPAt6vUUNVN5iftBrwZykOMGLOAameq9IBCXj5z/egPFIWF62GoqkWQX1/hO71qhyEszNYq+ilwBzkJVsJIP2Q==","signatures":[{"sig":"MEQCIG9drtLYJQkZA8ijGLC3K9jQzRg0zXsxe+FqtIqzH0q1AiA2UDHZmVuNwsjrX27otib+tthUBeEettAJVsptjgAhMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKKMwCRA9TVsSAnZWagAA0FQP/j82AL8l3+SSoJEimzhA\nEJQIdGbL4PqWlotTZzoF8hMbA44am7cFFYBHfiC4h/hm0L1xHb0GBlz/CJql\n9/+y6DFphWkXwS17ZidoEYInEFkitkPd1ahkSAiCPpBp8XI6I1bmsunu1We0\n1aFxmmh9p6hyphI1Ce3dOkiQ1PNKO0TjmseuHDiV8ou7qz/4PJfNB5lGYrFn\nPT9Os5bFQsaPKIEtOCAKld26vxp6B3sVK9lTx3arumx2t+YvlSB5IrykQCii\n8Hy1ME6U0/1S1QzKDYJ6e79uSkBYP9m5PfJrDZ2ZTFJs+ol+Tfs54QywzFab\nNzWbPFRMFtC538fZIL5uN/OYDiSUCaAdK4bD8Qr2uyD2NoUriWKopL7vGEav\n2ViVygH3z8wDjnM1Ya7mucmYpts+PR45T9J96ewBC1NKjlTaWTcB1tzBKUb+\nQrIBRSq9mMYLaTtGwIaBl6RLLpb56FlEfubopJ8OfQVkcyQnqn/ayI2lpmFU\nWWuCNDSgkHhs54dFTF73IfcBQnhIBJ4OfjXeWgO2a+mK/as3PWOUVO8chRTH\ngfar4n64MVgJ0fJL0+XEaOCrJxbhp6UZeWoDMe/QBiWn0agUJs8fexWAElT+\nkC37WVOqyg7VFjnZBSl99yCclkOhQw+PRPOW7cTNPd9Zyd+1cluV4+4RckQe\ncDBL\r\n=Usg5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e900ae106a535668d46fa68bc118af9381595653","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.10.7/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","react-testing-library":"^5.0.0","babel-preset-gatsby-package":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.6_1562944303433_0.014899957354107984","host":"s3://npm-registry-packages"}},"2.2.7":{"name":"gatsby-image","version":"2.2.7","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.7","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"358e85589e4feb125983814f51e228509fcc2a28","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.7.tgz","fileCount":10,"integrity":"sha512-W67bYjOXZlw8IvGd99ZmkeU6GPfif2SifLsqevIOUkT7ESiY6ZjOUaSXggyyKTzvMZG5QCBUl88JIg5rBjHCwA==","signatures":[{"sig":"MEUCIFaiuaL4ybp4DwlcWjXFSoHDYLerhvqGyA0+K+MvWfa7AiEA1ZCsz6+bCcvQGuxolRRAm/Vf4L8s9Nmh20bg7qQRMjo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdObVfCRA9TVsSAnZWagAAjcMP/0EqW04y/p3UNW9l6xn/\nKBdOE5nIMibkyYMqykcsXskP7rf1OrgDSnZZ5T4qrWvlg2CG/sbhlYKjwEbz\ns5QySM0VQCPc2YqbRxLooGMLeIjg9rBqv79DysGNXG3XcGnZ0m6WV16WsPCE\n8ZHv/4nwO2u9bSN2ssWfEAoqcgYPMtLaKuJ6kIB3UnLsB2oYYuKGQAbHjTXt\nHWppbECgXJIlSxIU+GOGyuWdycg3FIdzLd7tROVKO1+vI0ToKi4pnee+bzgP\n65UvQ1kO9AKHxLLv9b32h3nfcYAeItzlpvA3+vVjsuC0f6Oust9r+uZ6kZss\n1e0K0U1y0eeJjIOS1++kgh0zYpgt36sSD5CxCz1SgSk/63zu9Nrf7mM6BK4d\nnKyZpSjDbzq+He6b/4GhkMKT+7KbtWHrdYqro9TUSTph7727c0ycFtiByI6h\nPAbbJAsZXV+gSM5X5GH2BaaJg1urvWW459HKgquY1MRMlo9QlFK6BIPLPLC3\nUSDOWORbNaY6ahnSH61XIF116i0zlW1gSubeeszCDy7i7XlASUXm2cGu9O3U\nlZokr376GkPqLMu220zjuDP1rtCRIu5pjOTnT8ozILBCFfJ1sG3o5CCviXOk\njIZ3RyTh8I749SeyF9pvF0WmYPwk6xDq/GVljrSBp1gt/ENhTiupGEVI2VGj\npciV\r\n=7vwC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"36a90305b5b33c1e66306caf4d94525f92233855","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.10.7/node@v10.15.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@testing-library/react":"^8.0.6","babel-preset-gatsby-package":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.7_1564063070145_0.04606096671478821","host":"s3://npm-registry-packages"}},"2.2.8":{"name":"gatsby-image","version":"2.2.8","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.8","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"edebdda1e4b823735693737d68855a7fb66cbde5","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.8.tgz","fileCount":10,"integrity":"sha512-R0hc37xf03Bqi51TlRHuu6KB5sFiXzHx0tQotml8TeFXu1k5yvV13D8fHhlHCZQq5zJe4KHx0rGfAprzb4s1fA==","signatures":[{"sig":"MEUCIHiWUrBtqxHwjHLfJIOjeVmB9o08Lbboov/M5bPBfmw2AiEAiHWXrr1gsQcewb00QOTBknTjtlP4hXIhW5geqxc1UUU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQuEbCRA9TVsSAnZWagAA034P/iGkLUIBDD74VtX8tDSK\naz+trd3YJtFXK0UPBf6pBjX+BNW6f/h6bV9nj4np6Pcyq6PfEaDrligtwoGb\nkDfndQOT0ZK1xWMotCI4qwuQHmLkXd/suM+PAuCkpe94HJ9TDqTWsBU7ZXc2\nLVKONgq72RMZIlz/az+nBIB+BUfGS0QqmAuOXYFsMacEfXDHS4XIcSxb+Ii2\n1r5KM6gYNs+xLkbQfuLm09ZyTRNqNwHtq6m89MDzlhp1FPxvVzQk60rsS0cz\nzHKHluiRgi4DnHjvp8U8ntwcg5GWUaGfGdOm+gtx61ipAz6ALUTQ1cycLBW1\nP1y4dPfpkJssDTEsmETm/miX33Hafz45np1PWlDC7za+GlhztseInxFUxPPu\nrmrESOveDqpB6e4z7qELUa9g3Tbiqf1pFluXZR+HN9MiiDg6L+HHfI7xyrB7\niyTPGT2IbNqdPcFP0UYHpWq/b1tBwCZAiH8HbxPXfqY9djKMIYAZd5A/vCol\naEGUFmgEOoLTbSaEB8y3bh5ktwnIyD2EbtaZOkFA6PNNzrRMvQeq37UOv/9w\nQn4r+pdgh+EK8ood394TFHVQGBOB4IlBWPhFz9T8W5feTvHbfpwWkr223Pfu\nEMV1eVxC3P8sKMxu7TUUh4hpd9MA/wAMXxTNi3By7ZVZkq/eXD+hJkhK11o0\n01kL\r\n=n72Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d879a2adce22e661ba29b22c095be4d54a38933d","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.10.7/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@testing-library/react":"^8.0.6","babel-preset-gatsby-package":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.8_1564664090927_0.7378246931158243","host":"s3://npm-registry-packages"}},"2.2.9":{"name":"gatsby-image","version":"2.2.9","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.9","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f4b89d9ca939591ab7aa20b43c3c82a2d794aae3","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.9.tgz","fileCount":10,"integrity":"sha512-jmHoEgVDBsSLxWD+W78UgZRHcsKQMN2+i0wR/bbLzILESLirs4s4LeiPmSquj+cqMEtwaZ7CIDEeHSamelY+zQ==","signatures":[{"sig":"MEUCIEGYxws9FDE7Hw3wXgAmssLYP/v9eaR+kJh5ZD9YBo2bAiEAn9rVQrS7kf33/FgCTYCo0knEVKCfdSygrSpsHAXbT0Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdW6IGCRA9TVsSAnZWagAA8u0QAJc41tdKVWfjJiaar/8n\nuYJGsD1EyJv5dG4VIBDYxspHsg2NTGgcG6P2mcC8si3myTT6H2GMe1dVVdiv\nLy36gO3niewCr7TydtNzZYrDThKgDulz/PQoHtmgW3DiwfUh8gkkKRakZsVo\nFI3Skfc7ZK50wu1UBKiPD6udMn6q98R0qxu7dlSgbzxiYkpBVaxVYM1Np3vX\n5vEU+VdFp5R7/Yb1txwCph49iEEeA0/l20YOdhopvN3t85BSlXdOcCuALoSF\nFH0Hacbi7bYrXSqak2tWZBIYA3YfoJrgnMwJpK+jn7MbnK4qipi4MhMThfRd\nxt9j3vifo40OPRoC8nZ1yd87zGIrpfT6lQeSQzQn0NwvBHSWREkzAoPHrULS\n6n0cUJmbA8rEp/jXAegzNTF3JKuxNozH/SwXUXRxuCj7tqrYJqlZqf2y1vBD\nHsUaVBqSJC1hCru77IlQ9SXanyyPzOXlo+JSkiLlJ/sUj0I2exJqJMS9pO+9\nc5geRZ+/JvHfyhz6Oba8ZTUOOMtC5KW4c1pMKTq/OVACGd7/X0frfswL53XR\nTTgitfU0elqSrmZ9WkHHSzSUtf2zxrKPejekYASnD/0tH0X73gs+rXnJg2Yv\n74APDNJDdu20nmlGnzZrp4prJiMZiUbgZCkG2DQDQwXJPOPA2KRD7EvpPH9D\nUEMR\r\n=d42i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e63a7ec48acf11fb0fdd6cf7b5e04c956ba02a4f","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.10.7/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.1.4","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@testing-library/react":"^8.0.6","babel-preset-gatsby-package":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.9_1566286341334_0.21061529766938736","host":"s3://npm-registry-packages"}},"2.2.10":{"name":"gatsby-image","version":"2.2.10","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.10","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"0375e273167221e3ccd1ae3b4e3dec52905376df","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.10.tgz","fileCount":10,"integrity":"sha512-wvbxqYWxg7te7ui6RjCgohcVTvcI1b0PBZNor548Flg/0h+oSGnUXVDkz9HO8uS/vWlIbMpXonRxvnZCGu1Y8A==","signatures":[{"sig":"MEUCIQDtbLpx1ewUIozGNt9TtjVRKTlR5Gn3NkLrv00TcgW1KAIgIkz68SGurvN2+SC+cN/qgMwMuw1R4SdtwVsaGZgiQsk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXEWnCRA9TVsSAnZWagAAnzMP/A8bZmNv6FyIin9lkUy7\nbtq/Z/gNFgtyenszIxZSIg9UyzLnOZutIlF0x443HIZBLuMLStIRieV7OB0/\nfNeh8I+++CVQX6Lo6ZeaYZ7ofA1/7cBhX+hJJvATUExBHvuEs0nHAQXsNIn7\n278+83Rq+oFwWrzd++IEPumebA9uhtSjA2jehlP+M3DCRQrJ4YoH/odjz+Cg\nb1NiXlfdeXrjhzi1lTRf3Cnj5NIPg19O+QhgA8Z+fF/+gjyU8XqZCdS99zTp\nwPMnoSnlRyNvrhI+pYVcbJJ+k1X4tOxybcUhHQBdCgC7PsyqDutfpTPbJPjB\nmEm6TjdKgE7AuwHI3QqiEB7t0JsNo4xZ6zggwiZm+9fbFwLZc2Xf7qynxlwT\n+XCh7b9BO7EcXJ9CiVpQoi5U6+M/wo2ty5hqcEzhmAaqo8FSKhqGd41PfX2H\nOk1Dxloy/bVSBhDwuQ8Ih1kf0t6Dk292bY1zPP9PmzYEcn1u6XFpy9CVPrRu\nwG+kSB0/pfXeyT7LxicBMhZ2SduuXMyAaYpnPYKcqN3Pl7cqeaq2ku2dn/qO\nHCSaGozRXn1JZEPhg/IiCr+oVEE4lqTDtFKdSDqIGOgGPcN508i+px/zZWl/\n7p/D9KlUaplygwf2RWLKFdIE11g8YF23LqFd5apk8ysd55raErqH7Dir1iu2\nBCfp\r\n=g5mE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e077f5c86b839a34b6d5f3a868ca3cb3969b6be1","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.10.7/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.6.1","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@testing-library/react":"^8.0.9","babel-preset-gatsby-package":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.10_1566328221732_0.4665481899530495","host":"s3://npm-registry-packages"}},"2.2.11":{"name":"gatsby-image","version":"2.2.11","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.11","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"79d5760ea2594f29cfaaa9dd0e9782a74e075971","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.11.tgz","fileCount":10,"integrity":"sha512-leO7NSIoTpyBCM78/aCDNm8qAf+SW3OGgR55v1UPk/wr2Z0Wp07oxk6IMz4ewT6JcUOwQH5+14cPlgA7ZBaUlA==","signatures":[{"sig":"MEUCIQD5Fv6Nwo4bpINGafxau7MvbS8ZFzePGxy/jG3H91wyXwIgIjpVUPZVCO78x6GLpogrUmzNM4ZkPD8bt0od7vGhoFs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXeDxCRA9TVsSAnZWagAA9sAP/j3OK8sKZy1tMK7I31LA\ngtqa0yxDlDHKmRpPZvWSyXQYxL2RhBEqh2IAKL8uaYGojeDX7UH4pWmOjY8f\nVKswnqUIrDjJC/I+eEg39tNz9RJJ7UW7u4X0SDRwS9baAhtKvhXTl0uyacrI\nqUTsXE9AKsdXJ6zNOwjP1gu347E3knnoX3fMQMPHkA2vkcvo9VzJJWADqjil\n3/Uh8cUk2Xv1YeYQNMJHCvqemmzSi6PMQNn2h5VVCKZpVXrhaFc5y7jqX120\nr9j42cFfVzHo3oCsb6IIluljJhbFf1H4tu8IzA37ufbJahbcVxftxEM957ug\nXM1HUidmfcOt6fl21L0hJOj1ndUFVMRwz4zeankCG66mSfCsXMFBT4JDXovY\neuud0RJ6nSIeY0xItuYd8NBGxgwNif1rvOqVnEq5nwgPh+eyP9ZFcs80HCTY\nxKbm0OjgnUmJcGYizYxLSXlHiVe+2Qr2si44fWvRLJc3C71xnqS+GQBnb5XK\npzfZyyhzAFjuEDpYvZdDZvoaRbQlHfHr4JAh7ftiXWKjXgGdRyj1XP5jlvxZ\n/vrMAlpVDZH24XXXFS8RUTfbYTjTVpSSu9CphD0U4i5WZ0fFlN1NLWQ1iXDX\nwRKVom5FHw59CPP4oyIcGs+84IDjgF0LAI0igbd512m4A/Aic1/Sq0e34qEN\nUq3B\r\n=HpeX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3d4663ae1df1a694ca04278099266ab8e6dfd9af","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@testing-library/react":"^8.0.9","babel-preset-gatsby-package":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.11_1566433520215_0.9285977848268376","host":"s3://npm-registry-packages"}},"2.2.12":{"name":"gatsby-image","version":"2.2.12","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.12","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"90acd2d6c4e1ae8ed070e7d78e25e9113c37f777","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.12.tgz","fileCount":10,"integrity":"sha512-XxpMcn58+ZH10LkNghalA5XeHyAAa8YkVA53rWbkezWKED3YauaQcnyNH3FC4HCACrqD7S+QJo5X2zPulGbFqg==","signatures":[{"sig":"MEQCICjev2MF3baItObGKr/fBZ0kdJVS9Ig1m12+Y7Hb2JEIAiAw/+CpvgHOfW3KPduWVIJA1IUj6sagwx4ONH8Lx/Is0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXkluCRA9TVsSAnZWagAACkcP/0eQX9Sq1GMBZZ+jRJoR\n+HF6HyEDuMVTkEA5A3oXVMUn0Loz5x+CHWWLICSzzq0bWofRP+NWlG1UZfBR\nLmNEtQS+3iY12J3scB2tTC9amvaDwyZ0OLbjMZ3cHQgAOM75hh1DgyUq/s8U\n1sCW0Vet3J+PUgAsgvAbOLCJW+KhLIjIJL0Ugub5KstkYR+7B6GkpZfP2fip\ndRiWcrB8CmnLQMEMpTSgC7gQW7+S6yiWL/wxSoRRkGd8Zgg/gnVl3ZBz5/fH\nqeMga90qn0T5vHIqaF1ymeJHu50Zf4BSz/GTmZZJA6o5cOwWIR3pjp1sg/Ga\nIwBVT8OCbemT5hP88QnciKtnjuuM5A6hxGBuF5GhLFOXj4arjlcTstaAf4fr\n4HVcDXJWOgzJLYv6n3vEIVxAI8ikSlS7juyQlKF+TPid/SVbrty5qPpWhbXU\nppjn0AbuF7HBnmaLp3js7E12mJHS+eGD4Q9RIpeCwY0G8HGXURadW3EOzJGu\nl2Zx+6ykN+ma73eHZpxl9QyvB4E0NbHe2ABOMsOk0cPy8kFCpo4l3TBIXFE0\n1YIpsgIbfhIqrlhSYX9MqN48ZgeHaJE/n5uoVRd1jdL2Z0SOccy6cbdOsIyS\nUfwd8XMNMqlqS8vCsAUo245eP4e1CcboF5tS9F+ULZhW4ggZZZPon4VYvWgp\nSG1u\r\n=ustG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e9c8e8a6628b1d325c5ae15ebbceec73cc1226e4","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.0.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@testing-library/react":"^8.0.9","babel-preset-gatsby-package":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.12_1566460270057_0.626122219098113","host":"s3://npm-registry-packages"}},"2.2.13":{"name":"gatsby-image","version":"2.2.13","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.13","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"36af497f55bc404a2e5c6971ef740d82467b1eed","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.13.tgz","fileCount":10,"integrity":"sha512-NHcmuabUh4sNdNSngX8hq0gkNgSyzULq3nrTObIDXd99DzNbr85tjY4rNRS17qPafnbpbL9kv919QzfMnRH9xw==","signatures":[{"sig":"MEUCIBlohNs/zWCnlErOiaQNtP45D9J+2g+WYX+npp2LnaEHAiEA3/l+XLhABqllQB02/A56MoQFMXKKK7BwvPzpkkRLIYg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdX7DGCRA9TVsSAnZWagAARYkQAJ9ENIQ8LBdwCibefAO+\nilx967gf82CrPfqMtRB0S0rQGQVWRpfQwdooRRhn9UtLloS4tBNUblBbhI5C\n5mNNOIcZ3L4IHjofNl9A6N7SLIqp3KKQNnjaFOODAJMpGtudnOh68jaIQtTm\nYL2EzXXIIlG2VFazEAqq/ZfkOtYSQlI5EisuEya8kaQFOzzbIhoPUWe90BRH\nTB2qZt/ym/22oVyh1CTplQpl3VsEONjoIv0WzZ21MpLPVhb7H/DspMdG6YeY\nQLd1wmOxuyMGOR6HbqXgPeV2v/LQcBaL/DaXB41EUnLVrFw1/Uv3a/oT/uj3\n35HwPQfu0g6PYMpmDU5HR9L/rIV1aq8VFc4afB6/Nol1F1IRB7YJyMGFSRiC\n6sgpJsglpfSwyVOBgZeklEhzQv338NF9xfqg3TTyCJsyRnbIxbalK5gos9pO\nOIVrDlIA+wC59w1UL/nhN85qPJX3dAz0zbSbvxdD6ya0pRzerwnusu3/oGfw\nCxxBV9nYRsWumYaPEv43TRcDggCIdBVZNorp8AyamZQWIS8Je6gBDKr5Rn9U\nhTqXJ8hNLC9OyeCCXF5SUYg1UWPZELYjvcIxfIG2qygqU0WxX0qxiSVJDE3l\nA2zbLE/5lmo7eDFcn8CbUECzsA9qcZRW82j/tuB2K/p8RD8mRF4qMGZiATpz\nXeD1\r\n=gsQi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"90ac3a5c80dc552ca687988602311914d8d9b193","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.5.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@testing-library/react":"^8.0.9","babel-preset-gatsby-package":"^0.2.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.13_1566552261170_0.92681483648269","host":"s3://npm-registry-packages"}},"2.2.14":{"name":"gatsby-image","version":"2.2.14","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.14","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f77c923e4cc06c4b855c20941eccbda89d2899cf","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.14.tgz","fileCount":10,"integrity":"sha512-oPaJ2MFokfZxdywn9vNFjcg77bSQtZNtRBl5lWCxny/MAICDAu4HC7kn0LlPL4rgsXGCX2dIs6VW3mCWmsxUig==","signatures":[{"sig":"MEYCIQD8BD+49TbJTaKKA6AjodMFef5ht5C3fy4d175SM2ESVQIhAOoY6LnCFFqugmkOK8P5KBtMQd6L3wEHZ5C4xVoUeiyY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYK7XCRA9TVsSAnZWagAAdaMP+wWFD9Cd0IKBSn1Om05D\nY92JaB0JujGTqZ2dCQ24rfGUx7r4tnIHxdMiAwNMb4T7AD5iYkMh1381xDOZ\n67GW0uNjB16RNjieMVhhNyKjZmSIIsm9ircrKHQLjgB0sv+K31OMSWlLJnVu\nirwR5Wr/sqc0Ffl/oarjozXe+jT7jQyMa1f8nReB4R5Tx3xd1YUmQzfh2EJY\nbOq/ZA44unPqT5/zrh2QuakclpL0hqqBxSu9zGG0uxI4TWQhg5tMvEmis/S3\nNhndmidwTVjh1M3+5LECe+LxiPkZ08y0Vvj1cJvdtQRDOpxB9G2uw1VG+Qzg\n7BrH+t8zQEbhZ8OsZP+0rZLbX0LzaBSyci4ZyqlPltBstRgDkblEZdW2vFB+\n/UQWaAn6SIuEqzr2oM4dChX2xlhbQirDLg7IlI0ZtZyG7ttSbDuc+adadPlx\nI5xwCD9hhgA6gKN9vBLHPohKv6JIQ/I4rX8l5+uGv46KS7Jt4Vily/tmOKUc\nmAtBqLzuC2m00qXtlnqEOCCvx+rJ8ilCbRsGw2DmgTF4VgEP/M6i5IhSZ7wE\nXbrn/kBXN8Yg5PDv06gMYrsdYishSRiOSw31ragjGTkW/18nhntsx7+p5O3f\nZOshzV4u2Z8g6te8fPIYEtQ+SwXGRCjG8QFzfxwRPSkyMsCR9LKo+wedpTWQ\nRwS7\r\n=x/VY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b2dcccc414483d084d64f5b96549ddc8c5fe5126","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.5.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@testing-library/react":"^9.1.3","babel-preset-gatsby-package":"^0.2.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.14_1566617295849_0.5473729880095051","host":"s3://npm-registry-packages"}},"2.2.15-otp-test.30":{"name":"gatsby-image","version":"2.2.15-otp-test.30","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.15-otp-test.30","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"64cc1be41040d06337c33a2ba265ddbeece03b5f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.15-otp-test.30.tgz","fileCount":10,"integrity":"sha512-BkH4qKy3qQEjiixOjLLdtHbO4BvJEVuDeHNfx+53yJCyi8YAZQLdFe0QZF8AoD19Ap8AyyM5ap5GpV2FF6UUBw==","signatures":[{"sig":"MEYCIQCKOSVASvBpeISvQAEf4V1SNey0FwJWvzafmppDt8Hx0QIhAOsDrzKXCAjApnxbOhbDUDilwixCtPhJ2RS3noOHoDvf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZAPzCRA9TVsSAnZWagAAAV8P/19YzlSwHxMcs9atQ+9+\n4+iL6XEtyqSetJpxIALZwufMuQkcvDivg+KM7B9xzbWQpPwqw6jB0B4KwmGv\noPKRdc1ozTLD2nPJWW8M1852vYA/LvMY3lfIHMhyye7IjpPk93LfwXQutFfO\nVlSdWYukhMVD9ud99JUG3v+Bn62mdiInXwL045mOT2EqallYr9kB+ioSEAfk\n+R0rBX+9g7Uezt3oADU0t3VwYNVSANTkthoO4j7pH02nrAUTrp53STJpLzAB\nNPbKTA6TsYMa5x4Tdm0RcZCbKPapxJBc33A4t1GjPn8AA3r4H48RKSqcIqzG\n3e9IbCJ+SPe6HRYi+lpOwQWNJWK9al8d+sWiHcT5lXrf0GF+uYdRFYGAh0Nu\naKmkrfpVxnIRLn57Na1n8zL89JRmVWBsdck8eUlIaFZsbjtdSaAzO2uWCS3h\nLTatRkOY+dOqqwkOej2VDgrbGDMdSASVfYUZMTmbsfuoDna1Wbaf+M9ieQax\nfuP60934eg/D9taruwrfr3wGTy9CQFvwhVCzvcUkYnvT5UEb9QqiK3HBKovA\n5CrGYhddEmUOG5/Pucp5Oj4EbGJGPiT3vbzDgwnByj5/SVR9Dj7Zv9fi91iH\nNx44rhDhj5JCrfXOqJuSkUjwmiyhoZbw5e6eeyz71y2M4MFj0X3NvfrUTEV2\n20OK\r\n=SZ5K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e) or this one by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/)\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `fixedImages`          | `array`             | An array of objects returned from `fixed` queries. When combined with `media` keys, allows for art directing `fixed` images.                  |\n| `fluidImages`          | `array`             | An array of objects returned from `fluid` queries. When combined with `media` keys, allows for art directing `fluid` images.                  |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc)\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","gitHead":"fabe7adb6dec20ebb2cac1a901495a30faea1f91","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.5.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@testing-library/react":"^9.1.3","babel-preset-gatsby-package":"0.2.4-otp-test.68+fabe7adb6"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.15-otp-test.30_1566835699395_0.6404766283119427","host":"s3://npm-registry-packages"}},"2.2.15-otp-test.31":{"name":"gatsby-image","version":"2.2.15-otp-test.31","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.15-otp-test.31","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f1a47a800ea2eca4477430349771357fc9a2fd2b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.15-otp-test.31.tgz","fileCount":10,"integrity":"sha512-zpKk+D886K76I+dHcSIJVEsucdas3kPW+gG4aCXdUhIMOf+WTG4QAvJhY7YjSRaly9De0og4C+o8DFSNU+zHgg==","signatures":[{"sig":"MEYCIQCxyNOweOSKAaVk7EGve6pynCoNR5Q+yTiyl1Llc2uJHwIhAJo5USzSoW6v3YuCAIMJkF9Y2FG3wzPOqaEA4lG+Yebg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZA50CRA9TVsSAnZWagAA/r8P/Aq5ss5aKnKQBkz4IaF+\n/CrIRHL2/MZW8iZXE+4/qY+JcJejtEFWNZCrn1Ixnm493yXUiGLWguwJ46/j\nvAbrQZb5Vi2H8WqWtMwKiCeio3qYNAQ0WZSS2pgvwXYAzax/f3chQvPHGw+s\n5oxA90b98g04lL/kipcq0hK3BiZjyLy4MhO3y8/Aw5FflrWgmZe2SZy1l8O9\nXIjnIGnuNJAhOJeesxV4LJXSS6lo6TDS/LbCesc9nqIH/MXChoRzon69wKji\nYILHP+5vwgGvOIsTOnnFqhGrqNA3OnN4udxiKkrbCVcE4aGYBXMXZ+n1k4+X\ne5PYoNnEnHWenrrDGIG0hZLnPW/KUkxemHgghRLRRiKFzJ/sN/u7PUotlMPw\ncScYhTr/3fOIoPwvh+PxszNuMea5BO8ycNjTHgawAPJOdBOtkyEH2KC0hFVz\nAsNM882SqhW5spM+AQRi7NFbtBioRN3D+dYlZefSbUkGlVA75ukL0wkIaggz\nec6tMrbkynzG+W0anAXRaYOcJJpHoQ+LR5raiqNp71JZgsVR3Ntb7HpqkZmR\nL2jHVVTwvPQ0wxsBVFmu4rSVO3PjIqx6OiguzGvCjEndPe8JrkrrNjVD2WV3\nDvoQXKWQnqvjhdX3bAHnMVF0akqQEX5rNsodfcMyycR0Bai9OCGtqGMz+758\nghB8\r\n=T45U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e) or this one by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/)\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `fixedImages`          | `array`             | An array of objects returned from `fixed` queries. When combined with `media` keys, allows for art directing `fixed` images.                  |\n| `fluidImages`          | `array`             | An array of objects returned from `fluid` queries. When combined with `media` keys, allows for art directing `fluid` images.                  |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `greyscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc)\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","gitHead":"9a09f8794221815d37e6cf02d48cf42bc6d8c0a5","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.5.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@testing-library/react":"^9.1.3","babel-preset-gatsby-package":"0.2.4-otp-test.69+9a09f8794"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.15-otp-test.31_1566838386782_0.37042142179459026","host":"s3://npm-registry-packages"}},"2.2.15":{"name":"gatsby-image","version":"2.2.15","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.15","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"eea5c4b8c7b685dee4948291d301f57dd4976f2a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.15.tgz","fileCount":10,"integrity":"sha512-61A0QEyyhWTIfaEJFkNktlDd2OcCrMhQ0mWd007g0Grf1FwoO/wVS0tXuYmpS6uhHrup3sFpM0EpVavRoDqdwg==","signatures":[{"sig":"MEYCIQCnTqEn0/rzGzSTcIcTtwcHeD4EFYK/zvwQz2wSmE7UGgIhAIZ5xGbkRGzd/kMk4loqHP8GEtI7n+/ZxzyoqLes1bHI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaMTzCRA9TVsSAnZWagAAmqUP/1F3VAy6JDnDpqx4bcT9\nMKghAGT3d17OQ0M4dqTAtyK7lsT+URzLMR8N40AnpxOTcnQbUXEWxGuD+SU3\nMJJ7Wz8Nl46Shmz+6DFu27FG5+/1Sdr/ycYZEfMiwMxaYcXa5sSr/a0jLVjE\nrKu3N7aMZKnKejmTzB9LHr1LMO0ktOaMuPmqZTZ+aPcIcwP+kPuSI4TorxcX\nWjAnGiRZsOPPNrNegjDDse5coOEf+q7irSwlaH+VMOfMF3/ihD04F1awu0nB\nPuEut6r9N5gRkALpxvIjLEjtBONxGtUQ+zuVl9gDJz6u2oZVEzqgECK16sl0\nlyzdbfVjLnLJFQgud96MUWagzRzSsa59XOEwbOIv1jaXGFfHNJBt/ezDW3f8\nJOEHNM9lNFyXMgFvyi7hazQC8KPiHo2C2/UiKZciiXS0KqB5XMsuXq0raOgQ\n6nlhp1xLyk5lasdQgupGd0liTFVFiYidIzk7EFoZE6DULjUryZdq3VjBlYJu\nloBs8jBeQ7kdgPbmTR/IZ5ODfdUxayScd9FFa/FMgTwt9jutUXDEXQSgZIXU\nbHp8nnfY0aqS23vYx/5pfwhlWhsGaURYTBU7KdhDy9Vo/oN0QeYwzA/MdE1D\np2OYwR2wRLCgY983KrYhHTfxHBIjnr84B04e1FzdZweWRynOeidcXxfqo0lo\nTzr1\r\n=UgAN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"858066f643b3465f957d3d30ef4aa34afd230369","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.5.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.0","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@testing-library/react":"^9.1.3","babel-preset-gatsby-package":"^0.2.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.15_1567147250495_0.010283421086772826","host":"s3://npm-registry-packages"}},"2.2.16":{"name":"gatsby-image","version":"2.2.16","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.16","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"dcee73cfa820ed0b8115888b3275da3c6e940c81","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.16.tgz","fileCount":10,"integrity":"sha512-wM9Yd7BOa/Y6+EJiLgA2+JXBGvNE2o+S3wUoaScYCCU6E9uuT+e4WaFQgsPBwizTLhH5/sBQmzdktRfGU3mmRA==","signatures":[{"sig":"MEYCIQDBcobIWHT4NY17CjRRNTApFvcLTTU/uUcLXhNmFwVQdwIhAIeLgyTXLMfzVCHPNdE407EN1+ZdyAHh38m4bz7o+b1f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJda6FHCRA9TVsSAnZWagAA0+EP/iSXL6s96iiEYSwZtCrL\ncehAGJ171hIIiPHWiFZPJpu36Xa1615bXWMyiCBwpf+SBiMZZ8qiTZ5rXNem\nVmaJ0iAM84ioxhW/VFVuMlTx7BYckUHD3Rz9tI/ZSqlbxz8wpHa2L+FSnVbR\nJuInO3Tr8lMgSwtQRIobJbcrMxhjKo6XVitkmKArECYYN2gWcxBUM4/jmNaW\nTuu4aSujzHwzMGr+IfEWMYNN9sdPUw02sma5zOOTJFQAsnyg8FqVvhqxrfqh\nzR+H8OEWBqa9KaaarWcAa1uyx1F1Xn748jsDOCdWN7r5eaLkXKUmQyndfrKI\n57yUaCZYl0GFr2BrkSSleW1d1p7xk4I2wHG/vCpr1pzmrgMm+JKuCkI4HJ30\nC+TzI+VP+4FUZHWba2guuB/Sm8N2IY5ohT1Q/i7/LZeJ2nEjs3DooTh3DOlq\npyTNu7+Sdoa+7YGUH4JwmT8fcx/h5c9E/MucH28WAeUlmsFk4nTLfH4I1iTP\nxc7+mKF62tfpRR1lhPkZK3uYTq1jg7nD9d9ZftWx6kZlyWeappn3yi4CcKB8\nBPcX5uj88JOp6rMsaa5YReBURZ0Um9M4OJz4cujD0evXC4ZTzf0piC+oQb7y\n5cbDMv7DiMQKkqgfy8loRfU9u4XLwBqjZwjWrZ5E6ZfCBo34E3XHTklalp9n\ndT4V\r\n=NQ+h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8da4c985322d3767dee312f3027c37edfa706c01","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.5.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@testing-library/react":"^9.1.3","babel-preset-gatsby-package":"^0.2.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.16_1567334726652_0.28587005172381996","host":"s3://npm-registry-packages"}},"2.2.17":{"name":"gatsby-image","version":"2.2.17","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.17","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"3c776be5406baa7341416eca41d112ef37a2234b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.17.tgz","fileCount":10,"integrity":"sha512-6H/V2GlN1lz4CoRy/WD/W7Mm81PY+GVutchjfaAtqdBi4lSsJ6JKXFcgHlmTawrKyoKxwRyPRat5OAWtuJjYnA==","signatures":[{"sig":"MEQCIFwAqSw3afg/Tv05sErHCb6so420FnJy2WiTibnU2KT9AiB3iup34ZavFWs0I+AOIROZxk+ZqXeEzQutdBcIt8vnKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbwceCRA9TVsSAnZWagAAu/gP/173A+ogihXufoRVNgzx\nsulcA2uKndpYmBQNVz0Nrs3HKy3nnpbK/a8P7HmpBSNFiYWf9AXWoRPTWWUj\nmrJ0skCHD33IU7LCRgX8D1GhD4vTwrr/SDy1yFFLsce92knoFZsBWQiOG7OI\nA++6Bg0LamFb5z9BAu1FoFXU0Gd1XBALHr4jazIj8pEebhjTs2nD6hvXwj4E\nNrycNVUZibpgleP4r6JYZ3ZFDtmPRiVW+ZIzXhgsRG+Kfjf8aTtYw9kVEqJ6\nyx5odQRxhng8e9GGmfEwOZHQyIJObSMiTJSjxJXGJ73vvXOX5WxxwN/AZtZm\nz0IkP/S9ZRMAzmQZHnfgVg1ndKgD+Ywaxu9DNpXbA08kXBnphU2YSwwSFQJE\nolszsu4+jBq2Xf4E0VGSXs/wTT6GEcv61cvNXb1iJBkljSj4hDmKSMb+Rh/x\nE3xu66VgbbEUsMvUOUjMaIi9hRNa1eCfbxonS+dGr30oYOCCDjLGybO3Z9lB\nXLj/X0LpZAQ6nF1vMpJxu/80aVM8H/TP/8Jlu8pN8ikA6m5fNpYhRurKGuE3\nESyuCEcFnadnxIuOJGGUSnifDgwXrRErZ3YGk0ZCQQcq0i9+1te6gHR85jdH\n+gmc4OXiDmA45DuZOXbKYYtochRPkzG2DKEL1pO2WoZDjP9rb8avN9gb/7Le\n07h6\r\n=kXJK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"963292f5a73448efff53d67dede6ff15d62058a6","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.5.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@testing-library/react":"^9.1.4","babel-preset-gatsby-package":"^0.2.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.17_1567557405337_0.3413118680359466","host":"s3://npm-registry-packages"}},"2.2.18":{"name":"gatsby-image","version":"2.2.18","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.18","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5d9cee30432c7259d9c6df2468ec2322b9dcc0c3","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.18.tgz","fileCount":10,"integrity":"sha512-08ueBEwl02Uc9izdI6FldSUJTeB41yE727wOG2PfO3dIC/LYQCIoXxJuOLdC3qpdJPoRNebo3djjW+o2O2ZkKg==","signatures":[{"sig":"MEUCIQDFGJc4EPGBlAC9tGv1KS6EZPqEbL9DR3ivw7o6i3azBwIgaFm/c2X7WHlJ1oaB0T/CMARQO4SVwD2cTtTTivP3MNs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddnMWCRA9TVsSAnZWagAAlVwP/0FsOhF7HgWArfo3F685\nqdifHoIhg6o1KK5EM8uGV0b17/Bao298ssRJY4S1+7Lty9OCAUTETwuW/VKu\nM0bZuGR8jphTeAv5Dru7bfgJh8bCv7TXTagzjXHaFMpzDtuSx9xoqJVpfi43\nMDF5Mwn/fmxabNgNw5agqIcAARmc44h5+qubI96u/WaNDLraaLLMSYPpMurD\nPIfMOeoNFeULybZezm8hswWw2BCI52G2BoJCKWYkiP/jy5bBTDlzX9DSYOiV\n4ScIuouco4PsdLGF4K1uuIj/yRG77TjVnFNrRM6hUPwWossbV1pGBLEBDsME\nMqiUJ5cWclIcnrjzsrAMNKyv2xoSC+ISPBWxq09RMv9Drv3Yf2Cd63IRTbYr\n0qMB5baOwiRwR8yr/Pci4omI1lxe4f0z6DaQGuYg/65R2Syn4Wwm0BrB5KSy\nuNa+2TgbkcQE7ztAkgm3VRfQSzRr67a0i1yf0ANbQKpNhyinF4XEO6Tm9MKc\n9klg4v/l5B7g0eZEGR4/y/mlpbr4yEYUMehnK24yn1MBnmoSSaIjhoL89mpZ\ngQ25SgYFWDl18vRPkraW/ZDJ8FXjCu27nbsCUy81+aaEjVqy3JOq0EUVi2aZ\nZtDO9S/xec4//ShlIGedgE7ZTnfUvjnaDjUbpnJZfK7ilneGQtdoliQcd9G9\ntfE5\r\n=XR5q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8562e93c9d413b2660a40aaad34fb10b33d98921","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@testing-library/react":"^9.1.4","babel-preset-gatsby-package":"^0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.18_1568043797723_0.41257604117829483","host":"s3://npm-registry-packages"}},"2.2.19":{"name":"gatsby-image","version":"2.2.19","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.19","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2269416195cab741d222edfd6c68b2cbd5725ff1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.19.tgz","fileCount":10,"integrity":"sha512-Olp89drFRNNUAKsd5PfJCcYUwHQBAvCyUm/ogE7aTl2y5xz50lqHIVx2QWc9d1tGj2pkjRsw0lvsy0C+1X6MWg==","signatures":[{"sig":"MEYCIQDZSryrAve7etKj2m6d3A4UVC1Q8hiuYRtgNIr3qE4tcgIhAIilR4bB9EyhcwLVOc+zleI1VDfesockUKCY/CCyukxR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde7ViCRA9TVsSAnZWagAAnkMQAI0dFQtoy54+FMGP4lA2\nIM8q2J5svbhvVhgSm6+sChCDaCr3ITrQIj9YkW/ynQliZobT7kg9Kt6rNRi7\nWOjqCRcJeqo7AnY+yGuQTKgDCkZHJpf9HfI9jl4mkQzzB0VWOnqKTS8oP9ET\npimUfoWip881ofH1YPx5ZnYEjD5N6j7L6H6heZy67Evyhy/B8gmVfaK4zgMf\nGJHd6rljGMwxMeemTet+IURqQ0GebjfhTxpOTfdW1BwAdBcNVyCGsOVtPiTX\nyn7etK35v86g8F29v4UNWlTsncv4qtpF23KUTTehCHeeRoEhMSozh2Ga5TWD\n2MgHRSteIduxM0JNbc6nI9Y8d09TLRKZZW+tjRD4pZFHSoHCLSzwZdN5Um1o\nugZNNGQWy+WrjtL0JKH8S2H2D5xbq+2xHERVs1OD+zcws0K7Dehcy98CtFo6\nH54u5wGMxt36Uu9tYba+I9ZNtvZVIZCKFKllL97FPsEF5q/vQlngSSt/kHlE\nwPK0ntwU6xVKMxXNLvTDy62m1QNKUiysRRoOqr+1XS3usyR61DVlLUw1ko5s\nTy8xO3/D7o0ZF79pC9zOSbT4WoEDfiwd0TpIYR6FuoJlgh5iDf4hCEh+mpTy\nNiektehA7wC+Fh0suRdFBT4tkPc0abV47G10mXK3/nuSlq+BeotoHwJ2fwBx\n2I42\r\n=3i16\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f947a51d9e2bb65d2614a4e2dabb9bc6143d2a06","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@testing-library/react":"^9.1.4","babel-preset-gatsby-package":"^0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.19_1568388449377_0.8203946500490127","host":"s3://npm-registry-packages"}},"2.2.20":{"name":"gatsby-image","version":"2.2.20","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.20","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"df156fcc8ee166954e7f56a93729569f05a50624","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.20.tgz","fileCount":10,"integrity":"sha512-bf2YnqJLYmUnXkXjVF20I6x09rOJS3UrFKoWLvmsZUvYSunGjFda0SvE05nTFCc/7PGvlGhua/NZMNtXb5glmA==","signatures":[{"sig":"MEYCIQCF/63ZhaoBoZHBnXNjK5nCkndVt3q1L42vchEcmZTT/AIhAOLzau79etISCjEvzRI1+MQIumVZwtGFAhdXXJTBZRs1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhCdZCRA9TVsSAnZWagAAaN0P/23Tj9jwYzQ9TcriXqIf\nQOvSR76JIuyrvqbwJPy04kNMWLVXricCd+/dh2VRfSae/1RKOtwCpavu+3d+\npjxMU0KT564yM6ocmVmNWmfGH0n1eFO/HEdBVH19meZM0uq6uMKtG2Rx9dlI\nvSyc4lIb7wCRtr1FJIt5HKBkqqVd/nlWXTMU0Q3LGXtDWejRN388hYKGuSNe\nyM1IaCcgpMLJjg+Fky9ZwaS/QYLvHClLihni/Hveo71sGNJAnijTb+2CEUsE\n4VeqdxDIftBRmA4oNWLUpkJjV84ZAtfmECwn3wp90+fBUFGRju+nnk7MW3mi\nbqd6qS27Vbq7dj/n3ivlAEeTxWTkdy4LXQfIk477liS9GaHknHA7Pu4WbtxJ\n9rC44R10OLGC1HhPhG/gH8K9xAyMcKpOJ387wpzAhzQ6QtQtIvCaGDDh2fvZ\nzXKNJooIl6J+6KM4YAX4tGKaTJ7QR7wbYoPxZR19MuuQrNLJVUIf3rl4HF6S\nlGQHO8O8HsF5eJdYS+n5FEn3S7iq1uQY2Gx/2e/oQHpIAubLgA846PYCCWpa\nS0cUJ5WAU2V1zDaX3/KJ805JtbeJPWyLV9Y0DyKEA972277QBlnndouW26m7\nL1eaZ7MVtcxjyDOmq2b14LZFbVup16RTwc+ADR4VI5o6iAjTER0QrBXtpAu1\nEgnC\r\n=SKwc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"38ab32ebe91847519df20bfc9f1045abdc59ce7f","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@testing-library/react":"^9.1.4","babel-preset-gatsby-package":"^0.2.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.20_1568941910629_0.98565694560662","host":"s3://npm-registry-packages"}},"2.2.21":{"name":"gatsby-image","version":"2.2.21","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.21","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8db72cf42571c8c4ef24bc5a71a20376e67d0208","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.21.tgz","fileCount":10,"integrity":"sha512-ejslqo/aYs9cy7brYdJPB3PdpPO40BXC9jmhiObSQ49hLpSj4D02tBJOtrX3PPdSEsLZ0wTSWTTSEuxJWXOy+Q==","signatures":[{"sig":"MEUCIQDmcIqu4awl4gcqeHF06QDjV5kINwdXDZzg3+S9ca8PPgIgM80Hlgloy6X66VvlpxunbmJQNf1jKo/f2YexUMJn5bc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdih1DCRA9TVsSAnZWagAAAwkP/1vojYFcvVy764+J6HWB\nCcoYHu93PcrQiwngcDMjK+xb4SLe+zURwQ7i2yRwyWcO8SsXKwdikmcalKce\nMs0KsScuYUG43ERpYQn7dj7WRl1jiT5w/hGR2pyo/drk23APa5bYi5cCnrEk\nBY/+X85mbiPEy6chNq7AtQrK5+wbd+M7dwfqSz4ajXjcM1+FtaJMw+1ELfgZ\nnDBbFhUnFcfOoTwwAf2nA2VAd0SUGkXuOem2t6wcWcjGuftSS15nCAPJ9jI7\nvQgxZiSs693NOOwcBrXxlkqBE3/H5KjJIogLAWcpV4nlLEWZEkLhpQlfAUW5\n+iUoBVGWN/yl71zp5q8u/uENvZ+B/YlWDKfAi/oVTiTCE2IDABcjPnYcRq/4\n0EojXPzdeuGenSCAsXpiVIqSqlegf1df29FhN0SxiMeBP/olEsfUe7l9fMR5\nXVLdtUYi+2N3AhqrK4/DkHytVocDGKW+WlQn2+50nzrIPVdJ7yU1igE9IS6v\nP4WaIxxi1Cf4NZFdjUY8v3x8suzhHztQhVvV8qUhW+qF4IU5ba2Jagz9sEcs\nxYUXDN1GLxhM8xUELoHxfq3r5zulsisfAH0cigGBocyIKlYHCxBfIs59UtHn\nbqwSCTsiKpd8+kwT8w5oPL34bSiqsBgAHML3BOX9J6q+kATqCPAVzUjuf2vP\nhyEI\r\n=/id8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"15ea42cf5ab2730de380a82b47b2b9b8c4f6a722","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@testing-library/react":"^9.1.4","babel-preset-gatsby-package":"^0.2.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.21_1569332546318_0.5083151493698079","host":"s3://npm-registry-packages"}},"2.2.23":{"name":"gatsby-image","version":"2.2.23","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.23","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8f63fb33cd808ee71dbebc5034d3bcdc4cf59177","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.23.tgz","fileCount":10,"integrity":"sha512-b8N5Wcs/IX+38z2KTOARXYtGKqh+dOynUrjVzrdVOD2Pf4TwqTObMuVDiYbxP19vRPQCYixyMT/wnAV6yfTBbw==","signatures":[{"sig":"MEQCIDeW8J0Cv+zvSDfp+lSkP7MGmxdAuITQL/VMWbb/ScfnAiAMDt8B3k6HU7AejC6AgAQLA8JcNoU3rvbHuv76ijZzEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjKJGCRA9TVsSAnZWagAAJLsP/Ah1TeCJMYd/g4Isalnu\nZiDgTJo2T4a6FLI7EtN5z3S2vxP0XgINvaaicK8JY3rx9IHEEW56ftoqNZ24\nhszv8xKKRfjF858qDNjHdzwM2FzqoGq1n7bDakHa9yKIW8oopv5576CXznh9\nvqaTQYHJywhLKRZOoDa/ZRtwBQCVb9MU+4Ihin0Fos+qN5plN6RBtzz504pd\nRFExz5txSXjZ1dNYSzMhA5uRwdPZfnIwE4FUJQa2FGCJK8KDWdJJBS+42gZ1\nkxSd1biw3cRcCxIgDOS4gLlVABfefO/gqXxrMSf3AQtAaVXd+XyepyrNabOX\n3hKR5g0EIMB6HfC1udV7+Tem8tebN7MAPL4Zkb2oN7VS7jLw1006yJfM7cMq\nFDet44Chss62FBQY9aqd0/NAhz6xiqC0pcpd9yRkoXhn6RUr8hNcSzbjf5Qq\neZgUUYHFFKplXz1+1uTARPVf/mE28D2L2YEimXLhbApP4KwIlKzcwlFjegEn\nblEvE+v1xC9EEwHMP6tX3s0VT6/fceEdgmHKu/y2am9g67rig7bOn0qFMj6M\nXBdjAXc7XF9z0cKofanMYqCDXbB1hOn3r8I2vXniYiM2JUYG4UFr3odqLa0s\n/Qw19UmJYWh7xI8XTpW2cqfOWiudLOmcONZFLrvlSrChGc0UYOaMn3MnNreV\nHlgM\r\n=uxRp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c0d5420247ee325dbfce5f0aa3e5222c47d06a2c","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.2","@babel/core":"^7.6.2","@testing-library/react":"^9.1.4","babel-preset-gatsby-package":"^0.2.7"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.23_1569497669272_0.2805933075319509","host":"s3://npm-registry-packages"}},"2.2.24":{"name":"gatsby-image","version":"2.2.24","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.24","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"3f9e06db898bf7bc3d3c23b21fdb715b9fbf7043","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.24.tgz","fileCount":10,"integrity":"sha512-K2ejKEe6WE7IJ1WkihFmCsKFgqjIvQkGhk/ztv2H/A+5YyQg0H+qH1RPBH5UsThMK1XRp4zx9xOTE0r00HS1sA==","signatures":[{"sig":"MEUCIQDAf4Ghn7J2TlUzOhXvk20ADdKadycIVfYcXBf1e1SR9wIgeYDVOSl99kVhtWf6mdzjouFAAGQZmSTx6dP9IOXRVW0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlyJhCRA9TVsSAnZWagAAlCsP/2Vy0aYe8+5nXAvYrRhg\njmuYmtkoD5sqv1oV+kbB6WB/GHZapbJrCRkgzFxeoc/BqAPKg+YQJeD7nApb\nwde8XYw3yFQRvBvrjjQv9pLRZiuLVmZZL1FKIcWUBxNn5mLlr2R0rvVGbXEc\ndlVIdDYO3jUzbbMUACt+SdP9FihOIYzCe8qAITOMYkmbcxRDcW2NsZd6jG2q\ncAnfd2OKy+Vc0kHUEALXRNdMWMtLRXut8cWGs26XpvTwGcbBCT32hiyKRRUQ\nBSiWBpRfpjMdHIv0f98Ab0e10Qhs+8S3qRXT5gqZIEcT3GeVJN/yT8o+4PrT\nuR9XlsVb8JZ4XRD6Ln5HvOvHa8NwkNPRZKQD/3zeo1lOY4LwBpI3VBxUrBxe\nVrkikpYuxN1/hAff7pf+DV6NF+5CGUxmCPE385YupuQ/315yjYOqtQ58yrk3\n9LDNw5A1h+TKzMvgJ52suThDWvapbdofD/PweKgFweOB+k2RRpkt68MKYSeN\nRlM6gHScVGiMaHCiXQwDSsS/eIum5k6eLt+XPPiFL1qHcFeNTqmPlEm8PQ70\nLiEaw5SpG8vSQmIkmZomIV95cQ0n/HgHkbc3reBbFRHRoZVtY7kTAW9TV4ep\nmjdB5UYZ3DVEoGg1odwP4f+LjxuOsws/Xg0uOM39DYiCFk1CdyIcSYVnEniP\nPKnU\r\n=FJ8r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"077cccaab43052252ae14ac11e6a06de9cb5c4c4","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.2","@babel/core":"^7.6.2","@testing-library/react":"^9.3.0","babel-preset-gatsby-package":"^0.2.7"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.24_1570185824330_0.9968468673465709","host":"s3://npm-registry-packages"}},"2.2.25":{"name":"gatsby-image","version":"2.2.25","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.25","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"e1e704fad145d03967fd66e8f941589463df267d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.25.tgz","fileCount":10,"integrity":"sha512-oI1A9ae6gPHT9yNsiycz1+isu0FA+MI04LJXHJ0d3rLpAPBjBl/SnZ4UflGssjlII8yJ1mFCer2DNRTOAc4ysQ==","signatures":[{"sig":"MEQCICjrN3aJIOepZxuUgXNhL26tmkiKKyEQlXbnOVP4BplWAiAJaowbwUgUnuLyYcf3jQ4Uim6IOi0jiBDJX7TF57QLbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnZ1CCRA9TVsSAnZWagAAeF4P/jbgFFeDikvU5CBGQKev\ndxnL2eH2s4ZrHnW9q1CCLDXIUv98QxmoPE0HRwiM6C3BD0UrldXhslGjq7Df\nYld4Ts6FJst2QxIEJ+pVJtk8F6CTz/SjEFTdA+0h9ZWHyydnC045du8bVRPZ\nqC14W2DbBJna/BjgGP0S/LVSoz14FB0LSJBd7kojuW0TIKEhDUa7fDf6oYpq\n86z9flH7DVj2EojWDBldaE2a7GWKaQ2r2UGhq154CyPOxzBWmETGPtnxllxA\ne0alkI/by5FwhT4GbvUWfrJ/pdjYtPkOXxDX8/8k9pTrDw07eIHA+iwdg7RQ\nxAwHrMDwjEU/pbyALufaXbBhKbyRldYdP0Kqw0oHebXUB4kK8blHZhndJv8X\nwc8dbgog4+dZThQyac79ULBjdKsQ4G3x/mIV4sLRS//r4e1s5/YUM32KJoFD\nx1+eEhttC5kbY+lqDqMDJWocXDxbzEZF+NOEwm68x3XE4+7gOu1jq73y4AhR\n5vJMyAI8t7te4BO0z200Z5GWEkLlYzQ9CmA/kguv8XcgdDMu5/EqAkSjSCaJ\nt+Jy9WBR2hslIYIuxX7epQYiMEY8obfDRDlEjETRf2NWbQLO6fKcQ+UR9uEN\nEIkwOIbtkXz65XUs7h0STvNlt/OBzzeEXKw2Qn+pxSYSPBcMXIXoRGtR0Psg\nHBbs\r\n=bINe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"904ec39943432d0fd94369e43e0e4de48999aacf","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.16.5/node@v12.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.3","@babel/core":"^7.6.3","@testing-library/react":"^9.3.0","babel-preset-gatsby-package":"^0.2.8"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.25_1570610497577_0.7211585123215132","host":"s3://npm-registry-packages"}},"2.2.26":{"name":"gatsby-image","version":"2.2.26","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.26","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"59fb24ca64319cd94575151f43fb3907168933b3","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.26.tgz","fileCount":10,"integrity":"sha512-UF2LDrVL+VLyZZ7UGL+kbV0K6maz1vEZekjS7OEjzWOO+4HRwuFr0JxHEvAYl/onKAad9F3VDtsiYvWqE/wkYw==","signatures":[{"sig":"MEUCIBb9IRAHYyffvks8qxBZf53LaoOnXj/RX4Z6xzuNmErUAiEAhBLOczTIQAfgeHXIlKIHambrwWl+c1kREboOMCDkELg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdn0GCCRA9TVsSAnZWagAAtOcQAJOcT43/QtqVAzfkxlRY\n6ZJ/jMyMEj1ttepGNjX4QK93uZrfBimIqOejFyvS5UIoeO8u/kDDcf2VIn9Q\nMum6k0wNGftuA3H0fKoqfvMN1Ez9GIYTt+wT8cSfx+xL/32Rj0pkG+seb1MW\nFGTxzd+OnpVVS+tzYO042KJT0xJEZFkZF+L2oBSL4OEBTxMTvyBQbyZEe+tO\nW4yVjLC68cowpxD1bf10tyGW1YIJhdloFaM6yBXje3aVbg0uLMxGQ3esi6R2\nCza8Y2+c18Vw2oMbjmpOEzcAMP3wK+SLaiQ3xicmh/WhEkvSoB2y2SgjjCng\n/rQ3CgvSEbqSzOMlAd5qpv2j3RZHhm0vvzNavkmbpVjY0oOIKqFfJxC+krGP\ncZqbs+XHQlq3scCEHL7DQluF0q3O6WMmIhh3TkN1GUsbNfDnU21moD/3pdyc\n0AQfIHq9UAzH4QOB0WcJL2q6Y1mUufZwkuW7xMIrbBu5YvH31N6M9CGTGfq5\njhne/v3CFE/6YS8+IosdheNOelWLtWkQ3R5ww7LabnOWT0r92EBUyFt2COGS\nRocXqypDZHtnFqpaCuu98XjXaQiV/KryDimI75hULydXUnG4qo3IemXHZn4p\noZCHF21Klk3oi35aSGyKz+dczAhQpzKRJgBiyY0GEOp3rPuyWn0JFfDvZ3eW\nyk5X\r\n=Py7t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8e6d1fd09e2489b3f752f5985ea2a6ab2b8c8389","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"m-allanson","email":"michael.allanson@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.17.0/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.3","@babel/core":"^7.6.3","@testing-library/react":"^9.3.0","babel-preset-gatsby-package":"^0.2.8"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.26_1570718082024_0.9274987450286054","host":"s3://npm-registry-packages"}},"2.2.27":{"name":"gatsby-image","version":"2.2.27","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.27","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f42f7eb62b09f23c8b049447c290e97ceac9ac8b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.27.tgz","fileCount":10,"integrity":"sha512-/NAX71EPTt1j96W3XibOJ+UUcDJfsvo18yoY3ilCM10iCiOm6sA+yT10IO448TQaLVXu+kf1T5isfq4KMgh53g==","signatures":[{"sig":"MEYCIQCo6IZwTd4Y6s9NmyqJPqePDNb2FgUeJHuUy84xfjrKJAIhAI7mWP0mRnN+nKNNQNRkX2iCiTAf4LyMzPN4VhRtc79H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdn3egCRA9TVsSAnZWagAAR0kP/RcLuf7PGyYLXHgxrqLJ\nzt1FSTxhugRiisJcLuSJm+l6AWuZCrSnr5JuKFEfe8LoyaLYScWZHkMNLi4j\nr29HGk6xM7ssiAY0w20HVr5YV+YH+zxY4HNXCB546Qk5P9QMqtDTpoFGqoUA\nF7BXWSZymuAC14vkI4cSt8uU2yGLgepWTy4npG0WiiBnULahjIFg4tfozAX0\nmTSfoiT5KMX2dOmoivY5RB2ZQ3EJgvdY2hTcjNuSLv/53gJxDFoo6C5mwwsI\nsTGvVsTTNXuxUH62+gdB5UJ4MNnB+hTwwaz86Yo0vDA6iC9FVPN+eg/l5j9k\n11xrDakidhNcK3jlfmTwM1F6YKXmsxLWKIubYNG0ucsJqaonPUZX/q/5m3af\nD+sLPS2l1SIJHjwbyNvP3GcQ6qCWZ56T1LWeH2Ktrs/SlAt4pbQnY+uh5BuF\nXa+V+CTSvrsxwMmrEmzmy/9sPhGIVhGgts9v9THv1cWOR1HXpzpu7YcPBBv6\n/SEVeVGde3+2Lx20DWYFRh+ayUZr8++8MqJ3sid/4ePlg9eHThA23V51WnNT\n6UFr/IU5BrEpvFmHMySkd+cZcU+t9PBZOoKysf+gPxZq8G84qUcwRE6yz2kn\nqKoLrHH9Do5AUvgRPaOZn0Bnzr3zhqhVTzLZjYgvJxalU4T4aKWYMudjGOFF\n33mX\r\n=O9HX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2e46c102a61a827a5995d5db63fe19bb891c98fe","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.17.0/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.3","@babel/core":"^7.6.3","@testing-library/react":"^9.3.0","babel-preset-gatsby-package":"^0.2.8"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.27_1570731936076_0.19362980222304027","host":"s3://npm-registry-packages"}},"2.2.28":{"name":"gatsby-image","version":"2.2.28","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.28","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"cc94af3101946cee28716ed41e0a24b7d1c340b3","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.28.tgz","fileCount":10,"integrity":"sha512-nGaL1FLF1exMD+766LyDMIAzExAU8ZLycUSyVoqJl0Y4xHyWadXqRfKPPasjG/Ankdour9KDRDl5QI5QUTL8/Q==","signatures":[{"sig":"MEUCIQC9m7K8kJ12VVflqEAssDbKSYM1SBoUipmOareRf60pyQIgIiX0st29l5k5Jb7grs34eq2Xo5jwx4mnJ3W0DUpxs78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpB7ICRA9TVsSAnZWagAA83sP/33VA4PLM7t0AWJraVXF\nJWujHGa32YnkgJd4DC2JDyoH1K2/Bro5F0HbOj+aOHH6m+trWVD+v+U312cZ\nND/TXSFzRw2Glvp4oRJijDg1/yq0RnaaZtc7nzbmUeQNb3XevWJOFxv0nAVV\nFWHeGXD9HYM8fVVlubTbXh1037lNu22FL5L5L1FAyNp1Cb4m8f/xVE4TNrRU\nxiE2XmKhe6wlJJMcB828QysasUHWFut5A6+x9R+UKCo4cdMUAVBCp6bO5yVO\nqHT2FqJR9iE/JaDbZhJA/2CzUWW7h7zZFrLgiKQNIyFSFke5tI2P53K4NNun\nyuHONBrcDuUZSPk+Zt/8MujxOg0AJM6dHZXWxZtDE2HZfPIf0mFkHr7btDqU\nAcv5JPhi/CkRCVgA1QdgXGZPxy1mjdMkEy3w0KSNWTP0rEZw9f0seE8h4nD6\nCHS3eeX7OpCzo6LMqANRer3fcGQgOVHRDGwDMqAg0gMaJqZ9fn5qW2v6kA2V\njZXbgcUyU+d3X1Jv0bgvHREYxsMimDxUqlgvwQf/pJlauBCXCzdbr91Tc+PZ\nZFjJ8mU64kwm9jcoCQtZ+fBv8Y9etqTd2NRQG+YKVB8PCYCZklmh1i6KBT6K\nYfKjNwXv/5np5REiyExo/Z/5jhc1iSYmIRnbf5vrFwoIumCogsBH4087GM0T\niqW+\r\n=l2ft\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f651b47a848a6b5ebdfe9c70f5aaefb1ad149c74","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.17.0/node@v12.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@testing-library/react":"^9.3.0","babel-preset-gatsby-package":"^0.2.8"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.28_1571036871813_0.4695535420405006","host":"s3://npm-registry-packages"}},"2.2.29":{"name":"gatsby-image","version":"2.2.29","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.29","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"cea897166b0029968b1c9c5d55f31af05a59e8f2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.29.tgz","fileCount":10,"integrity":"sha512-QpF5EBE6N0E13FyencBTmYopFEqb30MYlY7eFNvN7dAOSa6Nl218ey92xYo8b0L8uCPcAaD/uTiNK4WPXxc6DA==","signatures":[{"sig":"MEUCIDaPyFqxK/Ew9nU2HXcXVu8YY7hRaK4kUh6fjVclLXwYAiEAy4M+Dh5oa5c/kZtTaxPCNMfERUqfbAg8nGKagcHsu2M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpGzwCRA9TVsSAnZWagAA9RQP/1ALcDwoAKLRjO0qC7hT\n43KE1AsTTc41LuOoCfx2P9yEZLf2Ow+IVj53XMyF5gy9trj9xmLlH0wicBBt\njdKZDob2UQhRBZU2R2Z/f0CpK6ida5LOq3ywwTLXZ0k7SUCn3Jdjyjdice0d\nEzyO89lrCzMas3ZOkE6FAITGsmD6IBRduJigzdU/Wu4C4fTyK3Hx924ZA/9z\nlz+Cwe1P4l/XfWnqql8UEDO2VJUgbyRUgaVV6howPayKXokxBIB9EAekI3Ya\nwjqKA3hkQo/zg7L4jKuVQHtaJ6+M764BkcETJybeI3aRYTLHN4YH/pYxvriR\nQeLT6wj/Id6sxkZDHdEMLtgQjLvzAgXy5ntE4g1AAoNn9NJSaIv322++EzkL\nxnY0KLqmuZLEiQzlZ1uIFxQuF9+RkvBn6FI8hPVQo9UQSXMdK05RA2RQlyh4\ne91zFS8wfT7xIguUK0L+b6OFCyzOR7PpmH4WnZupvF0xtj4SV8n3hDaVMU0z\nSfps5EccAvxD8qe2zyfK0KHZoDOqB9XR6BvZcrjDHJAsDZhYipm8FRhxMFTV\n8NXaUqC55MawjhD6aZ+4eEu+/qdgOqL9jaQP3IkWIVpgzVLPJ7CQWK6zUPos\nk2MoEUemYl23lIhdyl7q/P0HTWj3KBqTWEiWd8UXfaee8Y2LlSwXy06ZAn0W\ng0nP\r\n=CcSw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"868b44f5522edd3fd09fbe68aaa6e995e3cdfe03","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.17.0/node@v12.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@testing-library/react":"^9.3.0","babel-preset-gatsby-package":"^0.2.9"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.29_1571056879257_0.0028844618255379206","host":"s3://npm-registry-packages"}},"2.2.30":{"name":"gatsby-image","version":"2.2.30","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.30","maintainers":[{"name":"biscarch","email":"chris@christopherbiscardi.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"3ca58adb1814a759dcaf26d742ae90e89c7144de","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.30.tgz","fileCount":10,"integrity":"sha512-WANouedEFeqLsaDwZbTHlYKTPqV0Htr2A1BiP921SVaR3GrMwtuBoBzpDSXHF+0q9TE2w885gKdNIG/GgzgKaQ==","signatures":[{"sig":"MEQCIDaDDBpf6m5ws9zhfGqfByPJHASLOjpD6fe9jBALEfhrAiBa/ugQCsc/B5/LCoR6gUZc7tWxjeSb7W4xEfPgpEV04A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtxU8CRA9TVsSAnZWagAATLwP/RrS+axgfstRGfp70xwd\nFaYi+s73r/eY0C2gR//EvlyM2kDcPECz8yi1deZY17NE5GlvR4VdyzaS8P1U\nOJ6ZTez3v6EhjHaGtz69z2OYvKfMfIwaCWHVbxIk7+xUT0HqKkLmFEdCaJ6z\n98FJ2odw8eyAfp7LtkKFceYMwWUb+UAmempjtMEOk2yZaigZz4sgR3Dj1D3s\nRtc0HWKixcY6jgSXj86FWaB/mcCK+lFO9QGq21YCOcosB2quCViaIvLkf8m1\nqeOpkR5m4x5Di5KWw4K+FTa1GhY7l5JFnti1ESNOpxjUE2g7k1YWjHk6Bni8\n+7qQcSrveWxINfJNyscaIQqZzBmB+OW8D3XEk4RDyLJ8uq5i2TdwrJjs/b59\nGRDJNmq5RCBFOnVYOms/6l3Z03wDkxYAS/ZDUgIxC6oh8JJOhm9brqbK+Txr\nO+5L0yGtweuIIY5BHVyb9cz8Vfa6Ruf2kkL3kIid9piS2cnkiz3lIOpftsCY\nzwFECMO+4NRD1M6kpMhsgxDLH2j7A/05W5+3iFBV5R8jAPnIVwXpYOGgc6t8\n2DEywSOpQ9Hh1hpOajpuXujAVilHHS0wcTTQqSc3zII9ZLPQeLcCiU36nThC\n/lPCZcspL3NAOLuY4GzToNdPTgWLEUa97/VQsa+g891GZoZ8c8IpATd1bov7\nwowZ\r\n=UpSd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"53e34a58d25ef29567875bdbdb5871b0718ce61c","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.18.3/node@v12.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.6.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@testing-library/react":"^9.3.0","babel-preset-gatsby-package":"^0.2.9"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.30_1572279611698_0.6786319980299089","host":"s3://npm-registry-packages"}},"2.2.31":{"name":"gatsby-image","version":"2.2.31","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.31","maintainers":[{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b8eb4b578bd850523a98dcf573bcd9a01e14c37b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.31.tgz","fileCount":10,"integrity":"sha512-DRRDCsATxhvoG6NcO1zlbQFMVTWbmp2XtM+humcC7IPy+Uq5wP4NREV/ICBx3d/hcAabg0vyjHNjrGeDo0ZBbw==","signatures":[{"sig":"MEQCIHBcXtTziKZykZiHncvQzbnNKrTp7O78skz+wbSjoZKBAiBXITFrkHrQ/VimDiVrFgoLhrJNKUtdCoiYjgUS6bkJYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyHbnCRA9TVsSAnZWagAAy1gQAJWGt+XsfW2kOYwnUf1I\nOjwei/6cVjdxhfCkAyOsvz5MXJxCJMM/SG7h4j/yxKhItFOqEWaN/KQadyro\nM1AtmqcMZMZtwmreSKa83uLCIbC85KN1ui6IqOJ1dvEHqYWbPwpIlKvtfmKn\nhOqat7ag2j2BYO/cjOlaGWbuZbkylXL1m/N2uPH+TTvK06ofmRiF+3jefxro\nvvDVxh9t5vmzZON/V98Y61KYbSULWWyPy0FzmTxofLnzwkmYSRREi9Re9t2y\nm/yLIzsK7t2I/XQO1o7EBrI2KWGb4Ru3/iXbY2Cqoklc37B0/QTah+o/ykHM\nVv2ZwPQuMHOPQcMzj4L2/gOpFMrHeDRnFqvLM+pbUkvkr9aRjNIUAEOk3O6F\noKPCqha0xWKJXdR3nGU2rQUcQlKGymUm7feFCG+XYhgkROPEG5gwrDbapScg\n5sRgr1Bpf6CndZ+tbDi9PzFbZ9LYXGCd88qpqUqJYET1v82fKBLbZeqdu6s3\ntQoRSvPSQ1s5dY6Vaa6uXnE5P+AnJbgTewZdo9kObh4kr2Dup3LXni84Qi9/\nv5t7vzYup1Ni6mvqBx4wo7si62pbMMsZ9DwHTRxOZsoEjoaqXjQXiqBobVkC\n6wP2HbY8ab8x1OsDG0brwIWkzMpdLJ5X7h0JiFwYxpXaVSfD6GPpJa5yWz2M\nMgcm\r\n=nJdr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0efca77d3fb8416f9f2c42abe9eb23ebfece950a","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.18.4/node@v12.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.10"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.31_1573418727259_0.11901056939240617","host":"s3://npm-registry-packages"}},"2.2.32":{"name":"gatsby-image","version":"2.2.32","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.32","maintainers":[{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"bbe2b343fc281035949e3651f5a555892a7b1d00","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.32.tgz","fileCount":10,"integrity":"sha512-pzGkBgH55qb3DQeBaOHYN4n4b8njaBv5d1Om2W10k120vnDZgM6/64ooULTA1Ljyj9q2S7emfB9tyr6ooOaKOQ==","signatures":[{"sig":"MEUCIExulFSITPaCPusBUQTokuxvT90AkorVSllwxnAGYE5VAiEArN7HGy6ZUmAMYD1F5GEAQPZxp9IyVHngLC/INQrK9dg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy/nxCRA9TVsSAnZWagAAeZgP/Akcz1Gu9r9Ai/gG49T2\nLdFQ0stFC4ltl9oYi1asQB58dOekL8Ky/SXXtUVYGgp3TdvgQxOmFNg7ma3j\nUV+sXPemrwwlL1kOL0O4R43fGulW2IKNMlRxREqT0fDHUP0X0ihgeMZjkPnL\nXopab+lAEkPyEFObHviRLx/9EdoqbqjgaB8nkvdqqI2ZBZCb4S8HWVe3wBlH\n9LEKVs/EF4HNDWeKGGDP2dINNgwRbANvrPiH2F7VGGy0Postf0e0TBhxOEd/\nmcHmgZhez2pOaQVCFkmdpJWmceRstFXrx1ai6yqi8KjZ4LhGKmTIq2yVO0dq\nwAxZ5wWJsbiM0+z87PktRd6RUUcKiTAGnVDfJGtrCfccScnnbnrxsNIK295A\nTfBroU5UrRkknB86hg/w+PQiIgJSjBzdmyeQrqeNhx07MDGy6bqB3oCObYTj\n2qgsmVimA9W5Xz2+kJgWGLyTibQScIpqn36ALmW8S1Mo7J9uTl7fmIFTytfv\nLG7FS4x6rAqZeThjJNt/bvQgyFJhhrIZ+Bd57dfoWPbkUmhpdmDmyD0uys8t\nE/h+u8DjzTfgLX2ly8Y5wIdFU6TzWucmcfjc5H2CE+0PmUoDWImeyUWCsj/R\nHplcGU7DKVvM4fBnuHGD6fLJTfIu2kQNtlhLj+4QNjJLotkTrD3gCwMjckvD\nDKM8\r\n=MkQK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"27848b9afae08bbaf8ca640d8488ae766c2972af","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.18.4/node@v12.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.10"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.32_1573648880662_0.8393632187330835","host":"s3://npm-registry-packages"}},"2.2.33":{"name":"gatsby-image","version":"2.2.33","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.33","maintainers":[{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"130f0dec89780bd8b367b7eebfe296eb2222286e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.33.tgz","fileCount":10,"integrity":"sha512-Mt8l7DXeXuqIwiYefcvOK1awzs4ofE5y3qW1Pmk/IA8AFTNqwDBsu2ZqxxCfbGoyUXVuXNvDArq1QGMJel7eqQ==","signatures":[{"sig":"MEQCIGiHU7+nVHU7a67dtMcRPH0st0CQvBbKlWGPdE9s+3rMAiAET0egpjcExSUeIrDM03PkPdjpoaFVJBOrn/muG6Z8iA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdznDDCRA9TVsSAnZWagAAjToQAI3NMPGILpg0dda9l+Sq\nhA9sQjnbvp5S0DK85HJiAe7pM2B3/gLuiIYcoouAa7VC42TzP4/J1oWTw55E\nq+hBQ1TqoI6eBomy7PHrDFTMfhm8isaHi85I0nnM9R1fepYynl2R9SVqv8lj\npdxDS5oF4pJdpSUquwunrqQharsdkomi5wdRZebXRkVhwtm9u1YHJiuLKNqZ\nnmKWYvJMWIUH+qlE+5d2gXN0ZaYbj5BtLY603ABshtK22P+vmtW2/h9HQdnu\nZVTJa/Y0mYLS8zBmjSi/r1hif3fWn1y6HIC3QOpTvkGXmFhortYMg9Tk+zrA\nQYZoiZ8h9yF72FHrEkaTJ6h/5+E9n9/LdJCJvGpRPubUd+ksNXfyIstvn4O2\nEF/TmjuEQOcLd3em9S2MNsHrb1Y+CXF82Qzjc6JjZHjfLMO85LHjporwBoGP\nJJz3oCI+KRFuHI/HtBSf7uFp280/hGp2cfyUvSwh6czsMrCq/5GpXv0D7xzA\niWF/oQCYcTUCNKDmta2UPWBTNEBLXFxBtauhAHvcpV31BW7AMlFSahgZf37K\n2iosdVpGhsUX4Xm4scfnQ2d7nhsTQsvNbqNR2aQj4dRJePWjUmqtREfvqhk0\nmgt+MgI1DpDS+3UD5/JBIbdLozkgfVWtZhUSOX/SpMyq2C959fyifik8gCTI\nsjGA\r\n=rjGq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e6a30aaadc6949d125eaf4d16c8fb36ebafad10d","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.18.4/node@v10.16.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.11"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.33_1573810370516_0.12502745489179645","host":"s3://npm-registry-packages"}},"2.2.34":{"name":"gatsby-image","version":"2.2.34","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.34","maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"davidbailey00","email":"davidbailey00@outlook.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"bfefb56d731806ec63d5bd59e00ff01f552b02e0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.34.tgz","fileCount":10,"integrity":"sha512-eGrmA56s9QBSG4XI8EfXC6e5N7DajZp0SMh6RqmDY0hvFoO5/cchTAz04LttQGRsx495SAFhsKQekcDg5mwTuA==","signatures":[{"sig":"MEUCID+pBofa7WIlolsidEYVeuniuwFoxQLXwtgFQ1j6PbRRAiEAzXX1/FOrNE3pC/qyxf06ZA0zJ3WeNfSfNyvcT6aEJ+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3SjACRA9TVsSAnZWagAAvdoP/R/UEetCf4yNKy4PZKaX\n5GgaeDWh/DPxAtnUwT6trqh4V6594wOyNgg5YnFhUyZeF9ElHQcq11vPoI36\nEB49ah5J+m6cOihJsL7aCv/ySJdm7Pi/ftViIasCVe3z6Hy82+z/1U3ev/RK\noBR4NtCmf5du9jD6bkbSppAN6zB0KGwVKP/RXbU81lv4uw94wy/Zo7+JTFyy\nwoLbCrzrlBx1F/MbrIVREMpgDGj7dvwGPfnvV4QGH0hiu9ckCX4UsJsWryml\nTDggXa7FpNkINxERPnKRXeUZrgR75QTfJwPZFYVmtLqOiXnxY2HCB7LiY7a3\nxJG/eDsKFtRFHjGnRN2uy/3Y0t5MzPui+ozq6ieFNU8kEpJ3AuqtCDXw+UZe\nZz4Dqb5rZVZgLG++XET20uUGqZKfsyKzIn7ATxIGXc6PV3cpkgn1KHXgYVJf\nkD35eef37fxs5CtWHrU+viWmFMrogcTwgq+UnEpMzldFk7E67o99/z/qoV+D\ntpYprJ501EyyfciOMsFGFaXHo+oyYxrt51Q7ABuWoobUSkCnux78Sjh08gCs\naLKB1D8Tv5majem2W5D3gIX6E4NmU+/ueEWGpgR8D7j87xr40xjv2gBbOpqA\nkst5w74qSKF7So8R2Doqpn39yBQlQTPddd5TiyPLyRTQ2IWlSV81jJYNsVcI\ncN3E\r\n=vYJF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"168bb344d6a5e7f71aa4f3812fd3fb22ae0a7416","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v12.3.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.3.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.4","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.12"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.34_1574774971743_0.21907109949867598","host":"s3://npm-registry-packages"}},"2.2.36":{"name":"gatsby-image","version":"2.2.36","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.36","maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9fd6fe9f6fde62d1e8fb2cabe50bc51c40a78521","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.36.tgz","fileCount":10,"integrity":"sha512-a5a/+busxSnKUWdZuWvCrMybLpHS6czK2Ltrt2Xa6ZIkGL/bZU4KR6t5ku8iO91Q0u32ss81WA2JwUCcctVDdA==","signatures":[{"sig":"MEQCIDbMJXmn5xYo3rzJbvmjpNt3sQEy84om/NyjmCsz9iSuAiAFgq7ke4F13Zy48FPC4bN7YSuXA8P6GIMNEa+U+Feiaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd740LCRA9TVsSAnZWagAAQJ8P/0nFqCxHAqRiQJ+42b2+\nUbkz6KhdE/qvTtIOlqabBXQyo8DC9IuiS6IGsCiP2FawND8fXKi4cSQaBH9O\nJqTAhzBX+1g7+MF//P3h9DcSYG7ZrHwXttnDeK3KLQPNUA46pHbh9U4RMAIg\nW+m+iY+8fWFPvFwvik0JD3OkJCDrBTAgrjjl+DKFsKFgdK9snIt67rk9ezzM\n5SeMubMzM1bBIt2Q5BuUFkdZnW5HAH5gC/w/x7Iub2qsm8ura4fV3i7TG0lw\nAPndpR61eGEOvas4CtJympfrWvdJ5+IX9O9Dg6tk84ocerXjKz3airbJ2oUN\nXLlHcRgCaAc8d5HoXvGwy14BDIikGy/cltt1739SehUTFyQEl7lmmFTwiRlP\ntdA4m5Me2aAnoKcWL+ru4c92gs3HxkjkoQ8yaQbJjOu/Y/KV9ktsm4bHRVE4\nPKIBE/ULkzQ2JSu+nh7M+vY9/tF1lvOyy208s8XGZcXAKDhVcLx0A/hzTlRU\nGJb4KmRWmbfi+igXHD4ETrs/j3OkSyhyPaFVy0j/0l0cIDECzoO4JGh6GDkq\ns4vI2caf6jyMfRtmiZafUV0ghiSy6yT0Nz2mOrNp+sY+TI9EIAs9cwovv1Do\ndScEJGq/J2ANRGYUiW78+BRR9JqHcvHbU7k6yQnQ6GtMdprChPKBQhpQS6By\nBNJl\r\n=zliV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a9e404620b8d855b8c6f8ded028b93dab6071ead","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v12.3.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.3.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.14"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.36_1575980298866_0.6563575516565119","host":"s3://npm-registry-packages"}},"2.2.37":{"name":"gatsby-image","version":"2.2.37","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.37","maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"dc7e6b15860e1d505925d0a08cd390f7d32efec0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.37.tgz","fileCount":10,"integrity":"sha512-nm1PgitbK4ZR9YQ3mTlAXDXXNM/7JT2LYDFqTlWe1y78nhA6RfIfm+4bsNH5HCEUaYhZiedpkqguJiIYWYPsLg==","signatures":[{"sig":"MEYCIQDS1PwZriBV9e+dN5pWxdzvFW7Kx3uteSGuuGeAMFXaswIhAOHFyl3ePiy0PIG11wTeDLCpBUv+oZWUb5f7yfs4mZqU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+OcBCRA9TVsSAnZWagAAIdUP/irZh70KDLWcZNcAmWBU\nonMtpwj42rCxggDTfY73lW1X9q2go+aRqAijvTWKAcCgJmr5hqOBlSiddN4V\n1uKIo8hoqUGRO+LHnoHXteCa+4ZgyBy6wpaHbeOPa2WTciKgruZ6JPePI0QU\nsbY3/NicgH0OaRm2zf9aOW552h/WXUK0DChD8mUBB1MtqHe7CsjsWXGabt6f\nTdAlDJxUnQkv7S+zq6uJBBSEN7HP+WBDXFqbgKqmlBW0VsaNJpc5RVFQi1M3\n1UbfxTBuuibflnDWQFhjufn27FcEeRaiueYTtZlp3GWnXIgJx5ovsXdRHU5M\n5A2ZEN+9Y7F9pEBeQiXRKYg/RFCE4g//R8iPfy9hF33nWdrTe8p9/iOwUqn0\nAapY9zV8t3C9lp4K+Ty0/ZXE0+NOJD2hzKVYYRM1jZeCXbPKP0L1ik0ytWW1\n5kKmO4XwtzahBQfBxsgdquOIBliugwPD1qibcUGymffdQb1gcNBSVQtPAI12\nUoYecKP81JxleAFxnIK4tOS/VcCvTXv9I9GW0S0YCtiUDO14+VeKiElo4lG/\ntE2p+1n0KMEVoTi0dIkQ3uqGBYZvUJOLfg/ibD3SKjoEvVp2Fm8PvxzGKCex\nFKpN7Y6gZiF8TSrgg+QQzAbp52owfPmn7dNsBUR4MKF2e34GYUQPcFYeus6r\nPXXi\r\n=y7/8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ce709866ec1a0dcf513d6b2ba2833510b3c38a93","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.14"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.37_1576593153017_0.08987881926707142","host":"s3://npm-registry-packages"}},"2.2.38":{"name":"gatsby-image","version":"2.2.38","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.38","maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"52d970845eacdc1f91b2ffcb33c2fead5fc17b60","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.38.tgz","fileCount":10,"integrity":"sha512-r2g7hOwJx2LSZDSrk6tz2O77psC8VU5TMPbiAxE2Hw3RwkK3vII70L8jsUdZoifDcFnT3Xr7M9GbBmp27nfLAw==","signatures":[{"sig":"MEQCIE/MU5RYGbKetnOqxTuEIGktSQkxO02/hdAFFtWWeXdmAiBykU7sGcIyKaawihFmaBccU6SlrMjfwurSImlObVae2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeF4P/CRA9TVsSAnZWagAA4osP+wfiYv+M3Yly9OoPJ1A3\nc6z9YAzbGM0f5llWpQYd4zA5IOad8ZRMkf1QyICHa1XYxWLb5bjw6SQDKV6k\nDh5zg8+beRZdTsczzKK/RWQJFW6qDZcwYtW3OjCzNsHGJxwLo+ikf+LeesfB\neMWcGSLwxF5Khivl4/nSpDUXDvUkb68/1ZSP8G2+hQApqob52l09yvWt+C9p\n5Y7rSIn1IFo3LmYKdPQm/At29v/eJNv73Xb1EoCsmXIjthV5/g3rsGaZ9Yxh\nJxiAk4r7o5XFlPMofOA8Mboyj4dCPrQKeOudZUjT00wy850Voo1WzPDYO9Mk\noJtEhJAui3Rdv6+uP4LYpHZfptbbak47dMDnxVB7jp+RpR1beklnSB1KTWFf\nnzBU+MfgzTIGp7rcCJJ/yU6CluEhi5ujHPsEkm3Mr0t8FxxBejpzDL+OkHrJ\njlCFMZ115BUf5T3PVXPFy6pZDvK/gEtrU/B7BhkXqWwvSY+LePaZlmiYjUjf\nea9owsr8EZEnM3RNsHix3MbJq4y5Cfkh+EAWG6JcJEGUnurcOJbavzizT67R\nwKl1+yoUyI9GBd7Fbf1a1JR8a/iQU192NdPC/WXAgiRgjLrL1LBqKgvZRO6d\nPTUS0BtVbRDe4jqXudC9+1jS0naOQGAuBqVno98ZnO9KIFO5pke2+vskD/Ey\nAWyT\r\n=Dfae\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4b6e778f75f531dba4f7dbe6c0af7daec1deac2a","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"tylerbarnes","email":"tyler@known.design"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.15"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.38_1578599415486_0.8824967722189168","host":"s3://npm-registry-packages"}},"2.2.39":{"name":"gatsby-image","version":"2.2.39","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.39","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c2982152923409139b03446c58fbaa99c15e47a2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.39.tgz","fileCount":10,"integrity":"sha512-ypb5J+ACeHoGhyw//O0ye7z8sm8yW/MVqpuZ+gkCyXWt3zexp4jjHqV3uDOkvI9fPQC/QCZLXepE7Ve77iAeEg==","signatures":[{"sig":"MEQCIAG90V+nhHKHf7Ug6h6an57wCLUiy2ORThEBDiklwU/sAiAkp7r+GRK30JtpSnyZbxNflZKZuFq9yuugaF8W4PToVw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIaQpCRA9TVsSAnZWagAAK90P+gONri9+K3xVSqX4kKRI\npZD1nO2WJORPADENg5WqDzOK2YeAHN5Im/+Sp/K6MbuhusOBfCK8/X5dE42q\n5oLnNv3Qvcf719yWuFYMsHn4sWvasJODaD/tPvqC938GgfQjd8cF5S1x8KD1\n0YL0IY4m5byrjj33z8MIajHxsiV/yzRJWL4ksBgCfcYBTl+WlXikgkAL0E/s\nPd5b1TLO/1eknc3D4QSWhfYzlZ/3TINRApx0G36ix9/UHDwH3SKw6B8tpSVz\nL/z3oURROLrqsJ1KVkLiumg/BXZ/OXeSX+7Jy6MfLerwJVkP749qq5R3J3VW\nQo/h/bpZPZbeol8Wkx8s0yZfScK412u/3LQAfpIGZEzKG2F9NSTxWPPBmgHD\nke4SrImUlriQDJxqkUTsgT3wgFPJJCtxqdkvqMjSoYu3QcHbljIR1tnkLpjG\nNPtCYtMItEvSyDBUHJnyK/PSK/BDsw7Awc0CbfNxN9qrGf2SGs2f91Evx7mc\nXfYri2gXuPkCuWX9+zmV2yfccJR8wFx7Ew1A05zFkuh4YmxcJ21bIUtxq2HO\nrKE8Gpk/pVw6EeOcTwXwB39uvKneyhwqx6AUvfA/Z8lwEKVdU3KyqmXEjRXe\nvmVHkFkHlRV+RsnF+oqBValSy1uWsT6kIbXdb9ZlD/XWOyf9hiaK6tf7VLb1\nZ69b\r\n=/clK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"df386bfa14eeb9646832abaec8194c3358076201","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kuvos","email":"npm-public@qfox.nl"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v12.14.0+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.14.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.15"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.39_1579263016741_0.69987556975984","host":"s3://npm-registry-packages"}},"2.2.40":{"name":"gatsby-image","version":"2.2.40","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.40","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2ccb965ba03ed7456a87f42fe0a04bcaa6367b6d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.40.tgz","fileCount":10,"integrity":"sha512-K1rYYMu36GSJcodFw0Z+MSkxLsyA5J5jx3HsMFcTTWL9m5yNdjiPxaepx23ijNKQ7sWvGdsOfhCciSnMVz0AFg==","signatures":[{"sig":"MEYCIQDuXo38dAlWxPmr/lrrTYhcHo1s7X9kc/ENGN1ExpkgzwIhAPxJujnN/QiGC1tXV99tvAU/yueP1xYVfsHRtWUGF3m8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNeH6CRA9TVsSAnZWagAAv6wP/2gnWtOvYAOFhaXLIQ5e\nfM8xqz/o3DOoAGlGaZEN1Nsfe23T/fB5erZm+CytzSGjAHhSBymNJ5ouDrHN\nI5+9p3+pGTtaNpQ4uByN3AMyt9vWHB3N7zzU16XASDEjZqiZW8p1iBkCng31\nG7ThWAVwxxDTdp8jxQACJVIA0NA77skg0wqye5qcRuTwWdCKB8PBIQ5n+maw\npvleVBhro73603AoV+roiby+5WWB3HIQjeAE7s4M/v41mFMCGrOZC7cOewVY\nrs8CMNZr0V6wf7lNlXYV4it+tMuWSMIImbMmGhwattSKcbrIhaortKAtJZr8\n2jP4NSLmgyjZWbkaE/LIQkankScAPGELZDePaMlANRwart1WZa5NxHIKhRtm\nyCqoKKkuMnYQQU7uP3kNYKkuIR/Zuv8gLapw74N8A61ZqZxPVqdQizX2UL6j\n1qMZ/N+oaR/sG6MhTolx+Wfw2adztFP0E4ih5jubOQGKbTsqsStq7/80QawH\n/QIr+MeLOaB+PzqLIEdQRhVBVkr2Ws5nPy+7Q9NYo6zLo2XQKSt9FyOkF2im\nM0IrgFe+BVGUhWCJIbpy6zk4YY7sg1mar6IRExyYJwwzQrGoJ2XWl96QBDtN\nozb235DCZGaDoJA1k8kJjfMQ6RM84ae9jezUeHuO0r1iNNs9jYMrBOZYZhFH\nbA4s\r\n=xPhH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b349d1096e65f2f3738e7230184d288264b03341","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v10.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.16"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.40_1580589561954_0.007870631011529738","host":"s3://npm-registry-packages"}},"2.2.40-pr-20741.212":{"name":"gatsby-image","version":"2.2.40-pr-20741.212","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.40-pr-20741.212","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"87c7d154a2120c7d2e11219c4887551b2d7b5c8c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.40-pr-20741.212.tgz","fileCount":10,"integrity":"sha512-KGemmdI+wpqd9CCecLDu5kZRQh7pVLpxG4PuiXhsXSF304bvdYsdnE2vQ3gt4Hc4aA1hKKVDheg0xVPR648foA==","signatures":[{"sig":"MEQCIBtHcxHGpGKf73Tt+MURtCtRaf+YzXWHOmf0LRIS4+QrAiBIC3losciO09+peSXRAuV0EMhxQQ85s4Sjp4llifG3kQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRCP5CRA9TVsSAnZWagAAqzkP/jzQyMe7KxDKkaDw+6m6\nmarnuZI0QGrY/r4u5dtFKd1SegZxujC3TVUmJv7b8a5BhqtcC4FYM47VB5Kq\nc68gOyUIbK9YfskPz81VljZhf0X8ycF0XWXn7ChpJyUP+4c2Touh/8GRxqnQ\nDZxYk7IOymnn9sT4WcwYT4v6mfRzWRepRyaibVjrizHJP5VLrjc0E1F2fI8G\nBmTJ3VVDpmQLuERI2LbeYXeIXVc1c3QgwM/xMX30eF1VXtP2Dn+KM4n1Ma35\n1Fjmdc9cEw27D7VLFzFf4qTZbH+e1ufNDe6qZz3n5Z2IQ1uR9cZJUBZpG43q\nBr01RPbpqK9Anmf4WZoe8m5wjx4gV6wY0M//E+pQiJJ5Fzsj4U5+gahmVX6d\nYHUiklb52RjbDT+My5FLGGctmjkHGufewxuibRZi9dmgeVr5Oh5+P1uLOReB\nw9GcLOITqvG3r6MY1VhJYL1WxDG6PucyRl0vhkTJ6I7VNCEK796R5DZW36MD\nH4EW0D/TjHGdW8XW2N6i1GcilU6KwpDrt/PHehfJNDXshTRCj+U0NCifdLHa\nznajQpU6q7hpu4kcyUejjlDwdBGhMHxeMW5+xe0XsZGJ5Xw5YNrcQBiV2wdE\nyxm+/nMgRt9zEdneIaeDpthi/wv2T6vdFze1xCyE0goVF42xSRvsuE7joNDq\nZLKG\r\n=uFVG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images\n- Strip all unnecessary metadata and optimize JPEG and PNG compression\n- Efficiently lazy load images to speed initial page load and save bandwidth\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads\n- Hold the image position so your page doesn't jump while images load\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\n_Links to source code for fragment fields of official Gatsby plugins can be found in the [Gatsby GraphQL API](/docs/graphql-api/)_\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc)\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","gitHead":"66d788fd2ba96df3abb5eaad40e2675abdfbf318","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v10.19.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.19.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"0.2.16"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.40-pr-20741.212_1581523961264_0.3729730752028655","host":"s3://npm-registry-packages"}},"2.2.41":{"name":"gatsby-image","version":"2.2.41","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.41","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9ce085798587fc95ffdac1b400153b45d37d48e6","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.41.tgz","fileCount":10,"integrity":"sha512-yHLJ8Jhj3dqyOu5IUyAFgPiwgUGdGoJXdafwOZoK/gcmkvMS6g+gP7mYrQVcB3KHsFI0IRfJGwI+tZgLcUypwg==","signatures":[{"sig":"MEUCID5xmd3akS2rv/mEdmhQNx27y9BtojuKjM9S2HviLPtnAiEAk1ZlKQJdtPrW1tao1nuCCn5MLhIbgBa6y96AONkF1Ys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRU0rCRA9TVsSAnZWagAArjkP/08Edo02PQxdDp+MXd9V\nc9QHc7MZV+1b4k7/3yAyeD79iDRpX1alJeEy0optagSNQIzqwsR09E44hHep\nzYzek0kR5mgYYrFPYTXgx7t8AJPcByzi+31Q2wWXSz1AAOvl2IJAYA3152FA\nRdI0mfTqN4c77Ewgr1qMwIW8CGb+/1yMGkYdz7GckThmTXtM86tPH1vgUoUw\nWihYH+pmPce9zARTgTHSQXpTocvV7I31efQyK4lmxWJRaDGyxrVHPh+EWLvA\njb83RaG9Dp7Pr7O/gUK8Yp4pp9a1u/21L3g0g9qK58u5iL6V3DtTgtzt+Nev\n2i81KczLpXpuzP/i/kz1rw8fK3YNqDOZpXvyVPeOC0DYsmsEnc6KzlXDioOv\n3AUGXM8Q+1lkwqIALPwRPP7vnDQb6ncKDeE8LNZ6Z/shKx6TzB0ksLeae84m\nDUo7q7m0t5wP7/ZXXGt4pqjf9Aja0l6jDK7vwFUjETplN+/QvW2rhOf30tci\n3WWmFsmSFzbEotQ5RiZQ7RBHrFJg+/9ReWHCVhLRaEjXLZfeYeERfDguvkPC\npNpscmLu2DYQWzeHZL9vufarC+q5uJ8AfyLPmNrrzgSOc9DzP7mm2fFmcBDT\npWhhtEwENcgs/PX0q64krJG12uoKTj/CH9nEdUyR/OzrmZtVc+Z4O1tpNqC2\npRaT\r\n=oXKo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"717ee6eede217189820af2a644706a257e0a9623","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kuvos","email":"npm-public@qfox.nl"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v10.18.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.18.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.16"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.41_1581600043421_0.24487027934428673","host":"s3://npm-registry-packages"}},"2.2.42":{"name":"gatsby-image","version":"2.2.42","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.42","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6b88bba52e2a479ae6a94cac13a93505164ec55d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.42.tgz","fileCount":10,"integrity":"sha512-0TvzQAVXt8LKX1164jox5zTWWr6XWkfTAmGVYmi2YEP9i4UmK40vfF9GVuEwxo4mgtYbspPcJMafqyZa6fsRHw==","signatures":[{"sig":"MEYCIQCvXiBfimdG3iQM7aX4sRCu5075ikVxtMKPCFC1XQqjygIhAImNOzenT0slVmVhB6apILaCmcDV/szun9hVwAVxinV6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXMAJCRA9TVsSAnZWagAAKIMP/3yXV7Hb6SwqzHr0C2im\n6FObtkHxRKc9wVpwB6XC/vA80OZ0zaRF+V0LetWjVdSBJOSKOAx3+kDqSbQ+\nmDlaX37YcvqAtnWgNeKg1HN/QBrhe+TdL1nnRXBGAkLx9vHEnFL7U0qAuhXt\n+G9YV5Y8d5U8qpiDZvNBu2j5i06BZCcMPSGsbNSYPfXwE/CGUKXfmDBkPdt7\n/YTel2UMHSq2+gC13eYAG16am3nxdRl2jU5ANZpOu6CjiVbfuXOqg1We/C73\ntq12Sqx4JzdmbXTU+L4aA5FEVF2NLHDw1ZXN6gB7hm29b7k/wA5sYEHd7KjI\n59pJBDeDgT5BFMiFlOkcSyYksmN8UH7PdePWQMmflXi9GsgjL9fIFCFGdZjf\n29PdAsAOBF4KdYzQsRO56Z0wIbEzgbtiMAZym7Y8ecqe3hh5R7XLp2WarcW1\nrlYRQB5LsxU8URDb4Ds5rAnsP7dyE+cdSXPTGwVxEOMG44ElqDwrH7ZlNQBN\nGJ0xDHEimEeY25NFsX58dKFvZtWqad1XHj3a5Gx6AKfBveR9e3z0J/6QbK/i\nPBP7ig/0jhmFpbm6bsiB9ofxVAHqMGBss5w61cfTE3W0yNUEZ0RO34mD2Ywe\nA0Itndpr5fYoNgCthG4zthb9QLs4F3Giwql0Yi2OteulBWOgbxQfcyunBpmE\n2q2v\r\n=fuou\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"455be1a6e2cf7cf4ac3c71ede13c1236340399ff","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v12.14.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.16"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.42_1583136776604_0.37715849676915036","host":"s3://npm-registry-packages"}},"2.2.43":{"name":"gatsby-image","version":"2.2.43","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.43","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"af6fd591fa4a08b6ddadf5f40220bc5066a8f317","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.43.tgz","fileCount":11,"integrity":"sha512-21UpYpXXax8AkDH3cYOeS2P898VdMGEb5G5kG4BysEh3nWbxpTpnvtETYW8Ps+qfzZL+W604JrXqZQ32m/F3jA==","signatures":[{"sig":"MEYCIQDX0NSHtqEXQ0pi7T8XAkmUZ8gtDuAKOX7AX2hdpReCvAIhANnqSdIHfkBbh/Sdrabr1TwX9ceg+PhjA4xz2ojUdkRU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYoL8CRA9TVsSAnZWagAAttIP/3qSLB32CgwTG5Q/+jmK\neCXhfIdCozc+9xOhNGdgfnWoizBEUwg6XhkW2dEkbNT9WkWxln03MtPy+Xr+\nqLMHMaKTYhN0S50xHaRlfdkeHPDltWEQz8JH00mvAMa43xJpvArXn2gT0pgl\nbu3vyX8h+2Xjrb6+X36QgpDfHWkQtsekuLyDNKFV1zNsBeUWWYKEFqeYAfc/\nOgIQQmhkj+HcpBIHavupEiyI/fZoHw5MZMDUTBkW/lbAIdeNNbrq1dBAUtU1\nZk1cyJx3JXLwijyyWmWeABrMidiDqxFGE6OsJfyY970oUocftsX8GToWn7GY\nBwcz2tSoW0G27WLwxDiEbyFYo24XkVZ9SDDPDUbBBa2VlnBEMZm9WuXsidnA\nhU2pMxRxaOAKIkh5l/7Skrq5410aLuN07dIpsxWPWoaAMq0+akCLonXAxLER\ncSqI23UEfgHJXgBchQV/wahWQk5VpWO+bwIKKCTaYdAzyZmPuf+/ZlDGeUPy\nx7YLE+b0auWOrf4piLvD4gEL2eg3BP3fIYjGVnS7XmSa5rvFrn3cT1y8MfEo\nFXebc1fWF2dvm4NjyyShN4dtMwD969cBVccF1YiH6l/V0HEb/EnVDfkwNN7X\nrqOmQtKVrYrpv5t/YQKWmY4ztYjmZJ1o2WFU3w5Inyo6AQVSXwdyVS9iDMvb\n01gR\r\n=Yko4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"92fe0fe9223d6cbf7a54c769501dc73a00106ed6","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"blainekasten","email":"blainekasten@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.19.0/node@v10.17.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.17.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.7.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@testing-library/react":"^9.3.2","babel-preset-gatsby-package":"^0.2.17"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.43_1583514363647_0.3652790238703416","host":"s3://npm-registry-packages"}},"2.2.44":{"name":"gatsby-image","version":"2.2.44","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.44","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"cd9b792f87c84e051d8b6a63f74376403c99a0e0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.44.tgz","fileCount":11,"integrity":"sha512-lKvBVc9lIYF1vrQ9b40Tmd5oOGTz69UXFT/gVtg5Ly5vVmDAU/4RdYbafQi6/KpCZRkAdO4ogtj0HB2YFjqfrQ==","signatures":[{"sig":"MEUCIQDplfgRoNcQvStrocj5nkcbaEa3Z8v5QplkN3Yd3nAWVAIgKHyPvGffQmbFqurmToFXwpCh7PG+C8ESFOgQBys/Qk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb2LVCRA9TVsSAnZWagAARPAP/10O4TUiIlwTWrgkTpOW\ntclirz5gLF+Bfe8j5fGj7+UXvBzVLhDU3PRW5h8FRRdUe/USYFGVEzSHO8SM\nHUTuQjmS2cJZppuXEaSboQdq+MyIKJ0U/krhrBxyV8kpQ71rrqd6lAJfaESG\nw/8vswGP9XAFH6062/P3Q02uX/op5PXmykgVzol9hVmuLIuA4F/t/OuaXzrX\nlAINNsII+WimGPAT+0voE4tVzVUANq2J/XhCzkCZ3yJ+8eSXsFx/OyAYHqtq\nbZIYVI05o73WHDlLITG0NmodLZGx234zaftd2nKnway3EH0qZ+mL7KpRlUKP\nUCYX5o1voX4Tm/kJfdoPuqKMX2+0PZfeMnm3mML5NJFFzhEmWJAl7Y5Shxw1\npCOoDXnGbTOQse6YNoWZ/r3C8K2/GzUzeD3IDnS+/A6soLcTyBMDTXo3gggv\n3oFiGrbMrQs4Aa6EJ+TofCKjcqCtEwiLcmwvVtmKgVbQlu+CpEGbSRllKiRi\nqmYCEANiRJBYcfDGmFh3q62cm3o+6priiCF6y61sEiVzXLvIEr3fpYh0Oddb\niibm/h9aQ5wuORqpM6HsdAijCHj2UlSMjOXdNTANMLY//Fx46wtQ8wLPBmi6\n0PAClHjHNCHHIMcFzuEntF/uRHHgsO7vhawkD8oam65Z78R5SNa+NPr2a/zn\nQMqn\r\n=5fCF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2ff2ba395a86407e3ccfd1e010be7408a4817a82","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.2.18"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.44_1584358100590_0.1335211329691084","host":"s3://npm-registry-packages"}},"2.2.45":{"name":"gatsby-image","version":"2.2.45","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.45","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4cd178c7d3697b6a87ee33d1c088cba31a226384","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.45.tgz","fileCount":11,"integrity":"sha512-bJP7ozqginTbNjakPc8tfnJZnCXpGzUvfhhXQgri/+uO61ZEU32++C9OO1z7sTjmkLOeiGDJQljFL0Kw7SXQbA==","signatures":[{"sig":"MEUCIFaA1ZGHYB3qHWNi9mhxYCf5dMciHA6M2gleS38bAr2wAiEA7vohag8fKUYYeakVg2aRPZO1ZPPjWkybsAWbVtC4pvw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecp5aCRA9TVsSAnZWagAAAT4QAKAUZT1Tbx4vOvYjjqAk\nuQ2v61FNOTTxWogsEVo6m4BRFTriNl7DMqkPIolP0uEG2Ns+Lsp7ZYgfBpvS\nFfUffzi6an5HfkwzlHyq2PbvIRJAbmSREUOXDAJYBt7iF3lGTIzZEhAX55kj\nXU0hbIsTHrUBUfRtgsU+1kr/9l/H/haL43QPgaeD36VYAgmshvY6yU4TA90x\nk88gSIP9+3F58BT6cTOSLq318qO0KDUfSBfzd+LeecruVi1ymKNRx//wOZ8h\nK9QiKRKgDtEq6cAuRFLtez6wdHyfOfMSQc3ZGtYwZ4rUAigk06YzPi7FOa7W\nW1b4WY8f1r76Rtd/xHPgR+tUp9f5yo3bdTS+xUsXrIS8SrrP4yzXd7/uKj0g\nLeRc43gu3qXn2xTSYdBuLcTKRlVzvWsAo2rmMoeq0Mm4q+w1qUgvSYNCMnY3\nHnGbKMcNd/xJhr1ZsrafQAZFhtgMs/jNbhvH1RTMUBb3YmA5EEehSvkAgmSO\nH2jV6dWvqQsfRs020gVrTGvQmc9K7z/y2WWmrYblpivhRruJXccEyaRJUf+q\nnVv0wDd2IjqFxp8cSZgsZRYu+T/gaBWtzZV7hzmsWwM4Ags8p8rGQSpLFWC4\nRPkMfYinvQjlkK0FjaPZfiyt2XEczRDliWwDUnP22nqK2/HYiXIz/Zk6yL3W\nmaeg\r\n=jQpY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ae905c76a85b28eb2d8e8db9bd850bde3a35a683","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.2.18"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.45_1584569945658_0.5957975783554359","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"gatsby-image","version":"2.3.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.0","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4533b9dc784f97332c11d78bddb07fcaacd41cbd","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.0.tgz","fileCount":11,"integrity":"sha512-X/ZAGA9pejQNwO9JpffgWXwlXqnMUQhU5Sk65Q4krs4clwBvggyZIi4UWotWRUmXcy7xDDJTydva+O3Z65zQ4w==","signatures":[{"sig":"MEYCIQDdDnCbGhBu4Xdta+UikFzpjCsvTCqoSIeWylQlgha6kwIhAKDD/NawwMWiNyoE8i7BcA3/YGJcdZiCs3o2sCNYkeEP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedIl7CRA9TVsSAnZWagAASP0P/2yQq6R1V3K/n5xDYRG0\nK2m335NWR/TK+aGsHeknIW64FxP+yxb73IgChbbSYNiaXmcUFSVa266zIeyx\nirz/na0bUfpjyvmWGPyhsxtoFtcLcYsmTAp2aG7eIMZui0/oM0oTBJMfBsoD\n/y+egQBXgQ+RuVklDts2VbirFZFcEdbQiatxXVrC4gHZCoFCeX2Oun/vgwo7\nEvwNREvEh2ytlprluUnkPbWZx8SyDKxPcdo6KA6G7QlUkQEWDhCbISaPaM5z\nEqCRYXlU1Jze+gyh/7YV1I6Ef+CkSTtcGytyTrLqOVGFYwurtestAKQMBDC4\n09C3L5Du653lWfJvFv79+uaiRU2JylzdvlvoNMArW71OLFVJWUjbbs9n2zQ4\niH9yxLMUllcYBwRMqwIWXkHNCpoIy/5NerTu0qpsSRHR5z4AIWqy1/cTCyMV\nfZiMwL7HLPY4PLivc+DGPIZM/YNstP9il1p9np4ZlERDj+Busy0+BMWrEQb6\n7qukboixO4F0txKcVw4ntbm+WwHcByTcyUmfTDVs3LBvKFXlQEilBqAAvEUP\n/Sm7U4XvVxzL+nurYIZRH2yZbyrmmvcvo9knx4jVeBfwkEK12Vcl8J/tF0nT\n3O6llHeoHBcskGq6lLyZqa4W9MgQVZQV0XDPGEFnVlajOryVbXRakMxz4htD\n180J\r\n=oUgF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7f197c0ac8f600a9a748992ffd5ebff19424d38a","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.3.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.3.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.0_1584695674493_0.3539123326896494","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"gatsby-image","version":"2.3.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.1","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6898e03a489e9b43242562d70079bd8ed10c5d99","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.1.tgz","fileCount":11,"integrity":"sha512-VCJIb2Sp7Dcql+seZ14pqP2yL8oUlLin+HNEb5u8hcn3txkZhzIW3zwPQ3UwfPvi9Em3gBsEClCR6TQSw96J8g==","signatures":[{"sig":"MEUCIQCY4N5rVR1087f4Wh/CSbmwH4zAdkjzc0UaFIW12tvCcAIgWt0R2JC/JNeiIhndR9BgkKyRsTVzNXeSKCyeTdvA3uk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeNNTCRA9TVsSAnZWagAA1l4P/RQhbYUddusp+saYvkXx\nSu+Tea4fQINq8jseZrk6F7QuElgHPn9i344jdYftgtcXnKk0cts5x79FJXXT\nHRhCDQ3mmSOW3kPvx+WeP/ML/XRdmtRb5nGj+fzf4rDa4J8elbEmG4N2/AwW\nffV+urjkmK63/XM5//0hYPQHBteB3xfrmPqF1T1kWriWe4eglha302cYhRkU\n2iQmfBXArwP0DVpSGwNJsdXukGYqZZElE83YN28U23pC2d50P2YLYG1YpDtG\nRr08/XuJ5EYHE6ssp0Ih+xqe8ac3hybaTE4mCbR5J2caxq6skH9E8NCiUBwH\n2LlZl8DjjBvVjaPNa2Vn3ANqchaf9S15xT0oueZkVk8iqh9wy0ZoIuUYhJyB\nUw1jd+erB8lSo4OEO2EYDxulEPis/X6LuGtJkLuGTQVgAl5ulbKgbPNycq6s\nlWqBw8BbV14PjtuNiwT/JU9M3jSsylWq4H39iq9t10ZjkKy2jyq3Va2vxGtf\nHgMruxX5Xh4QHQ/3Y8PzOs53YZ5yf3ND8tOC6a3xR3kBCy+WQWOXg+ucBAjF\nhp0D5TUO7mMEX0/nehKS6/7nZu3IG/aY82QWesNRmtfDbhsrJhciR379D2fo\nu9kc6Tms+RRQds01QcMCt0vurtivSUS2UdKovCWDV+TDdgFAPyvdcJGbCvU1\nKZmc\r\n=OduC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"10722585e3544fd7672c6a262198461a6968b0eb","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.3.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.1_1584976722436_0.5974305780195583","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"gatsby-image","version":"2.3.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.2","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"12e6cac9d6cc1a8152a35693ddf7729d5e59759f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.2.tgz","fileCount":11,"integrity":"sha512-xaFo2Bsox0aRvRXORLyYf9Rgzp/7aBR4aSmb8CuLLGs4c+IbeSlK0XofkLMZ9c52pxijVRfO3WLSVTB7dtHv+Q==","signatures":[{"sig":"MEUCIQD1dM72eoPrTav1u8DzwgBXm2Lcb1wRumPUnarQrg4ioAIgXjoTpG2FvsTO7xfv+EhVYdy92CjOcStWUs/ZtzD3yiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejOEuCRA9TVsSAnZWagAAhi4P/3dtTRxWYMnbmHP8spRn\n6XhOcfgq5E/mNdTp2HBW81qn+wlOYiNT2oaJ+FD+aqRImgoRIBMG08tqOFmu\nMLwoUJVVwb+pRzvq1YStyg3OKpz4ITZSu3K7hIjWubTzFyhCAXs163ac8Jfz\nEysfm5K8HiH+xOt49H5gIHD+f1DIZI5U/c/SDtxLnCySwxzpBmY3+67yfEqu\n+tZm/sNPkMV58JObPl4e/QEgw/JpZDyVYhhrojXR9kliPRyJzTw36g/7bekN\nxHnrXUFE6S6+2KOWXGKdCVoiCfAqq7pQHbTe6QKWw9U5M3eKx/7v9gzjs4Nw\nwOi43fm+OvDFfdFPYinWMXvfSKLdG36NKiygcVzt6dRU5Yvwc6yNtbM+tDjI\nTN1NCF6Ks4BcCvzsYfelSajxg9OeiS/68yARg9PRnw65meUE90szhSAbGNrB\nEZW8W7Geqrc+Sp7es68uQQ+zozLhG0szelDCEZU0DfP0v8vqr6g/FNyIIYa7\nSgZPwEiK+dtw+n6DLSnAsA0dt2oKdKHorlfCQHCf8jvdn00j5o4+G8Tz2K2M\ndIRBRw/V7KG6+WLriVwcJFTeGGiv2uCXdu8m9JXpp9vUvRz1JmgwMFSEkBeL\nZ9u6IBxRqUF1vGj1WGhETPicb5cpv40iq4/rtrxVZiTX/NyEGLKpPGEp+ddM\nq9uK\r\n=pFkI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"cc6dbf65f0f3c3052c922383f2f7f772f6cd3f12","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kuvos","email":"npm-public@qfox.nl"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v10.13.0+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.13.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.3.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.2_1586290989945_0.9990801153362068","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"gatsby-image","version":"2.3.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.3","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"1274b01fab06012322f72e51ab8148cfcbd06125","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.3.tgz","fileCount":11,"integrity":"sha512-t2GVOovSyPz7q6QBzOO1iAqo39KgR1gi5AhLtRviO/zjrVIEqbzO2MJ8BNiP670dTJMwp98fP0cu8QtriHGfpg==","signatures":[{"sig":"MEUCID8eVkR9OmFtvb9yDSt5QJrfPNoeZZ1urAmSINf4gyzaAiEA31gKUhf+AMqXeEoGI+GFtyj4qG5+IfpQG0umXvWkZ/A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemHuICRA9TVsSAnZWagAApKkP/2rLLUTuh4CAYEKjO2ZH\nmgAJ9yndQLc2B26jMiB4YJOnlkgLPPmzerw881zzu1q0sO+/uoruPhbLlEKE\nptVjNgtVIaNw4sdfEsegjTdIbWsSs9OWDoxWcEgMTjCZDc1nW2KgKOhJGcss\n9WNfy4xIA+i4O5/lF3ko8wK2FqNkDfsbK5qz1vst5/IjJiSi0GQVTCI+Ymr6\nH4G1veqtYKWX/RQQUETdU8u4nc3VhuxQ5ZDCP6gP1Yw7VWqJMDPl1aHXUJjk\n0P0gbJ4WvDpz0Y/02HyahW4XsCX6vN6s5xzF2W1IJcowpsyMg0CJSTCIVl5V\nxbCuQGB6wFKs5M/G6ENF3E/It7oVGiyeiLig9hx9mQaZ1jv814hhF2gboDb8\nPONsQh6Dk3AZ0DH2yAqEZZt2HW/4SWLYvqSNysxHTp6CoRf1Vcpfb6jWT3YI\nH/2bclkSAvfQS+d2gV+dJwQ0U4Ljdnm2K3pA0vd9VX5hiDBAoDsVh6hvBFlA\n7CkmpprSR2Fy5DZ+QauZgfdcA4pzwIsIkOs+OvaNaJZ2SsX6J4cmPBCJ86g1\niPfMTGYCtjU1NHk8+ighoDtJzPBDtHAk0mDgkTyiVBun0g2EDuN8rruvzVbd\nyXm2IZSAvo0dXNbM2RWmq47pGgWpqA06sE0sr5FKgKHC7SjSuoguuQvGMefl\nG75A\r\n=XUad\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"d3823b5b2af478ce861a38413ee6b4d4f3cc6da9","scripts":{"build":"babel src --out-dir . --ignore **/__tests__","watch":"babel -w src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.3.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.3_1587051392774_0.1579592303199211","host":"s3://npm-registry-packages"}},"2.3.4":{"name":"gatsby-image","version":"2.3.4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.4","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"7bccdfa3408d1f04b0939aa966b0cd36c820a4d3","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.4.tgz","fileCount":11,"integrity":"sha512-qOmYzEOP73fGaCRXb5T/m3tuTjT/KMYe7AIrhm+7EO4tzV3E7KL6pHRPuwzkNVzWYDjXD095eswtJOqAGX8dEA==","signatures":[{"sig":"MEQCIE+t1SlQOj9drYe5ngHiD0nQXMh7ewDtwd5IzWsZOuAjAiA2rZTndp/LHgZmPMQj2wtG7eBhmHsUlBjJKqyeqQt3ew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJembVYCRA9TVsSAnZWagAAVJkQAKR5c12h5HgN7Yv15dMs\nfj6IH3ovfhLZBih+UhxbrHY8j4gUWF/IovyqMDJvyQTObfTsa4w6bzW6t7P1\nKm5rWjPlJoCDgkhsyvnggkh9zWZXFhnqOHZcoE3CUh7bBMpNkNNboo+KEbO+\nqvm3wHB6vTJFKZdyLVYK/pL+f2WnCeFNOeXq4Mx4MjB+Js/QsnpcRLXCigMz\ngoU6fYZ7bt6pzVJgsTh9I1ekHjFETJO6tTMHGpUCsLu4uMW7Lkum7FjTxHCL\n15JFKxt107l3NUMl0Y1Sn15nMofI9skH3F5A9LdRoroIGpXIyvlsyQgtxmim\n+0MqDcf0rI9NatY2hFe1PKtNiOBEMIXKIhTiaBhCjrQtPkHucaIVEfXpwGdu\nV7tOAMUcdx6OFCCLqn+Vqj7nVOOgpasUuDTjky22jG4Mjg3qPG2ao/7dn+6/\nhvvF3ghtvdf2lxtmy1MZLi5187FEPv0IW37cDLnQuSxic1iTn259ABSS1Rob\nRAqJb/iLqP/zzaW6EeyjGz+x4VLv3b4YmFAsFgKx/klo3uvVSbTGuoQtTqSL\nA1BGN5ApJZIZUhWx7LueV6thyu/lFxv5JYRXW9Puh9wIXHhQUlOihevBgQmn\nIOeXffbtwqpadLpsfsLq/FUk66nOZU7MFUVBW85Z9fmSqXb+SlUP2nps+C/N\nBXpJ\r\n=YJFy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"8b6b9f338b6d695a30c80ead459c3a9ca2f165e3","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.16.2+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.3.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.4_1587131736006_0.8384514289042666","host":"s3://npm-registry-packages"}},"2.3.5":{"name":"gatsby-image","version":"2.3.5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.5","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4af29abf3e3e0bd3a6d9168bc44461d58fbc0f91","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.5.tgz","fileCount":11,"integrity":"sha512-FRbmYrE+bFENiI2QGUwy0SKvNTOsxYHh6qNMdO3qwil0mtkiQax64ydExdEq1BciUVbvMqomd5n/yKu+cnuJVg==","signatures":[{"sig":"MEQCIF9+IWCE3sd5TkIV/V01s5RRoyvUwt9TPODyx/p/D/3RAiAfkjWs1puDQV39f2M+scP0zSQE3hvpY4U9WcLYReLIbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoqlqCRA9TVsSAnZWagAAc60P/1v+LgD2ClHHHConyDmK\n8NtXZQvEzQTtlBWXuBhJFb8evLteGzQAVk05eSsQ/YcSlZy8YjL/IM2go9zZ\n/od77TJTioh7WzBwx7KRuzUYHwNaZWtopnEIYdxxJTUp4zKF9tFbriVlThRN\nBUyAytvCtJOpNgid+8905BSqta4j0jXhGoTLCcE7/XI6rhE11GzCGcL0sfjr\n7Ov9KlPYkpXymTt/GtJzh1p5NNM/zHlgcauiZB7jFQRibA0fHH4E13X2BKvn\n14W6Bdj36VOxEOBk8oC/gHjjcIrRkE6QXMHsairaDn56ScBfbeBRiOIwyNMf\nxo11AxQUQnhdkdcb4L35FboOGpt2Tc+Rl0x5S9TvjafZ8z0WHUIIjpzlnEJ0\nF/UxdUn3/ZymfDKHs7+CoFZnhbTBLW+NmcZjCwSx/ySo5nTlIK7fojK4+dfV\nBuBTH8qD8loz8uLIhkWzRdaFZOMmrojFX2S6hyUXaM1MN49+wJsL3v6LF38O\n4nG9KEfxwYQ39Dqee2nUFi3MF2Gq/tMlvSvQJX8WCmuPGmu95/YxZyYhFPh3\nFXziBCqbLCdIbxPorjj2I5UkHEgHYcoA1UB2nG2bfNhWwwSh7AwCRwLIeTB5\nCarVeJ7yS8+3ZbDwXh6UeydlC/YRkDczD5QlhbYlDb0gklX/8ZOMWzLCkCpR\n75xC\r\n=J3Dl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"35154266b55896fb6bf678d8b0ac61e8470dcbf5","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.19.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.8.7","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.3.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.5_1587718505716_0.42602270098879447","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"gatsby-image","version":"2.4.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.0","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"25bfefed7a046184c44cf2cb5edd2a03be822594","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.0.tgz","fileCount":11,"integrity":"sha512-VkGZ5SiIi0eC1tt45rIWqu19ZA2P1lMmNgCIqM4AK4q+ib1x0WhiGOeIEsIYk7udlfLXEy7A0uzadsv8EZSy/w==","signatures":[{"sig":"MEYCIQC1+/VaqBKHg36iDr6kvVZ/orjCMTpmtZRSZjb0PcOkMQIhAKndAMGn5DCMkcC3SUYh7YjF9GpdI/1Xqh8BIMHW0QCI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepstPCRA9TVsSAnZWagAAytkP/Ar/ZufwuNuONgaeBE1l\n52GcmE6p/Fg1niRmaI2n9keZ1Ny+wx1KY8tiWtP/Oxf2DyjzaZnhNz3cAJz7\nH2h7RPjxmGpxGyaHz6+x+AuLVzcrwMccoxRxAWpasfmnkSaOsPbDxiDdX5Ig\nwToEvLJukmXktXT3Ryr6fyWqf6DgS601yIJHIdPXmVyMr2HvNVhIaE8tjmbW\nONoAPEqRllZPWMvVhUuzrrZh3oDi+nkVv6Vhji4erxXFAOS5odvItpWGSX5d\n8bP1Yq9Ya8+MgrlYva5uOmfu9u6BXOUMgKh2FpS80p5mIK+0ZO7xzOEyZcLX\nedWqlWKFVeUyZbh9lg11e6jSWoBP8WuzbJXzo8LqfR9hqYJ0hB29MEKK2xJh\nCHSDkFJSY9r5EiUcT7xsoEqQZllc4c4zb310pw4CFKj4ZARkhpJvOk360MS/\nL+HTGYMTj0v9ERVOad8XTI6q2rQ6OjLFCPuhfhl7rIZguBxe60qBAtKtvv87\n4rNXsHnfv8QR36OD+nw2/sIx5R6a/by+GAsPeziHQ0TrXrii5IcsnUUlOF/U\nXI+28IPJ8NEgqqcEC+HWDtTh2gmjcJfo8O4+n0KbtpOhb6kMFu7cAD0ypn5P\nxHVPD7IH+b73ByIN0CkI+zKhemf+qcWAtbsrxZH1uabKVehqUZFT6q2wDXyq\nxR1W\r\n=5y8N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"fb92ede949f67c16a247ea5b0bc96934f0534dd2","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.3.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.3.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.9.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.0_1587989327222_0.5834886497440765","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"gatsby-image","version":"2.4.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.1","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"4177db97047e6b0203e2c763226bddd08ae28b76","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.1.tgz","fileCount":11,"integrity":"sha512-WtEnVLLY+XtMb/KXWsa/nzktft1u4Ajo6y30Gy7hqFFu64muNUtPOC0UVUOsEIqrBBh8JWtyPJk6IzMaU6qA/A==","signatures":[{"sig":"MEUCIFypPWL+5l1yREW+t5diu3oNqr67DC9ZMhmMwxL28HvCAiEA5wvKAnjA/HqPwe2U1gqZ5/Grv+qoSZnscoiEd4LqWkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesTBsCRA9TVsSAnZWagAAupIP/jvJ3r6PSxuMOGnG5980\nqipbG6NGtK1MOmwCndqB8Y2ORnqY5enT4LRQKMulfrVVdhB0ctBIK3tgALIH\nJ5uGR1kNmpqbU1X4kuDRbGOAiPtfEnApBOb9kDNdDKmTgMyNoUkAX48IvsHK\n6I3ATRDWKxEpsaNazw3ugQgf45V3mY1/Xyj6QRuMJ+cYz12RVuxgB51N50U6\ndgWdpZ+3R1Td6Wfhit0vyhofPN6FVBHHmDtdaujliaCSvdSoZs84f90TDx1y\nTv5Gke+Cfq+HJKDQxsCXmKDDvjhhoISkFmC9Fw0YiSyol9Bckt2Xju5ufRcP\nKMsaC/ub8HYLceC5hl2+RaAbNM+LEy1nC++SufFHZyc5EMoFMc3FHw5AUMD+\nZwfkq1ZGKn7/GtlmtE2GJGxkCT3iBuC2Fowbqvb6Aoz70ZrZfKrFmgl2brIh\nztxCwWJpSk/JcU2PIviqu+4gPT16x9tAehbVm8p3zvbIk+dnffRXm9MF1Ulk\nyudxeDgrjbj+DzPz+AC1pdmIw9rxcNj2uNPJzHwMOgdufZyWhyCd3xnsUwF5\nN1fM4RTES98HQ/Ipfwo/5M2lEMDCu/vSU5q2Zaxc0Ai3BYTPyOQ2hXFanDGi\nJKxL7LxiLeytAzL0tO9bOXo6TLQE6H0qBCYnNhAi1yuZkoabWBqWR2nqplvR\nZHg1\r\n=sOWk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"96a8f2adaaeaf6551381a8abed549d65ed30b592","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.9.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.1_1588670571723_0.1122558108762941","host":"s3://npm-registry-packages"}},"2.4.2":{"name":"gatsby-image","version":"2.4.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.2","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"dd1d2e9496d40896d55dcd77dd1cf4fc34a5968a","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.2.tgz","fileCount":11,"integrity":"sha512-/rLKNCtZmBdiSYWycJ6bgmfqjUpxPjn+6hSlGpH53d2A3GIdaiaa4BNrFE7ucBlrIm5hyJTsDaoqatNiKKaWJQ==","signatures":[{"sig":"MEUCIBfw0knlvFqe4cZtIPwQiShrcZA37qUNpbDfzVcKNHm0AiEAkDu/I4KQ79iPVUCLVp+wuC7f4uWcSoc1GNqfbHD/G84=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesoR7CRA9TVsSAnZWagAAN9sP/2OGpUv/Rh/zT34cfkIE\nAKGqTrAw/CCpNJtkUFjqLF+bO8EdpWYCtsTrzAiOdo6m2crEhU1+xnhxyO8Z\nBw/npv+Xo3JPUcpUhxf9lR2jFuz5CAPPEkSSHgfefat+umU9gA8fycSwhfXv\nfTGEsEPX1m54TA3sM+3STEAs2xjO5R8QqylMrt3G4ItdII8lRSGParoUxwjJ\nKc9hnp1HHn3jnxeaCpLvvy6/Jdbsl0AOfWrnHG1cSqlIQ85Ok9hiU5VmwAaj\nz2E30CZa17sAD5TTms2yKr1uOHn/jWzPQv0CNjsrc5+SIQlZDe+BrF9f3Y+O\njEG+W80q+axsrpBf10b5l+/8nKZ1Gdtv67HYlbVolesrI/3WJgthii8Pos6y\nmrT54FZoD1dvCd+455LEICNshs9qHHa2s98o7sJoLWWxFi+SS+Lm1m+xHWQz\nyiCNwb5qsZmTjWPU+plmF4kjN8iFSj6ZGkDQqMvWOP1gPczURX5ggSyswGRG\n66w5Q6wb/3N/4ZOcJu379R8ikx7AA9m4c3db+ik2ka3L1cWR8FMIsMoUDIw2\n+yZ/t1on4S509KhwwK75Hyr6gX4lC8E1PO0L+LAGJzDLQizjBv17yrjkzuMs\nRnU2bnHvL6JwZr7QfaT4oGxRmCCjFuGplvlh+B1HjcUvINHPYZ2Yjiko7GNS\nMi9b\r\n=kamS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"101bd76c3f5831b8030333dec7ad08d090d2732d","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v10.15.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.15.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.9.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.2_1588757627166_0.9736213815329691","host":"s3://npm-registry-packages"}},"2.2.46-state-machine.75":{"name":"gatsby-image","version":"2.2.46-state-machine.75","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.2.46-state-machine.75","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"a061ba51e71dce672367a3e3316bf14cc27c1250","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.2.46-state-machine.75.tgz","fileCount":11,"integrity":"sha512-qkMVBSovXFCOOzaVewlpwwF15OWOapuBoJfWrO03HFoDn7JoHMCCte19LsUVyNyyxJ+2ZvGkSOETE/6lL8+0GQ==","signatures":[{"sig":"MEUCIQD3PF89g5uuY3OgpWkX4TAIOSt742BSOj/Fe36Oq9WgyAIgSN7Y/XAmGDsuPAJlUZGf+EsgKBTADFg9a1lj2MMdpys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesu0xCRA9TVsSAnZWagAA1sEQAKGINXHwhrKAb5/bbmau\n01s/sTzAeAWJdOqPPNL1WrjnvrRbiwjY56X2HdyNBxJEame3nhsXxi188Xv+\nwiQMCHx0cpTci9owRQESMSNihtQK/LjbOF9lk0C801Q+JFUP/T3MmX7K3hUl\nhHEXM+lCfVdRb1MNgp/E1iywu/Yz0lZwpW+5tfzKgGnmoKmHtPxX+1zQ7GKT\nTFnqkZLsX+gRCPxm/erL+OXnCXCDFTwHP20oHLBXZ272o9aYZqeq3bTrDl9G\nKTCeFaN1XsPhL3icGG1gdESe5MhP3GF2fTIJ5qf6o/L8KQfXRm6Y2N/IxZax\naI00Kk7Z60YAalPBKi/XkzerMzxQMwifu7djoMaZquxdasDYD0KRBc62hOew\n03REiuU51x+pz2l13vPTKhC/F8AscL63dGFgow3aEjURI3f61hx8ANiEzJK4\nC8VilelkoSTc99I30FtR3hx3Ni1I1Z11VA6nXAKwgcQdhn1m/zNsxs4YwX8U\nk64ANUvHzFSCDPO9bkpzyqqNy/u1eYfpdeSdm0dpxnVKtW2wRcbJJK2Thm4C\nbHySCcnxgL+Xe1a6YpiTHM+PYSRDQ29dpq98LmQMHpCytBYqrJ7t5P3dh866\nOMA6voulMo4BHVpNfvDaKUgFu8czWwo8BJmpLHq2tIHpgq88BvybZqchDxfU\nnNRq\r\n=mPFG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like sisyphean labor. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```bash\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width. In the case where the image's width is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could wrap the _Img_ component in order to set a better, for that case, `maxWidth`:\n\n```jsx\nconst NonStretchedImage = props => {\n  let normalizedProps = props\n  if (props.fluid && props.fluid.presentationWidth) {\n    normalizedProps = {\n      ...props,\n      style: {\n        ...(props.style || {}),\n        maxWidth: props.fluid.presentationWidth,\n        margin: \"0 auto\", // Used to center the image\n      },\n    }\n  }\n\n  return <Img {...normalizedProps} />\n}\n```\n\n**Note:** The `GatsbyImageSharpFluid` fragment does not include `presentationWidth`.\nYou will need to add it in your graphql query as is shown in the following snippet:\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      presentationWidth\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"48aaa9da3ad4a126b9a0c1e69d279f34cf1c60ce","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v12.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.9.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.2.46-state-machine.75_1588784432637_0.5628488344039109","host":"s3://npm-registry-packages"}},"2.4.3":{"name":"gatsby-image","version":"2.4.3","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.3","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"7fbc957382bfab39ab0e7b9e12c063cea6c0d4c6","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.3.tgz","fileCount":11,"integrity":"sha512-CosuTTnGJ6iw04YwT9AvGo4b1AcAajDNviCj/4zh8j4R8sWOtmEXxFOCRwyq9cGoquDikVY9jRby2KUe0QPKeA==","signatures":[{"sig":"MEYCIQDsLEt/Wg8xsr5h2AePzTeY0nIb8K8jVU0CKktGuBmZzwIhAJzP7kp2Xz+bTaNdD20B3S1AbSkKh1GEhRB/ItPPqcPR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJes9o2CRA9TVsSAnZWagAAVWcP/3fRUdpcLzJerrkK1ItI\nSq9YriljjYqYp82VyxEOJBvQwKFvc+Qad4fxOr9t0kSV8QDuhkFkBApFtgbK\nIKShWVHd/1E0mDewn9SCTqaI+WhescdJEaGfN3X5cr2HwvvIUe1+6pEWa6lN\not17oyFqCob0z2fu8OEw2AynFjWybkvuKewq7xI08m9S5mUSr2fHw6DJ4ptk\nvbGorNIe6nhb4iRqpYSQuEwnnpY6Jz0k/vybtE3TF9AKV5/6HpJ4jS85VxIS\n+KrMvHUl4j0w37ky6wnsanbs6CKN3G9FR/xATJeIbFlUQenAu1e2HtJXtnrE\nlnFg1+6HfCBqEATEXpvnG9bH3AE22tQjPtm18/dUGEyIdn+h/jNTBzzH6c76\nbuB7nKlR5XwjRttqaWFbNIKQE4GMpNUyBd+SpfpYjufcvfS2yi2rajVhTFfQ\nUM6PAEQp2hOBHpce3yoQ7CdzI03ddoZLf2nMCWrdu1ZUmRUmVktDs1h9a4oG\no5Rewl3HVpNVmPytEH9UkHUEWYdXfpVIvtXBqT/t2XB3pea7+zrCQjzCvBsw\ndH0P7nyWXtOXTay00pg9Uc7eFm5nVJ7oTjnwLkmr6IRBrWMaEW/LwPNutXX5\nZHCqUu3gh1qgB9T2RlpD3j6QY+fw9zMxddk/H3wtyus2j68+nISpoiJYhLCi\ntITD\r\n=ZWlk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"2273523df0aba7024e5cb4a1fdc0973913c93b74","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.20.2/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.9.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.3_1588845109677_0.40665978838064176","host":"s3://npm-registry-packages"}},"2.4.4":{"name":"gatsby-image","version":"2.4.4","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.4","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ef8166310d3767fd6f622405fc326ecfd1582f63","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.4.tgz","fileCount":11,"integrity":"sha512-4OA6NM1Uk+DQ/YXFApsgCN34tJPA3GVdhwNbWUSExNnXSfpz3WdlBdoOQT+oKthW2js/mSv0PrCn9pzX4+QT9g==","signatures":[{"sig":"MEUCIQDTHuGkNrBo2Q7V3lr8bF/8z0rhDid+VCR6I8TCIC1i1wIgaDCe/8czJBIg8vOqSrXBrRMAlOSIJ4AAufEhHWd26rY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewpuJCRA9TVsSAnZWagAAqU4QAJ8gvEet3KhoD4kbZHKZ\nAP8VR/88KgbuFi9+ijyqgSy+5O3yoj/w+gsUEY3LkWJviLaPLC5es2D9EIIh\nM95PK+0ovt+NH7gFLHqnAH4kLYwXggLs0wapcdQTAf7uhmN39p1Jn5Tf/6HV\n2HNzKl3iO4Xz5UXuhc4uQw2ibBChvJU4YQ3Vbq8WMigUgwPPCTDKjWTPzxF0\nhlf3JMJcEeo7Vxak9Rs9EVTF8XBhDVhRYLx4ruxktNsdnVA6TZQlfRS2KSBI\nMANC1aOSTPWic2mB8q2w6fMff/5XivRMZ9xB8wZlIPwfKQJHOaLWYERClVXZ\nRkIY+39a//RJd4fe9XKeC/bxZBsCrKeVzeIkGtCya4RAjIIyjwyyCJxEL1EL\nHpfNZl/1DMu7QGYzHMwvq/dqbHg3re6HkUmsMzJstEAzJvWes0dm2F/XTF24\nZOMUe6hUphowA9BZshe9HoCL0Nyzk2UP1Vxa+SqR7N0g9e49YI0Z3WxraM9/\nNoQY+AIhhdrAeDfwoMZlNL36juJlYquALj2N6/saazP4vm5GwweYn6IENLVn\nM6BD+OAocJIEBJhnz9/wWUfnvbPae7kM0ugO/GsiIUF2Z4OQPKGDlZpxePyx\nsSiTC101pwAETYt2g6GP05ANM+/RDCwSTP4PtYW+LLh2CNzd+ufJuuPRYqph\n7ITd\r\n=0mq4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"8cfc1165e5f2661247e089c1a3c1219131151368","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kuvos","email":"npm-public@qfox.nl"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.21.0/node@v10.13.0+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.13.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.9.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.4_1589812104252_0.7888459538808232","host":"s3://npm-registry-packages"}},"2.4.5":{"name":"gatsby-image","version":"2.4.5","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.5","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c14f549a224a0306e20c1b39f3f6fef41b0918f6","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.5.tgz","fileCount":11,"integrity":"sha512-XqSUEJX42ufWuce8JXaDRYKxpFBUqVoNRhG2lGABUenwUqLc2UAYebb5xXUQ7HZJciGi5HdoJtWuZOy5NzphsA==","signatures":[{"sig":"MEQCIDJb2bu8ClDai2BAb7Tt8ZOXSl7bZ2Ej0sdCV6mX8LPRAiAtxk1ZVWvfD2SbfDQRVbrS6u5bcc9cMJo6yCf3Oc8FAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexOdpCRA9TVsSAnZWagAAMLcQAIF8ic6OVKpI5gI1WUyv\nIF393vDEyvreNs5zTvm5ypb/+yI5P1WSmDMvQ5SqPVgpc8m7bUGJvjkF+djM\npUYz75ATt4QroJVBRMfxrUI04o2kSkfIS1H5fbvVKO5H9Q1QIp1FyNSZgrBZ\nOVhOuJ9IECBNj250CXr5VtJTicPG5MHuHiux7Hr76SGcKDScSoPLLbiyyvBI\n/CG8+sbRoiufhuOnYpndGg4GZmHFwLM310Wu1D/hc6ItuB106gINmrJmv8TB\n5Ati9hEvIXJ5nGdF3xg6i9Zl5NYL/lexXFsFH8PGHGhshQKMnJgGhWeF5ctE\nVGAAfCcH4rHGx2pm5kNBKrTDu9d8ZVakKDNm/2+S2WadIsYvjNhYJL2mqqVD\nJsh9poU7i5mzFmwoM7aCzJurye+Vso20ZKgDkwZwf8SkOSYOd8U+9Imdnu3h\nJp0F/pu68UuJbNz6G69Z13jaVuwZF3Kd3t07npVzd+FehsQgjso7f9ftCNcv\nW0YSk6kDCkMJSkIpnKAp9bCXbP0R04V29w0efYgb0gcoqFJzahF/dLYIb6Ry\nnpyBLpgAK6mFiehAK5MX5lACoNxu/EzIDzWU/aRZkVyRgxkUJf5a0vb+AS0G\nvQZsbQDHeYe7SRpfGi5Y456G4RXzGUp49EkeL4FdH+HdI+cCBlQi7xHGTglF\nshdw\r\n=ONV5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"78271c317542bab22705508cf1d7bd4cfdb37200","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"freiksenet","email":"freiksenet@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.21.0/node@v12.3.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.3.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.9.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.5_1589962600870_0.6963407607088983","host":"s3://npm-registry-packages"}},"2.4.6":{"name":"gatsby-image","version":"2.4.6","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.6","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5594dd119b73581a35c087351d35c7715ea5c66c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.6.tgz","fileCount":11,"integrity":"sha512-4Sw7HFl9wktsa0TRyauHw/cLKHjvbDT43/5qNE+4CKXzpBY6JoUJR2tID1GKSVElo/Hhyesu1KsyhicsJ4e0wA==","signatures":[{"sig":"MEYCIQCI/6WNFO37pvd63giXGb3uV9xq5iGZnskSfuLFFVObjQIhAOUZ3P5G89W4RrsjRdRrAuzzTezj68r0SVm2xablWDEx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1kOQCRA9TVsSAnZWagAA0ZsP/0YW45WruT2RbnXHDPis\nnqE33GiwdSHJGOZx2Zbc+OsaQTQLUyb5L+3fl5r0pBjvFdRUd2Z/kqWUSXuI\nL7CxfUN53c0eojwA4eKB7KdVg4ks5Gi78ff8zsDcqP7s4XjDTh0rUbfBRUtI\nNKeQ0ogesgdfLF4o2xcoRPiJtIIH9bfSqj+MqsA9XV4VRrcRpqljUnrZqJER\n0YJ7P9iI9H6KumpF4Mplbiw2bNmzpteaHPgaDdp/A+vJK0nTROjw1GKa+jL0\neyUpi0MO8cMKMInYlfVpACEFV39Cc1cBqaqZO5KSQbvCqv1S6yzaKUtwM1l4\ni3VECb+8m1qVpKL207obXQlshpR7phdTADsIrmeWSaFe4FBleJGH7w2DgXFM\nsQ79fcs3BVDUMXa1Hi0MZNT1zvhrF/afJqAC7Y6GOBM8olsRQScvS66sGtSJ\nOImuiOtl7s6zecd0dD0WsBD1AiqFgNGX8yXsmYZkK4bKNGZWRS/jm4GBu6sJ\ntoITpSmUehOe7dzJZKPOHpdDgs+mx3temaTpPHKcqMg1KdgxbnCRYlcKEvGY\nlCOzZPjDP9XPmRKtXXkpFcp4YmJ9H2Ybu/vPq7CoePCiHY4/lYYo2hzpEWCc\nk5azAq8fUwRPvYVls3/97IhcQdg+lzKv51GQiiwJLm9aBrH62x+BxkH8kEPf\n+DXZ\r\n=qXzb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"75f059efb1135362845bb347d2778cacfeb1454b","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.0/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.6_1591100303173_0.9639425538681041","host":"s3://npm-registry-packages"}},"2.4.7":{"name":"gatsby-image","version":"2.4.7","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.7","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"a8a867a11b1af36a377df551685b85a26e62c59d","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.7.tgz","fileCount":11,"integrity":"sha512-n9btEYLUDjpnJQBK4vSfjgVuwNhPcPwbQoz5pV7kRlB3r1k141ZaYgubM6hgsZxu47btjUKtLiThBJAQP2L9ow==","signatures":[{"sig":"MEUCIGonEzwgSvAHIXK9OVFrphh/0Bqkk9FYqg9nkWBt7qXxAiEA/RX4AaP7Qisspds+qtM9IUW/ZPKgrOeqSUyftGuEJzs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe31ZKCRA9TVsSAnZWagAAgvgP/j57zCf/JpC+IMfu+iFM\nmd2mkPnNyuL4ePV7AijMXrjnA06meWeeQsZG6JMsK9T7wsp+MuSSVslDO/xC\ngLEq2pvSb1+JbAIy48V5NQu1ydHWPWztmwl/nJeOUDRE+ExSEMwhHH21Uj72\nuTNnktNr6EoxLpFlBp848mNLpm3L6VIplFKqA0P3yNhINtTAO+X2+u/CVKYf\nMOOELcDxuNDDl22rtpGXMlcnpeWIeT4wlwRiAkgVY0NPk6WZ9d7FcJgrIkGZ\nb4wieZlQgW0RGZzyARrInhuTN6XWDWXDR0UIZZWsh+IzVMmVluVUGItV8fwf\nOMOGZ8WMl7NkSaK4VucjnuXxSONOaxch6qEiLMrOp4HitBh4pg8TSU7ZN9Or\nuEicrPLA9ICVxQm/2AC3pxJju+Zz9lTZDX+7Pf8Ef+tTzruLkyhE+ANd4MP7\nbDeu7sN+NQ9B3OV3KcCyyXCavlj7/kLpF6RB5ejL5EQekLzfOTdJoGSurlI2\nlt2YMA0UfZDiN9/QkAD2yMCW5m+7QgMUhUb/sQgaBDGUbfkXEd6n9RPJ/6Xl\ntU+2dpH8MfEXJIjxGFRTLZ3XaZvVPL8fRM+wr8h+NaRKRe+KOab6qQ7cwWq4\ngan2t4n4RFbzC5V8QgRaT/f917cEcl11HkUXFSYvsSB0Pr2PzGPdtej2Y4JN\nJs79\r\n=5Dqw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"221481bef7733c9957fb9ba83178f08280243b81","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.0/node@v10.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.7_1591694921655_0.3217908260925011","host":"s3://npm-registry-packages"}},"2.4.8":{"name":"gatsby-image","version":"2.4.8","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.8","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"af896d68cf9a6f1083b42865fcd820c4d2dfb4d8","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.8.tgz","fileCount":11,"integrity":"sha512-pTIiAOj85SVpVHEG2x0E5ip79zXZSvw3rmRatZFDm+e1htBI2wNBJMJcUyTq+yVXIjJjEREivoonvz40yMj/Kw==","signatures":[{"sig":"MEYCIQDys5bNMiU6g4CwUCKdo/hn7PfI+sjalftGnTKermaOjAIhAMLuRicyxucWceReEP90TQXSQGRql1i27gOhEHAuUE5/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8NZECRA9TVsSAnZWagAAlHcP/joY8ZeCGfdwd3AP10Bz\n5La0Vzv/LiP02zPA/gphKh+w2Jyv8/1tZTHVwe4e36VCUS7NpbhxZo7/IexS\nMS4sUbbk3yOCNvhC4BBykSyZNMjswVb36uVcAegSSIbjNStOROeAsx3rIyJv\nUm9wjDvVpWIttvSNgjRyiZ7NSINvkLmuJu8KtZmJmggniOKlG0ebGnTzFeT4\nZX8wWHWC4SMtge29mhX0ucqv9OX30VjDLG0qW7qq+SGF11P4A+G6Ym998fho\nmiJujcoFjbywDZ1PAvOq2n00pktKeFfwCXsI6X4jLaSOe1rxO3Qn3YbVT7bz\nReLezfjnAj4Qur6nxeBfJIKMZS6aaMIKrgJkbwxzc1mdhSuanMyPyhQfgFmN\nF/aMSF3VDJkGQ0DcRz/dXk8w3vRhNIRxMSS+Y+CjPAjBBiOYdukTtEQeqNCf\nOBfWyP0qlL2wJnm4ApLt792WuYE1249Tk7+xy63c35FK5xs3avAvvnxu8IUX\nvF2rI4B30vOkkyUJGdhHQWu51/IFsrQi2N5vbeo7kHeXCOegFkOEym2TN8jf\nP5iowjTJMAdvhRM67r0RCR/Mt0oU3vHo9mN7v1BZNM7tv12exDPrMhSM5Is3\nDKd2Z2fxO7aZm3Vg4mSpqXHRKxHYA9cWDOuVxnWNtd9M2uQs2O90oLrTX0Ce\nDXg2\r\n=Iz8B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"934e51691b29d55bbad8094175b6d9d71337bd61","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.0/node@v12.16.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.8_1592841795532_0.045303320148382564","host":"s3://npm-registry-packages"}},"2.4.9":{"name":"gatsby-image","version":"2.4.9","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.9","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"67f8251a77fa0acaa746179b725f445f4025fdd8","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.9.tgz","fileCount":11,"integrity":"sha512-bTH4xp7Ck8nCwUiiTO9V65cwX1Aco78q8VlL/aulfZuzRMfy/CjaSHGOUTU4aYTPZWQyXKH7CAxTqJXo7sbCXg==","signatures":[{"sig":"MEYCIQDjmCVQWEKgahk64SmSdpJHcqEAg2FriZCZT924caS97AIhAJldM37o033vdwkgOQZo8oGvCacuoHYNkQl5XQy5CGUJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8uouCRA9TVsSAnZWagAASSIQAJ/uW+Fhib8bWWOyjpzc\nGejH5dBe4C2yuHeuUXsk8+TX3LpioL4EJyGeKowxzVpVEDhDS/h7EcxpFgzd\n2Lyze7GPyduS70icxnYzu3MWNpZOkop+2wFBSsFl61G6T0DlKCckB5Q0N1Hj\nvmMUrk1Ce/rEL07S13t/bk7zf8GbD/t4SK0dOanh6MDR20p3nlgeBlRCvMBC\nRbeZjXP9SRwG1f/O0CyfCXiQg/DFsIy14gXb0ExgyqA9xiC3FbIFPEBms/tJ\nz6dMzWvSxUfxEyZle1+YR+GVqnjFOufYzVj7PBXGBMJVyE2hb2+0VwnwES7v\n3GDUmYqX6zus16ZRpPfAc2g3pYxRnhwFMaLs2NgisxdM+844BQjy6fuLUbsU\nbaZOj3rH3CZOADowTrJcUtANByqsxU/Gm5zS/Q5dzPx/O7DAV4CE+XJtB+cU\nzV3CbqYIfXx1ZqKLRJRhuC0+2USjcOZ9wLC9In4l8OAf+WgHJc5/lzgnrwTJ\n2CsMg1Ajhq/AbjRwS6rCNmnifKqpv6iAoQVCbhid8idhe+RSkql9UwClp0m+\nUth8fQ8vXXlSLDpqWMPmMoeeVsvSIUGDk3xEyrij7PSHeJg4V2fGNNAjrhA0\n0u4pxqUXlKxQfFYC0YIAo1rQrqt2YY3XhnqcTg26U7nZKnsP894+Q33U3tMH\ns2kQ\r\n=QMTJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"0005a1f2c905e4037aa9815605360688767b5e2e","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v13.13.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"13.13.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.9_1592977966197_0.21048627822230626","host":"s3://npm-registry-packages"}},"2.3.4-unifiedroutes.76":{"name":"gatsby-image","version":"2.3.4-unifiedroutes.76","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.4-unifiedroutes.76","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5d6a5f6fa4a4e91207cc4c9638a54c051b5e9e49","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.4-unifiedroutes.76.tgz","fileCount":11,"integrity":"sha512-FcyN1t61Bs/5YE1KhACzoGQ5DevNtM35WtyvhsUl+/c9JIFWW0O9fFaTUe9pvjXu5Qq6grahTAQpY5RJfASPIg==","signatures":[{"sig":"MEUCIAwptKpofpWmQKPKaN00506vXo7DhoUDy3v2REkXYx6gAiEAgDaxs0ZDDO5AWrDo6h+fULJcm6to5BVjEtF2VUr4jV8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9QI/CRA9TVsSAnZWagAADkAQAJuRpJYzzsGLTKR7d0ID\nfSgbolB6eBC3Hg8xuJTGGr9crsOBQFNpXaFZlhh7iu8oI66DLXjpLwyenWUM\nuxH1bXKSEWThpu83JPmrX9UIRkZ+6uTQtHa7VxxWbqtDyVchl7x++rt1vGL/\nX8192Bt1orLEo+ySvmAB2aW0O0znaZxFGycbqdVxWoUJKsuh96B9IJzpGSWa\n0DqeMGoXX3cMHpkI/NVClGbt5TzvDcLemH0onbFQhLfNBnplHob+m1paG0AG\n3UjfxL9I2R3450XzxMcTGZUBi4idWsaJUbOZWPZT/9jzVIK+iKgc/VvSLPY/\nqVKjBMSp8nVw5vkZ63tGv/XYby480ewF1Jk9dNBFInoDuW9NHR6VOWL3+0Z/\ni+WsoelGLv3lQTF3JPLxAc8bqATJC5b7bz2iU/lowwf9ohKkagFJy6vSI18Q\nE4V/fkTT/LKrgU7YK5yhXFNKXE7Ie3aHb/5ghdIr3mv8GqDP8ZfQkC1BrN/D\nNGjhZfvQc3WX5GAYzHjm7R5fJUgg0nG5tauDBV/9ij4+9nTHQfR/x7lnP427\n4fqEDHtMgjvpVEFu2ImstxLnYCobCjqbAsF4bP4K4oXZDSKfWXkO7ep0tTRO\nBEXkylM1nemBCrGkwnfa2h6L/n2xPBpoQapLAORezLTAdkGfs+XqHOBDG8HV\nyVoW\r\n=klYM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"bcf66b9aec63f3498c353ecfd7ba8bbaf4f022c2","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"blainekasten","email":"blainekasten@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v10.18.1+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.18.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"0.3.2-unifiedroutes.433+bcf66b9ae"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.4-unifiedroutes.76_1593115198879_0.09231591614341883","host":"s3://npm-registry-packages"}},"2.4.11":{"name":"gatsby-image","version":"2.4.11","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.11","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ed4e2dc961d4bb9aa6f30d1743c78772e9c41e85","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.11.tgz","fileCount":11,"integrity":"sha512-s9L48uMoIGUg9WRt0mDKD4FA6tJo3Bmoxzojckmc58wJdQ/5WvbDnMw5jl+oYjzUQRLRGBco+70Mj9/3c0KBWw==","signatures":[{"sig":"MEQCIEA9McFFWrbuNc4/YrN3WKUloBVlZJFG9J2QN5HBe3iAAiABa0IZKtc1se9bDVE5j30nUMoxdaiCD9XeTdjfIdrZFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/K4fCRA9TVsSAnZWagAAr2UP/1eLRC6FZRZ1vh7uTWK8\nCMgaE+lGdRH+gOTPkbMhmYSd8xHFeI3Gh/q0n20NGMqhCoR5bhZ392KsngyS\nJcBJDkSc3x1JY5QtVyAvbHozQCe/A81yYqx4iuJ5E9VyA5heQKwJKSoMD0et\nAmTB4LUQRb1qiAJ/2wcwOBHn/QiwbxeN3vvFKx8WJqiHWbKMyTp6oAmaXdpO\nAFI4JqnjLy511mEoRJZHjjbhU7o9jcyjU/r6R5CSAzMp6iWrK1uTiWllxLlq\n7RxQhm+rDzFHKgtdligX3msos9U+VbVa4KgEYTA5smTJKcScnfYm4UKkuSEu\nnYRgL+mS0MMvPdt+Wag2CrYsZ6xcxnctfjHVWxBXdyAQnC21DDVZpWcQcjFe\nUHCo+Twn/lwindfmBNWZzJml0YPcUtuy0GNVW+IWY/6sS9xvI6R/6xyK1bOX\nYgb4/XxtTrfa3FgshCGrnWr7HCgP9F5rOJizvpUOCr+rFwYPyaTomdTRrbt1\nmgwbJX1yfi98GqhtdPffH8/2iVuCKVGXIBIX8tLZlTMPkB6ekD9IbNIitOH9\nJgi2wIdQGuSqLHlgC/WyftS0HAgZq+fnHZyYobxZh4llypQmD2rtNA15B3Y3\nb1MHCNeTTTM3lC0coAhPC4jUi60c8KCrtN6eVsHUpgGlcd8Po05fExYSB638\nEde0\r\n=ixXD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"ed034d4e39e8990233ff6325db642f16aec65437","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.2+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.11_1593617951138_0.9294978390271347","host":"s3://npm-registry-packages"}},"2.4.12":{"name":"gatsby-image","version":"2.4.12","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.12","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f3b9d5799024fb38c9fe508bbb01a7aa0c69b64b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.12.tgz","fileCount":11,"integrity":"sha512-MpWUjOhnVcbbY+8bqCLCgfyuEZIcb4kC6+OU0hGu+jMsywgOzzfXMB/8lHB1qF2Y9rhFvgRQXSyA2pwP+SjF1g==","signatures":[{"sig":"MEQCIHPXOmKw6gjLtk/bDPc9dr8d3wUxSYCOCz4adaFJLFAhAiAy2xzVYFjt8YKabfwX/zPIGtFc+9SGwOKgYkoCnI6MMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/ektCRA9TVsSAnZWagAANjwP/j9OmifdgQzX+x6DfPsN\nUHPNnRurz67SRMbGgn6xagbufQkzBynrxLSMPwiTbAiHyNtuKAEm3PHr3XPJ\n+EijxMZdWsVtM9eZnzSqF/y8NxMEeMhsfzpZfTG6izlcsYLW5+NprRrCs6pg\nYTB7wjuHzeXoliq1UUHgNxVrqgHHufoZ3vnkEDrvxNq2DDQJPweTjMtyXboR\nhLBZVCR82l1vlRntk/r2rJ2E6eEZ0fIk3vkP4PWIH8FvG2vdGWMzRRWPajSP\nkTUdZ8yNZSG9nWIAvI0ai172uWUYZtvjqd+aUHBUq+XPuE557XjMwylvRzaL\nEqVw0YkMJ+ivNEPkn/IKc4vn0iHjCnM3vugmOlafL1+TWj27UVswTlWO6Zy3\nuiBTCkddY260snwjzIJ/wFVPJqoYq873+5dQEgxDq6qGbPHIkNdZTHgRtY+x\ng3WICbxvaYeNP/K5mxHp8cALwkz8Ejma6cS4OJm29Ojg1UR2ZHmL7ssPqdU6\nXtWf387T4ATdJNVb75SRD81/b9mL4f+WHGZgl9i7N+Zt1OKunfj8WzS8awqT\nKPIZjI0zeMaO0ua9XmYOrNVHQ/N3QQibfZX4+tFuTTqGT2Kxb2R6+1RcZPL7\nu0SfCxW6scYS4TK5ZPi6zFpCPQyZ4Zka2tMuzNFmhS/HSgMC1mWOQ6kCwHkt\nGIrk\r\n=czJ1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"e623913b2cf9a6fc2894b2c3bf0ebe0f6d8ecb1a","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.2+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.12_1593698604850_0.7815025547112862","host":"s3://npm-registry-packages"}},"2.4.13":{"name":"gatsby-image","version":"2.4.13","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.13","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"21ea2d062952406aba3d34c0bc45752df6b8a554","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.13.tgz","fileCount":11,"integrity":"sha512-j9FIH+EUY6oWQdcNr5Xb87VGsdT/dztqB0wKkMqboIIqPoK/Zdzvd2cUbLIYVOI9zOSsFNDoVsHqe/M0bfu4HA==","signatures":[{"sig":"MEQCIG9VbXZLlKe+DOd0IGajHW7eqr/4hxrV1rGqsORPbx+pAiA6HhidGkfZiCoK8KgeArw2MlTXJQNwAHAuKoma7atPUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBtRyCRA9TVsSAnZWagAABDcQAKJLL/ZITinjCWSkPLHR\nUK5bW59MRQSKcRpz84Ktskjk+7a8xMo1BjbFxmnSs90q+1vtG8bhJA8nwOhZ\ngklzIkApCV59FZjMpZbcFKLFiqJzC6/fqIphD0V4j17g3co94McSwGWRAhus\nvo22PriPRqacUB14Z6eGNiCsLjhvBsgZsukr44jYakArBWzpsghUYO9AXzfg\nL4T+TNWJzY3VlFZWa9nzozMSva/GmVNwQOLTuWjfMmlt60NUxBwFY9IbR6Or\nc6Fh/3HxhzOMFLJPz9q+LkXfbjVhgjTG9sn/6tzm9y+sg0IB4gPpWccVmqh4\nZndYj0RfuGf2fWyJVbLYekUwPUkxTb1P0Cysb8Rv82rNrcagh/mjsyyPg4fe\npfPr594q7nQIeiMzoo9+ST4Nd+dAQPoKxU2saan78TJGtfRDK8O6j65vYZ1O\nXf09icuSBBkfKHYIcN4y4sql7H9WbzLahDEIVn7yVfdqrp2lOEvDuIbFdRW3\nmNnhm3MIUBG70pWk+kn3FuWQ7noRf9bDxiEqpmHFABM5E5dFBMC356mRVG3q\njTDmk3mdQCe9pSU2fS6PrSbvurBhoel/T8CwBlQS6VQKkqb0mK91+Z64GZSC\nTyNZG2GtQPcLLxP7JX2ouLnI6MMteZl2uTcnX5+ZG2DUy7x28fjT6kxnxkLp\ndgWY\r\n=g1Bp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"960d523861b855c1fea45ceefe9cd01db760995b","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.2+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.13_1594283122475_0.16119812232794484","host":"s3://npm-registry-packages"}},"2.4.14":{"name":"gatsby-image","version":"2.4.14","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.14","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"23e02f5248c96471d7561bd56af8be2b39847a09","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.14.tgz","fileCount":11,"integrity":"sha512-JO4Ul+EMCCPS0FddFc8USCDl5roUZDOXg8x99DxE0UShuZTEAtkn+kb8KzpvtPlnwt/0YwBUpcvVrat3yAVz2w==","signatures":[{"sig":"MEUCIHSlZwVDkUObx6EbcJetDMa8+2jYO/aI6y8vfw7nHYfXAiEA/CteDt/XcWCYlnDCDJLd9fBy7wqxZ92cBSNpOuLl5UE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIVuxCRA9TVsSAnZWagAAC48QAJB+wCpyIg5F+TH5zZDy\n0DUSr78M2D0E1DGrXrbqFKEHbRM3l868enizarcyVstSuQWzGX1rzWYrEzyz\nv6eMlr0kZDrbby06gsdqrX2ec3iyhUhS2HkR0reg8moTyITRQV0/YnkwMpoY\nrz08PvQH6Uz440hI2//gcCuEtLzHYSCx3skjeSUfjONDWZsEDqzqECvfTWr4\nh9YbOpz0ZNN37QExUzyJNBD3YGJgq8UZKKnCgA25/ues17b6zp6Q6p7ZuBtY\nNj1G4Jsmg0JXHDJuPnxVqsjJX8cIPirKGUAusVhLUWUJBdUEK7ENCYDAL9/o\n3k9ZfGi+vEwjjIxaoWmHO/wgBoLmmYJeLEralAi/kJ5xL4fbM9KQWE8UYVmP\n2pX5r+WkiWZB6EVw1sy+aqsbu0ClUEIAUXy9TW8v83IQXJyoqo9vR/DoFQ8N\nOONlZYCfQtFDVYn4BBC4348vRksN5fiaThq5su+gwCtGmgQ9JjpooP8NZwp3\nwuLBVVh0YNLzALNSRvXuVmD3CqoxI4/tzV7TqAzA1Zm8YFItaK4M4JJNjKnM\ndUKc49novi7i462WPYE36P5fnGFAz2FyZyqm9jueTE6NELG5CIwxprd5Bkaz\nAZd0HpvYoVFtWjl2B7yt/iHmZVoeAtiQjIiUre0dmrk41etHABE/EGn98O2l\nHHhm\r\n=HI6L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"d2de4e5240c0ac777b94ce506fac1b050051769b","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v10.18.1+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.18.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.14_1596021681113_0.9401959506605337","host":"s3://npm-registry-packages"}},"2.3.4-unifiedroutes-v2.135":{"name":"gatsby-image","version":"2.3.4-unifiedroutes-v2.135","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.3.4-unifiedroutes-v2.135","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"35766298b7ac04b7b67e65abb231004d35a94ff9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.3.4-unifiedroutes-v2.135.tgz","fileCount":11,"integrity":"sha512-ASRyOl8BqEhR1Xgn1CLE5UT0kX4TDvmn3Lnafj0yF6c5m5Zu1oG20JM2eHQrdKVqfAy4DObI2OjCX55dLNe+5Q==","signatures":[{"sig":"MEUCIFVi1GwDjEbuN4/d6o+Hjtyx+0MSnKwlMP2OjiTPPS9qAiEAsd/aV32uHXjw9sj/CkExEfh0Qc3jJMNy8CIjWhX44vU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJIYxCRA9TVsSAnZWagAANyAP/A5W9WpAI7GFHRYGy7Kz\nOTpDkBFrAf35OeMLfyxYNiVV/NQ5cZ5R7p5zwD7WSOTgN5dvft28jIb2S437\nHHFkwe9xjufjfcaJzttaM+Xloji28jiug3Z4I82V2HzDAjPBApiS8zpL9RTO\n3GhlCtbyCVeyZLKXZTMlbeILBK1600EORaYHbt+AhZGOQx0QvadLecOVD9+q\n+snlqkluzY7NgMw7Ca2c9D2bJXeB/ChVVCfQaFdIZJwP00S6K9v4eFOJXH0q\ny1GAAiNJCv3o+VOh6ezsKa8k/GjTiVOg4cA40PtapkTm2OWJABI6LVxqHDry\nlSovOETf75PRnCw0ieBUOedueeZdzxhmNKHfMC76cl78zHCprijnVuRg6sM4\nqrjUVhuGgVhOX5sbF+d93BNa9FnLCQHUlrjYPTMwSmjNuKtvhNUZiABLdjCJ\nUfd/FuRS7G8FCCmojq5mzQg6AkfCO5gPoxnOgK86B7W9FM6LPwo3TxdA+n2S\nN1bcJtA0ZojJ/lhBfDOIoVpxK4Q69zQFdxn47GjG+JGhwM4s+Zj8OF/g6Z2L\nF2xjLAtRSbrI6BF9pZjOuJkSKFKWscjSfhrqUs8ZzxbxPH9GDNuxNi8w2nQc\nd7GO14A+h5RxkPCGS0fkSpyiJA+hqeVc8wUB+fuvV6o13bTxbdRzjhhKdRXI\nWS89\r\n=glXk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install --save gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"adff3cf1c96af3d8735a8d359ecbc2e8825295f0","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"blainekasten","email":"blainekasten@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v10.18.1+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"10.18.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.3.4-unifiedroutes-v2.135_1596229169018_0.44173957238005745","host":"s3://npm-registry-packages"}},"2.4.15":{"name":"gatsby-image","version":"2.4.15","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.15","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"505d116b4cd2ad3dad5a35a18c2df889a5e6424e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.15.tgz","fileCount":11,"integrity":"sha512-18DbwBXFHytFxk3N2mRO4g4dI+cm/0lUk8WP0jGKrJlgMxUYGf5KuIfugTPbTxC0CAR48DKJqB7CZGcpaGFC+g==","signatures":[{"sig":"MEQCIEgwp/FXapz6wskabX8q5B1h42dvQfxVwwHIh5tKp61mAiBdaBgtr2HC6mW7NJ+P32CRaSHQw7qAxHFrnaDnM+TkgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMaiVCRA9TVsSAnZWagAAkVgP/0CtFE8YUk9aLxqCmLot\nRTdsEyAr5s1vUs2JdB1VskxLoXHoKPALl3gWjHNVtRKBSiux4SiCjXZWHpY8\nmt3GyIJvEkwgTuepjswF+FDKQJ4iWh5riRN0w46CxkIKNHYmWIw0A7qvrIk6\ntFfEBVWH8zPpSE5KhKNC3QQQmlennCFLUfj4jjw7ZwLc3g7d4Zq3PsSEbzXl\nLfiwNYqn3rpJY3eyCEeKnGmciSzZR7lrxRYA21f3Ci5T+gnrI8dWDkYviuux\nFI2GxIt+gWOlf6+Nnyh3p+gsA3xq1FYYe6hMw+x8fPZnNwvgKt0c3a75J7QH\nAnkDZsPtjjQeunD+D+MSUPAeDOH+bGakuqwWSrSJWP1yMUAImOzjYaQVJpPN\ngenJJJGZcysePjId3I2qouwWsOh7EZo1/rkyOwXZ05xU2BGIeB0nJlllfRwD\ncN/GV1z60isPaCijqDAuRSJq+VcVPetm0vGyv3naW9TUYfklWmMDFd5jMZPx\nNt2r/ZyzJH6xNstkigc8/nq+Xe7kKfMpruriBp199N1JlajESj1yHKJPQOLU\n1t5jMciLG/YIwE7bYqYJr9OmOR05EeQnVhJoqWCB3vsXHobCbuCm8A59dCeq\nCq8J7I3vXTU0ipnuUZyuXEP+kpGKo486mK+l5i4WwwLbwGRJMdIDPNLKLQOj\nPSrY\r\n=iuT0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"d4dfec8a693e8434a7b0468a86458020d59274e9","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.15_1597089941076_0.4231660965309354","host":"s3://npm-registry-packages"}},"2.4.16":{"name":"gatsby-image","version":"2.4.16","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.16","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"65ce1642bb6a0c8d87c74b204ed79995cd43da16","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.16.tgz","fileCount":11,"integrity":"sha512-N5kJ3LE8re57DgR1lAZFWP2or0nCSuNXSUKvSBvVgxwcebdcFGCxN/xTJbU4ojFfFBJ/D4gKuxJrvLvDf3jcyg==","signatures":[{"sig":"MEUCIQDVGy2Cmq7lqbAIAbkcCfh82f4HL7qOJsMd68AryddppgIgTdqPiO8msa/L7hU7YdJs3K08LgvZ92/im2bMidfv4cI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfM8DxCRA9TVsSAnZWagAAiTAP/1CpocgSntBeoE24HlEm\ngOOqRELbadCLwgNdh1oylGynO+4bDzJQLhwIpMzYdBzXWDwvis8zPEZ2QLRA\nBSu+Ii8Xy0tb+2GRIKDC+REBulZrixFfhYKVFp3d8hlKpUUmn4LDFGCrORC9\nngGc+efYruI9ywgv6JhyT+MGnWgwUpzDdO/tOGEEcOVYdkdjfwNE0J3yA72r\n/ZUSqC2EP7iO6D4CiEbKm3IyF8U3gCGGYRLOK86Yk2VwoEXfL2Ja7znkmKFe\nO+ovn/lmMChItbkxgj98+MxjtJAYD5Lw8EGPo/ns1taNyihodPZQa7kNMSQR\nqP4S1aMtOnoc/n1HV+9nuLImJCd1biK/KQ762Y61OpQLT6lfLxRclG3gTbaw\nllkHaHxy91qf6bR9wY3u4ls8vPAVPEnzNore3nPxMR1Qwgpg/x4m+SGTnaI3\nG3fXDy84mADjYQQmQWamz6vxZQCMYHr9UKJnwhIT0mHVJGyuZ1mklt23yKxX\nPI3tYQWJ+t8Neh6BYxqW8G46U/PkfCleRG2L7Fh6Hf36b+xXb6Q5UKnaHtQu\nKPFO7YoOdEX3mov5NiDJ7DXTNb8GoZzOubzwtl23cPmLh5KEOFPs67Btyox0\nmkt/BXVUafIGPr/S6nUZbOAel+/PgopEtojGX4vR8bp7T2RIUeQVoxW3K21/\nWma/\r\n=Exxf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"76be951eef5e95a03dc8faafe57a5888943e3f62","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.16_1597227249226_0.4134997951215815","host":"s3://npm-registry-packages"}},"2.4.17":{"name":"gatsby-image","version":"2.4.17","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.17","maintainers":[{"name":"ascorbic","email":"m@mk.gg"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8eeb49f6a0fbc367f88b66f7f9a56c5c9ec4c430","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.17.tgz","fileCount":11,"integrity":"sha512-DPt5fNzTwBx7k5RQAsbU30O8mGtw9lDDYF0xrD1N/++B4dT5ZfUb10sfxwyBv2GRaSjClFkqED6aDihwkHOOfg==","signatures":[{"sig":"MEYCIQDBNaxdQlC1zDLyBcLnIRjcIv9bSd2XUC499nYZThgmcQIhAK6wbbGBm37ZwcCow92WrBIV3NXx15xIdMBLkc6MZHk/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVgPfCRA9TVsSAnZWagAAghgQAIZGVRF3AQFEbUeuNh/w\nhJqUIx2p5Jfvc1Qsn+b39IqGG7wF4h+iCFRMb1cY60Xf8OcIu3xj17htOVKH\nj51X0+RWEQlU4NsiuUzWmT+OS083JcCp7i02ZSFwiCyIkuKn08gjLa5YUL8M\n9GeRqb2tRW6fQSnVHDiG6rjSyaPR3TXAenzB0GrVKZ4QeS4nuAJ7l+FH3lHp\nsyibVPK4DvPTVy5D72cwQa/zeQBrfHi0btkmUdZ40urSIdcloPtQuOEW8MFF\nvbrqACsm8wiZXisvn/JPtc6Jkleb5/6eZjUjtCAIkms4AN6t6+HvG81qFRVS\nfFBH23hemeRjPgcj+AS+8sG1N90F0nPms19YSR3r4bmYIfvYALY5fPTTjXlj\nThRd1iLm1JD5sYCYCNcD5JCttq7fT+TVNAnsrUcRpdY/i6C55Yi7UyV/o5b5\n0fm0fDmRz0e4d2JmB8JF5QKzE4cTn1pq82UfRmcFdsklQkGsV50zoRGNEdvw\nVhSDo0I03WPSLx0O7wjk7eDQEdAUT6Ubv9h4ep7mAk2SyryaQiyVwqVZ5aYS\nBQTcoaMP4k//iWVEzXZIehcBfS+DfnBLJRv+vM4m8FAIRWRsVrRqu9ZIJqaK\n8SHFw2VUq61qirH18oZ/za+ORGbgzsBvVmhaicMfijUiruG0ImTqZANd5CbW\nKpWp\r\n=4OKs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"7f3221b55270a187c08b3f0674ca94cd202a3a38","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.10.3","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.17_1599472606666_0.7197928768386197","host":"s3://npm-registry-packages"}},"2.4.18":{"name":"gatsby-image","version":"2.4.18","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.18","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"3108a46909a7d72304bbace4bf4ef2501c412670","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.18.tgz","fileCount":11,"integrity":"sha512-44UL8SFeUphyo6RaWfIlf0HP/ZMli/CpzeUk5ZyA1A+DfdXCphrO8W54P2VC36IXdT5Q9H8KQbVtm6+PxXCxcA==","signatures":[{"sig":"MEQCIHpYeg1pIg34fPpfBk8YtL+Ki88oueDr8k0CzOsfBieBAiBXAb9USAnheGZP/Db9tOGlZ3pwC7zMA1drT+zIvXcf/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYGiTCRA9TVsSAnZWagAAFLcP/RekQgsSLn664urgoN0M\nSuyHTnSDPVnCzjb9fyC5ejK+pSXSjrZzDALhF0Iu8NHNHJPGl0z4SJjz1Gks\nIOu5yfA2z1BvdaKrLWIgmzecPFbw5bFJ3QCj9ssMeHtamFg3Rqgo+VtUkb27\nnsaEK2Hvq7/Ii/ySatJGeQx9Jr0NAx1Q6cxVdFh5kPmaOLb9Anv9vYXaDSxH\nzwiSpL9w1SmjqUn0gv3I+unjMRY94HoWd4gCKiYAuVz6lmJdvOcqvjN1bmxp\nwKHRQx5FIXwgbqtcIQlwH2/cvOj0NqjZADr+C3qaFucCbytsyWT9zu198+r/\nWQQUX65nlNXhRZJ/5Hmlg6jxASevDOoe+DPby+g1f03i0xzXDBZeESLp/FVS\nfomoeQCKh2ASPaa1HHDWqbKPBOId9a9cnfy68d+oUDleCKAxd8kv3P3TYNF8\n0XEYbs2XAcZ6RKKG3MfzhB2bRnAKC0RcaoY3hRH68H+cuSYd+vbxPA14ItnZ\nmhudxFYE4ND0cS0/VjL6c66jQGszVHNRAppDenfNbqTmw+Iy7C35xhsYh7EC\nIKHMslwq1GvDUB8mfkrH6GVUZ7knRwI5Ejs8YgLf/xUBJNIZYdyQQfegrDeP\nUKirlcIBy3sZx/FLIe+4y64oZk0BsWspn7xj70VY9fubZLTyrIAlYxCs1INX\nL+av\r\n=WBW5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"23d8966d17d582f32d2922df7d22b0f20fbb98f5","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.18_1600153747260_0.9063988178336149","host":"s3://npm-registry-packages"}},"2.4.19":{"name":"gatsby-image","version":"2.4.19","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.19","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"johno","email":"johnotander@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c501439ce7973bfb7c17217bc9e26aa6f90c6072","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.19.tgz","fileCount":11,"integrity":"sha512-LThyQk3ylD8MrK/6TY46Cl8ihvWqIGf15gB6X4UphOxaU+3ZVy6mJUumFIt5ZxFEBhGoHI8lmymBItwMwcsqcg==","signatures":[{"sig":"MEUCIQCxgWQpRBIpPOrRdSEP3FvyKGPl9462FTl0+flFGn2JmgIgJFddstOFNL4CO4vMAyIe6tjsA1wbMr6sdQWMAl2C17I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84348,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYfMsCRA9TVsSAnZWagAAXXIP/RVn3VdKfPwwIMNYTHHh\n+OrQuWDkl52JlcNq4NT3sCRr+QPcV6vYuQeD4k0NHR+m/RaEltiMeJ3H7O2Q\nAxshAM6H8Ryzw65GX1Ur2FtvFHGb0HB8oD67K3DkVB9iOBrI4E8mt2IB0WLh\nBCdXGwtajRFrp/+KlL+OAhXKwNWiliexnO+I/EuqGNwTpPfaFdF+0S8Cf+lw\nJhQXWkOaoqots68TLR8U4oL9TSINEhN5++0AlnMlgNtfYinTOsaGXejtBmtF\n+djffGTqz6r5O1JeNB86EiszV3kxMFH1jO72iM4uuSodj2+0fVG9smt6QRMp\n9N50589hw/Lsrd3b/tipNbWpafvK4N4OVVtDYOyKjqxQT269bB9tLg9UaeM6\nQ3KFxXDKnVyurzlhEFw+JMtxLUarS1l0ln5W1AbRLA+c7WdWEhbkzEQszjlb\n6wknHVyI9eqe/k3OcMgMDZVUJAXDxBgZ+DjR+GCG0Pebkc9ucYSWcZOnk4KD\nTR70uGVIAHrqQU9+4sYXrOO3jkXZAjFgrc+Odk0J4RtkDPIHqdk/u8559ToF\nCqKkjm6I45Z3557DxP2DVJnr8GoXPRh6Ve0shO6Uz1RSfBTWKi0TR5eKhOB8\nTPDXomt+MCnxj9lcl87n61o7lV9RF6DWjtmdNmkxSa+PykDq88YMFML9Y3oG\nirxi\r\n=lXkI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"81680798509031532b0c572751b84f84a6d979e1","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.2+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^5.2.1","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.19_1600254763768_0.597643725756166","host":"s3://npm-registry-packages"}},"2.4.20":{"name":"gatsby-image","version":"2.4.20","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.20","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"760d5e5f7d7794ab8e0c8ffcac35ab0fcfefc05c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.20.tgz","fileCount":11,"integrity":"sha512-Q8+h9nPcWI8SZvzaAoeR2qZfLyKVhYDzBzllT5nigkV5DS1585u7IXawTB6HZQWeleMtf+rKAvYDujPtkNw3lw==","signatures":[{"sig":"MEUCIQDggYkcGjmCFQpzKnOwfNFw2VmCBIGA8fPgFhGylqBOLAIgTjAqKrDLnL8vf+zlZVzbcDTzoFO5PjrU/k5+ElUCRGw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcd6dCRA9TVsSAnZWagAAmYsQAIvpURxfUJHTvW1hbLKC\noLc/RMLH8Z3Fj5QYYNO525Dh5Pad04dkUqnecl5Qf3YgEZesASNnNf4M/lNC\nyRXIm/w3j/rAZvSMNVWDQqMuU7hcR+9+3hFq7+wpq5JfxesCn2BxpINpLZqm\nnOHrkaBbM1xn00SOig96f+KaoEQKcXDfTPo+8YNMjogJifTrOYvpMsH7qBtV\noYP7s3QIhJjPSOObSCy0hZFHIG6y9Gwjw0Wy4H/cwdgVzRqBqI0VyPe5oyNl\nQG7lDzfymm5VEh1OkysUhqSJwypPD3hKuZ29hM/QuSeLeSuLWxsSFKbVUhcJ\nWVZDzbW+f6O8BmDaqdMt5/OrbtIyZjlPPQNU+RhZ0BuOoqFGjSRe7C3nMXgW\nLgE3EKNwCxUtl0BOZvyFoBYpHJPB4zf+cSR2qefSgovZ2Pfg0K1bypLS6lbA\n5fyffrbG+UeLf2B7wbRZZeB593XSoc0ciXGwYTgPvl+JXOADr1YLvGhdw6p5\nmC79uLsx/G2WsXttLSDarbmmhlet0fIsROn9+n/JvyyzxP8IVj118OHabSks\nJTNg1MEa/liZBWEaMxNpsTchVdRhS7kuXEqQlWECcZG7mnkMIApOhCmRn7l/\n+uYvJzkD77FGdXXVD1ByLq2lv6ohe/bhrylWsLHLqs7G2O1SzbkiOCGXjxba\nxXfR\r\n=H/Ye\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"e829ab9eb44e28961e9557538693fd752b221f9f","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.20_1601298077235_0.8420799315502827","host":"s3://npm-registry-packages"}},"2.4.21":{"name":"gatsby-image","version":"2.4.21","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.4.21","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"14032912242eca6a21929eb972d12fefebb355d5","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.4.21.tgz","fileCount":11,"integrity":"sha512-OrXJkCR7z5SYkBumjPyoZbV9RqQQZsIvO1JM4WyzIMKcOCKhpOFChCahLXdi0Ggnw0yVk58CAFYGWUjNeVdUpQ==","signatures":[{"sig":"MEYCIQC0eBNYbQER8KWU3F3XbHe40+GH7/OY4C9IObdqlO/ftQIhALf9BbPq9b+V5rCM1I1Rw3FMclbEuBqfhqBHyx2VL1gE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffCKjCRA9TVsSAnZWagAAZOIP/iEI2eh0dbTTr7mMeC0P\nuRNNr6xFRM4gAZPehn4J7agIF3oiBUUsMnFr7zawLP7t9IZA5bN7atgsIiSf\nERtkdCldRrFuV9A1w4L1jnkwtLrR49FmwBo+kMiunYT+syUGHLVtmrWpbqEt\ng+1I92yiPGGGRdMhYgo++u2mq5xMJOSyke5UyAgwdVLymDB2dMtK2RSPcB4o\nQwzs0DmgIDa6mVjKT0om48qQPlQYXmQHet30eOH+Uezk7WNSMxVOKcgkUG5A\nGckVIhtyWYnudEHinCt1MppbQSX6MGq7VaSLudJslAMXH67scUbzV8PI+2be\nCd7rQPhtJ0kUBdpKhcXf/D2CKBm5EHNAGlCejNah2MEKr2Rc54hjeMr9AtBZ\n70fUdZ3TFDdTgwNg/1RQADBLTW7RjVyC0T1NR+8Z7T4WYaBiLKS7x7PAx1Ut\nomYNGgtmBaWn8Cmi8/F5t3wABz3/Q2XZw+LKJhC2nPaaR5R6k0c+fUBpsAY9\nVcs7KiBA/FoWQCora1mdQY2yHRYAbBbtfPwL8wkA8IoJIRL4o/wt3YyHPeoA\ni0CYAZ8XARmDB6jxcHZ3XwSvK41L4ZUn8qcW+dLSggbM/KOCJfv9uyom+nun\nzunOXXfLueRKnPyIIO0yriSnKu6Kwmm/xoOZIMvfjJP1taniRWgbnfom5OJi\nHBMo\r\n=nzvU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"84fa4be59108d02c40acbd2fb07c96a0c85aa85c","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"mxstbr","email":"contact@mxstbr.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.5.3"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.4.21_1601970850511_0.4244547444237723","host":"s3://npm-registry-packages"}},"2.5.0-next.0":{"name":"gatsby-image","version":"2.5.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.5.0-next.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"85359099e182d53b709c2ae4b4015975c35b035e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.5.0-next.0.tgz","fileCount":11,"integrity":"sha512-hO+NIa887v1uqj7R25ZxfQ2SUWyUty7jSZB3scK5dPmC8RqlixfRm5jCYObroyXyX04w3UBCTl2WGheg5r3L9w==","signatures":[{"sig":"MEQCIG9GT24AueWavUpSoKh6AkaqhwIEw5gFGYnKG/XJNgNrAiBTyBox4ZteKFk4AzuAVWZSwsTW8/5CdzMyv//mL4cdxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoYaACRA9TVsSAnZWagAATigP/1auuTYIYOKIRpsejXnZ\n62Ds0kHJ5RHWkdl7xufgvPgMQCdARqoD9MqLwsHXM3q9VbKLFq0ohNjwmAWp\nS6xaU28ZCpkjoBLhgEagC616oPgXDIv0D64uLQvDj2xdXk+d2eEryw83Ki+B\nARcO+Wlhy5dD9FKOa4g9GM4VA0/y9f21yvv89stOL1eyX95QpqymvGvYc3rj\nkYZlzjgEKYELRI0nN5LPkKVe0suG0Zq2WJDtctBDhm1n+KhwiGzZdDHQmZ3j\n91zXbgp0cQ4S6rsmvuOC/T7xfxOaZMbVzrWENuJyJ4RTGkH3KX5WNTXTOAZG\n7hP/d9kYJb7ep2B0rBNtUE3zT8ZFOFguA6ViaWgWujX5vLLZXw/hr8XQsfNZ\nkzs/byyImbxq+TD8HVR/va+xcf2l4RALmVxcZZRnkWBBv4WzUw09HBhmsUn0\nS10DfCE4X7Lfp7ADNdl6okY79BefXTR4j/hRRonVZmxpfDnzqZ8kTfTofuRy\nSFc3me+liXyl+3uMhkCdFJy28LHzwOg/qrnGXeHOoH/AWWUW8378naDABqxw\nPPJKMy95Rqp/TTp7Pl8iqQ6Hl9p7oZepdWaHH3cUlKr/VENkHsri+EiHKFdE\n7EdD6QyDSnCbZr5IzEEIl8xNnaVkPCPMezLQ1JCiGQxswWvY+pOZ5n6fMW7X\nSVvz\r\n=dwJP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"5c6e3e67b059a72147075b04e99df44da5052c65","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.6.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.5.0-next.0_1604421247824_0.4482013124238906","host":"s3://npm-registry-packages"}},"2.5.0-next.1":{"name":"gatsby-image","version":"2.5.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.5.0-next.1","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"46c4a2514f4ef4613705889869badd45b731b850","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.5.0-next.1.tgz","fileCount":11,"integrity":"sha512-fU4zAlFfZsMudg35zxrQMqz8Ai1zWNSCZgPPVVmqeyiJjBfE9hduEAKfJDUnzQDOeSdws672rZovj9sFoHp1CQ==","signatures":[{"sig":"MEUCIQCqd3aXZV6vJ3JOtD9Z+PlcE485UEkXhDNVQID8wPnETgIgYnI/UlTSiKa7fawfcPldps+48wwy+b8Bn1VpYyVwmhE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqsEpCRA9TVsSAnZWagAAY/UP+gJb0OGkkD8frrHDwlxx\n9p/O93dn7cA7JBeLucLnjZzL8hWeHIPNNIAfMZW00v+gXsQI+HGwZwIibmd2\ndIi9v0GwUw327Wh9w+cr4g+eMQ3hA09N/Vf802QalWzoZIpCD9E+jQh1HWKU\ntl4sjAuzsuF0uagRcr0tAVNmTlDtQxpPkzbkvNOsl7KB1iTk6Bo4UgIsr+7r\nptsrXqvgfUwO0bDQraysqa9eRHfg5FKJL74EhZGyMsWroyQt1/cJeSgM/tXe\nK7wqtIlJdx+oN6DEZphGoBnBwN65IbsWw5gKkgaKBw6SEhhY3ZqLQvtnYxfY\nayWqdC1nORqbUGVskSLg3LfjAe+xc1MDA2hXPuIHF0B+wG0AMSRUjSJzpMss\n0Z9TWknboEp5TmGGmZWQD3LtGG8tJn5rOLWQe3mCZDa+ervy9T47Idbp7CYP\n/2FBXxjyY+IKTSpeMD13jgI96logn0kLsG7CiAL30uqflDGs/1zkzE70hsvv\nQedNtwQEmOaLNvzPR43hilOMAlpo5nhw9fu6UFjCFQuNrREiT8k2IaDhjzVX\n8ZxnTEpVkQ1WW+3HKyrW4KWSgtzEwPBXnQ89P07lzGieF7SG38kqpdulnV5H\nrYZgokKGz7k/Z9FNMoUZwkXKopIl2pV6xkuP++jg/zsmeXCNSLygTKiXr8EQ\nmPJG\r\n=xN6n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"7337f8cca6afe5555deb1e766b81e79691f5333f","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.6.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.5.0-next.1_1605026088450_0.5370062953559944","host":"s3://npm-registry-packages"}},"2.6.0-next.0":{"name":"gatsby-image","version":"2.6.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.6.0-next.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"92164fad067861cb9ef0115b80a2f443b6f00d2b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.6.0-next.0.tgz","fileCount":11,"integrity":"sha512-DaTGIE6QT6lq+J5kX6qBC62fDPKJ/Gi11uZpDdA2RptSDKh03SHQ+h21KY+i8t+UFpCfjojozmwkwsOqyFZc9g==","signatures":[{"sig":"MEUCIQDK7n/noiJHtGVdTEveVBq2ogwcYKh8S+6km0iiES+6PgIgbPgTDVtoiuhKcbUACe+TJeKRX24oF+EJINcGvB9+ZQw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqs7aCRA9TVsSAnZWagAA/TEP/0WmhAGk5gmzAXziHc1O\naEnJ4wvjr9JQRSk9ZO1SouT9aTzI34yqL/yZXdiU/YbPQoI4xvFg3w/qMwYq\ntCBl5VuB+uvL0ySHHOujDwwQpB+r66sR9IRetjVCYI63g+qamr51CxBNXmv5\n5m+Wg7F7VnIZSqYabQ3lK7mhtnIsZBgfXLhdNVf2trweuTit59PA5JYNC6N7\nEZ0L/8zHyLR23EP81//OInfW/XNDyw6Z3biIFwFdLOxeFOuYqvsA0n3rNq1t\n139T7SbIbEE1A7UnevecMRoXMrEh/ymVpJfuWeMaeAiwwQQN8d8sMbHxjyZP\nQ4Z6MUIw6iuzphkRs5EhKlf+rhqfBfIwelVru88LciM1qWJo/nqajp4x9HCu\n6quRGXeO2WUMaaVPuv1BD7P1udmAlzUontgirN3/rrej0H3rwge44MU5tNM8\ntw3x9LnFR30r1JBw7sXNjuXnAtVn/1oM3FIL7qtyEtoRCZYGNUEE7duM5bM1\nkq9SMb153IPGQ2huujJVnl5Jq/Wre1pKSfzmKumGtvLS+toOTuAvJZRlngkX\n8p5ZsfJiVvpTw4HcZVfAbefBT8dCfXq0k5rCttNClkQttaTNrGJmgD8vU+cz\nNQz1enu2oZSmba+r5nnZ2WioHM5ZUjTfCB52NUR3cp9VZjsL1N5tQA0nFLjz\nrM7R\r\n=Xisp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"3ed71f9051fbcc72cfb0ea4cff82a0d3734fa2a6","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.7.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.6.0-next.0_1605029594342_0.8842779084362076","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"gatsby-image","version":"2.5.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.5.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2a1695eae3182755a9fa83891ae0ca9ab8718794","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.5.0.tgz","fileCount":11,"integrity":"sha512-XS57PyRHSKileshs6kBqRs3KXsRVSR1xDYiSoCipDa3C4GDgUUPUPYFz+YjWAa2lk5vCkOEYk8vWdm4d2I77zA==","signatures":[{"sig":"MEUCIEOeQVGt8b0xI32r3BoO4ZHUPvsBQ/kWLDmWbbDEj9DcAiEAwigxUgSFGlVRr52Zdz8WRw4yvcrSvrFHzfdlmLcEUrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrWp3CRA9TVsSAnZWagAAWckP/0tAoOOslQJnys828Y/q\nmyegdhmIWe5Gx5ARkcqdNPcOm8MHDBhF13mzhK87+bxJsyksVQmkdSjev0CB\n/j6kmMFToptYw8uOQr+W1BoPW18xxJes8CqPJuHtEfJXCiK0NcJnpg24H8Uy\nNWirhm4/9g9VEDQw3XdyKqbQI+5MkSwEYb/ku5CMuzmzfLfPyrcksDBAeu3M\nV64CKXxx3lD59ZaiFVX/xd9QALVhc8AA5txkEfsj1F8XY1xJ8rzNlVS4/Ny7\nYTrSr/7z6XRjtBGqlC0SUr4HYW9gFCQJ1NFbJxcI+pbQacWHK6XjDxjTzOxo\nePwOEz/OJnaDBOJ5ywBL7s0tUTD++EH4Wze21s+3bus1skMiZq268WxrKa2H\nnwVF0AATyX1QhdfbNj9Hi92HIO0o+VYpow4qD4pwdttNUric+sIlOhX+Z+nZ\nWPK77iQzjYxpwMh2cBEftFFOCzmM4iYIaHEM8eA6gy0AjhJABkGCvrLUB9uH\n70eIWb2YiZzKwrC0kaB6wZ8SCIrff34Ip62kPaZpjNPrHyq8TCxoPX3tH6d0\nyJyif+9OD7fD8Co6eKt9iUd2x55MX3uZ5aJ4s4sSDPoRES0QJD2GjTzccikS\nqeKAnRPSf+ahpIn1wiYzvWSH2MM/2gx5PYjoIwoCYkyiclqfIkjC6VkQuzWP\nIBsl\r\n=c05j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"135e554aa9e8f10a282983eca65c29ffae738339","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.11.2","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.5.0_1605200503303_0.34484948807451055","host":"s3://npm-registry-packages"}},"2.7.0-next.0":{"name":"gatsby-image","version":"2.7.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.7.0-next.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2cdd76d06284c5e6eba4ec8db9c1c430233250f0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.7.0-next.0.tgz","fileCount":11,"integrity":"sha512-LZWlZVmIHRKsoPV/gHgBuYCeEXILYgq2/gzrZjJPrxBr4Gkkf9oGA6oImfuZRzaMGXA6KOPAmRg51HYrsGNPIg==","signatures":[{"sig":"MEUCIEdo2DVE+aWWlXnXUndoiBwb0SI3Gtp420475dwmtAjfAiEA8Mocnrlxjbk4MPjtVtXH4cnJDE4HUY07fPIVhq9YQnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85149,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftLsgCRA9TVsSAnZWagAAWVAP/iDP5T6dJeGnDnudzC44\nb1CIBoqAgu/JcIrQbnDrl6zTXa3Z7RmSYzbmhJCSt1bMBDY9su94M53oIScB\neVLpfwGkyMeOoTyvqo24qA5z5JkaDBgg2MnEKaOXyQeMrenUwpGEsA6Z2Kal\n3wGCwHPx0jd7jRM7INJzo3MNrFnOgXUvhzZt7VJWC57wAg/gLRSJxyOGcLft\nmzgCLl/0emIcgyQoJqT6ScTEEPesroqcFHIOvBdsK/gUXMFIF/A3bd63Mh4j\nODXT3D+keJQJKWqCFDSDNvbSfBH7wJLCSThmGZibyRafN7hvThOx+CW12o5w\n3SSruGKPadpKW9AivK4dvJLy5fAIcICCjxlyrH1MX3hYrAwZaX6oASq187R5\nmiGTrQ5icoMgLIMGE2LDWOQ63RdOFAnHVqGssOPg9uQLCFR2eVB4SxoOTHey\nxH2tAhfp8NBopXQiOeeTtk1h+8QVTLPC6rGYrbFksuyJmIONGgrtbUmE97QD\nFJM3ll3PPRbuLqCfXziYwkjUwcCraaCStJo7AGf2dv4p8uygV24Rxf/LNKGT\njK5yURnHGxX2XHYw0CS6IbO7bIv2b8P6nTVQENl3JLNCNK0QsODe92I+bCWx\ngnOL19PpTOVM+1XAnWQdixQ5QKikZQi5UMYuiGfmlyg0UqY8KmTNUaAywCcZ\nzG34\r\n=MDel\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"fe8346543838a1eeffd1bb9b1b278e99135a34d1","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.8.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.7.0-next.0_1605679904236_0.8898849417222854","host":"s3://npm-registry-packages"}},"2.6.0":{"name":"gatsby-image","version":"2.6.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.6.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"0d0b36c64cd718f21ae1d8ee42ed6faac2c1c2d1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.6.0.tgz","fileCount":11,"integrity":"sha512-BFQ3iGw6mDYCEAQWTAUf+1YDc8FnvEJUqQtan+lTbfh+nb2zlSmhqPn2Pr+T3GnIU/jupmX5vITR5CpFLSfDyg==","signatures":[{"sig":"MEQCIEjluSzmXw7Vxz4jP90WTLTnkHD1oxjE8MWSEnbaRtJBAiAEX7QPJcL/pEh8zmxHl7/bG2IFHmrIf5TJlFWhSA1ibg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftr2VCRA9TVsSAnZWagAAr9kP+wU2TVPvy9TyQjoMrdG4\nvALP2jCsXe4mThAlbVs07f0hig89VsR7oxLdeAQLa7j+FtsolKYtgUBDY+/9\nDPrf9FV4qOqggA7KrEswxV6Eik0ZJacbkU+esxiQ+zO0HIf1szPUfw/xYPuH\nI7FjkbnAvkkRYy7CXh61UV1NN0Tk1NuVUQZ34ii8YaK7PUi6G3DrObI91JOQ\nEkLYLelaeeN3UFn7NRZXJ6TM6tRlDAdg4QHL6q1RhJY96shxBUIoE2lP9KQu\nmnXBp8JdbY0EdIjqHi9tIEKfNctBKHnJdu5MRCqjdK5xLU0cO7/t9Qvit7Hj\ngDz8VyE4YIHaGR/2wdKsc8YTu/0p9QpfkEm1AVz8zcv2A8xFyXhZR/9aM9/d\nuKxouVzCEujDSB30sJGlUqzkztQDavm46bhTt/EKAZkOQ73shfhXLHDYYZbp\ndplhRCkKnjvo285uDMdRVpS+Ny+F/KD4kDtz6A88lnqehnK+i6FxD6NVFQUb\nCAY2PsuivOK36H2VUsByi9BsKYiQ6WrLBYxcM99eDXRu4Xru0JrMxycpdokT\npWQh9dI/+TBrKgUPHNgl+Qxqj0rn8CgP/m3GohHRM2kY0ClM+uSrOLppCxaE\nBLsO0a3rfaGVc3+PtJSlVJzqEEwsnANZeFByKsfYAIB6riGgtCn7ON0wvfWw\nOkcs\r\n=n2Nk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"3d607f1ae0cdde12fb8de53e6d0784f83875df25","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.16.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.6.0_1605811604543_0.11338932527695977","host":"s3://npm-registry-packages"}},"2.6.0-image-helpers.58":{"name":"gatsby-image","version":"2.6.0-image-helpers.58","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.6.0-image-helpers.58","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"196a2b20b704edf382738151bc8d7773bcdcac36","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.6.0-image-helpers.58.tgz","fileCount":11,"integrity":"sha512-xK2pQKVRDzHc101OvyBZjdD2RvmtAuIfBbp04sHzRPbfmHTj54kEQk8SjLqtii4IMk4tBvj3j94MpYR/02lR7w==","signatures":[{"sig":"MEUCIEypMr03MSQwwkET6iJJC+OVlJuC097NlM03AqSI3RRLAiEAtx4/PoZP8QCS+9+ZpW089qjnhm6ZYyckZzszvDe8X8s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfu9gsCRA9TVsSAnZWagAABP4P+QHXp9PfxeVqsZMMiP4U\nJWmj5h60EjgHtYSeFchFAXtY6A0XyCa/+NFnraV12W7VH+Wvq3DbEEoDEVnP\nWyS1v0LGKLRK3six6LoW7cPM484DG8iOBMrnNpNbVpX2H62LOkiWvA2BzeEu\nLkvxgWDwnyV3rRcD0uLcxfx8gDSIFi3aiZNYLEiKzt8wcVkZ/dSuqhliQjjm\nV6qMnv7JGbyvVs4EZBmBdPwyS/RDbYGdwHgqDqSVKVJ0ejdYB5R0p7JHkb1V\nurQCzUh0VsLtxKf3BZQd5l+xetpKVSjUzzhCBsX/rYba4zOL4lpM0+EzYiGJ\nLtWoTVicbmKbtqOAa0FWDhOhL8BhSn3tni/VP7FNN5UZYP0MzhGWMH3hlOZM\nWZxGQ8HPJ8M7Oj34IhqXrm3W7GDtWhJ3VEHb3UngjYarJk85ZSst7KRYRYlI\nrd5DRJf4K8N3MpupLzjV3uT8SVhgIV6OxjyO/BAe0qa34nI8WQJ6a9kA/pUe\nbhRQckTnHcWDBnJYpuQ4t3ta9jNQS5U7bnp+1PZAIT45HGGCDs/gszDGFwwu\n15WvQnR6F6cdyItstR3u9ZHj4REgIi0Px4BqPG7YmcnsVtZJ/t7eTBpyvj7k\nEAbz7W4RmTbzoY6BBZV5Dw2LiQyi13+OmsYR2C3Zswq8rF2tyOTeLUFVkLlT\nvUO5\r\n=YDnd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"f167dafc61a5376a7baf98ee484d0a04328be32c","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"0.7.0-image-helpers.58+f167dafc61"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.6.0-image-helpers.58_1606146084709_0.8500835470088559","host":"s3://npm-registry-packages"}},"2.8.0-next.0":{"name":"gatsby-image","version":"2.8.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.8.0-next.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"fc5276ed0d7857ebc2de2e39e0cb20038361ef9c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.8.0-next.0.tgz","fileCount":11,"integrity":"sha512-J3QCkTArS9YqAfaRb/GR+Bkj91z5Gw9FoI8MvziEjamyZtca4cW1aJTH7/c51osTSSYp6x2cuTrn1QUROA8Vig==","signatures":[{"sig":"MEUCIH5aFLXYu9AJbGIckON1CBywnh0a5zNhupFAutgnxIqrAiEArrM9dWcVxGQ/8xABbgJsaylp8L8XFSr2Ub953wO32AA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwCQWCRA9TVsSAnZWagAAsy0P/1OhxZzMKoWubljSK/KW\nB4/SHKEMHKr0qMzaCpKV4TlH8caVIzAYEWS9pusLTgL2a0HWqhgDICCihfmN\nhJECZjfVqnOVsv0+xKPqJGOF1xatye7+wrxuOrM9v9+uixi1wh7lgs/wybMN\n8DwSvt4ySR/vt148pJYeB+LPOsF0F7jb1BDOB3+X0EoLdnRrZd/p0yEOXE5G\n7NRdTJsP4NSti5k+nxOAgQta5XWdcVFZNyKXvHm2LLZcglF5KGTGr3U4/8Bp\n5OuJqpbjeuy/D6G7O4h9vztkNU+nU2I9c8Pe4DaQj4aGpUy3r/wYR1vllCCT\nP0NfONXjlt6nmA5EAYzjpXEV54hZfvHOdRpDlkkow8LymnVaXf6XK0Zekd1x\n1fUAzy99lZrac/JG7EZPwgXOdQXSoLUoapJKJ6VS/GbPcZ0EmZaQVW/svGPL\nDsDspZTyPI9o1BGbWt8+Q9J26aHy50G2MZgMPELGH4InN+chHreghD+pRuOr\nCJtoEfPl02yoZWNodTGcVcguDLuKFrRXPxKE9UxiMoN9uoVjjj547xRyWqCw\n7Laq1ZfXUEKCrJGtZPtc464IHy2qIQPVEELSJaOYsPOWq6Ze5KhlyNFgPkkQ\nBYOUhSHB+OMNaXx3yYscQEB3DTFt2qZg/WZ1UTbC+jfIeKVALuhR9DbTXvuv\nZ+Kf\r\n=Bgqy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"443c8d0daf0b2f5832ae2597d8bd46b5e5540133","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.9.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.8.0-next.0_1606427669801_0.3278166377064953","host":"s3://npm-registry-packages"}},"2.7.0":{"name":"gatsby-image","version":"2.7.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.7.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"laurie@gatsbyjs.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"852cb0dd6ba971bd5f5e3a3b86d018afcba71d10","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.7.0.tgz","fileCount":11,"integrity":"sha512-Ae5teH/iPF9n7NKQP62r5kDz6Rhv4YXpEsUdptRsRH6ioeykGtO1NcYjcsHWo24KrM3fd06LKU9LiGJ5pLrQgg==","signatures":[{"sig":"MEUCIQDHjKffPb8nVu2x0VCwES19xDAVEU+MnWZC2TUnjRA8ngIgK6yHx8+pyCBmwKo0d2J3DYCQY8hlOIW4a6kZfwrZWDE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxufMCRA9TVsSAnZWagAA3OgP/2BvoXxfxwt8uENHHdi1\nulMUfqfx/NJPr3CM+ZH5w9txHdlakX5H0uQveAkWr+E44xBEg6KfCOrxErG0\nW9goqN1Nl6P0nDrUpq7YA2uz0sqIYTh75gHhKOEpfXbQ4lm6HXBcYZZrWHul\nccHpFG3/y4SzxD7IHUgPTZJUm6nMIEXGfNGib4LZ9JfRr+Nhk9GVqJ9Y5Xky\nPqvym5c0hU5XZ4T6SOx521NuKKHmfwkxyV22U7AHx8Qk3fVvjawFsELznNUC\n9kAOUJK7qvj2ahsz4Y/c1JyppoQXRr4bRKD6lJOYuXiBR6axAT+P9n3csabw\nYf3RQd125opRLm+15WngvPJbtBToe55LOn4aA8W0swOotG2yN5JEy5lLgRcX\nV+7ub6Qqgbe0h6NhC/ypzIOyupyLP0FSJTQs2hkDaFbCYeGImE1elkvi/oWm\nXRZ0x8E7n50PD+vTWN37icLu7i4oO3qpYkxa4E6qcqWGT3z6dZkr9nMEr0ot\n4nUVYSp7GXrUoIW5jmQ8uiZ6acTJ8tpHfT0HaQANCt8uFDdjuhRkVAew9X+Z\n6XVQXXY+6iSE+sBbVljN5iFH+JqFKpk/boZaxwk6TWsnT11RMNgS8d2UxzrL\nX5z1TNUc27C+IQoYrcN7LzInsWJCA8ZWVButsHvvu1CtLQmJApboVGzRoIv2\nxBOi\r\n=oYyC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"52637b6a88f304a79bd3999615e224113b255349","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.2","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.7.0_1606870988175_0.7540855438835892","host":"s3://npm-registry-packages"}},"2.9.0-next.0":{"name":"gatsby-image","version":"2.9.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.9.0-next.0","maintainers":[{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ab99dd6af8f7666a320df56df581d70aac4b2204","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.9.0-next.0.tgz","fileCount":11,"integrity":"sha512-XvJ5sZqzRkTCdb6xUoQDU1TBs2ZD2VglkZ1mJcRDUiZG71SIP6vhO7pVBwC+RDOFnIC5JmGfHF1MrbJD3+AMKw==","signatures":[{"sig":"MEUCIH9H83auxXa2IaETXbehJEOy65g6OGRNdBtx/rck2tRNAiEA2QFoZKFp6QlBaJXY02ZjD/bNmYvbw23pRYrcum2GyAQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0pVjCRA9TVsSAnZWagAAbqwP/2J2XqWv5S3mLPoeQWVy\nmFLsQp51LS0Ik6zl6OI1/A1G65W+G7mQgJDU+OpigPiA2xbQfrEmoDKUSW9m\n4toA1jVgFXiJw91qETP+T18d+tviIQeVQXeCpIdbtOvHqwLV/mGGqTevstHJ\nB88C7mXElxmj8f8yxAURF6tHjP0P7+kc/Pr+6qKGf6P4eNgsxg6qY09qBt82\nPwN/1p2FJunzisyb1mL4OAALvgbM86mYR/Pjo+J9iyQhZnSN25Xd/T2tQCxM\nKs/UjVseaRc0km1reaMdzxoq/LWmkk6U00z2xomXIgU+srnfgWBUbH5Lrc1k\nfUKyzdyJM6g/jWVjm8WBub7FokzA+i67YeveCukrwLYaeb+ozarrL4l/zBiH\nhGLm75QIFJXKvRzhwgLmvBbS6ICdl6kVkSSreRQVmA2380B5PsLEa/sa/E1F\ni0+j875tcXegVYNdLqGDabfziA6h3M0KX0uxaT6FZsqiSm7pH763D+bwlVuP\nNxQRCmhYr1n149kax0DDgMoswV4Jyx3a7C/yJEbODoWcan8VOzpHa+OiRjoS\nY0mgNRHi4to55jPb/tzOW1fViMXNfB0gpdLrb/fKFv9oCKFttrC0ixpwF/aK\n+EemtXMdHX0X8jqTzl01vfLPHMKvhNqK2fKmnt74B85IJnum7t3wxQX5ZcUK\n3vPI\r\n=PJIK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"9eb5031a84093da881d779c3a0e3335c085e5f83","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.10.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.9.0-next.0_1607636322954_0.21180841096873304","host":"s3://npm-registry-packages"}},"2.8.0":{"name":"gatsby-image","version":"2.8.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.8.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"fd88262e3c046b7de8a3900bc082f65683490829","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.8.0.tgz","fileCount":11,"integrity":"sha512-yKoOdmO5E97PThF6W8KOr5zeg7nYu3sE44iOupyFKqUvCDRNg9aPBpruCE4Adfc3yxyhFIN70CGV6nAQNOtmvA==","signatures":[{"sig":"MEYCIQCuZLi3cOr5yWHaluYnErlTRFsQizSv0v68dU/s7UsghAIhAP1FcQs2KUw8bkITNhr2jBDyvGOjAi1Dzen0p5jWAk1h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2PebCRA9TVsSAnZWagAAHmkP/2c8uwP9wvQYVBXiGtRL\nbchSODtY3UESNBMVkehazPVT7iwsjzXdPzgXGqeGbuXMtCnCsqojeQD8D6BC\nW/l9u2H6YryYmK3oZbZ8ktHS7UokBkOTfPhcHNl4+BPLR5I1cAdxiqCtJLlm\njSj+ddIyJCkjEE2xB/MpP433fDZ5cxg8sQvXEIFIFwZx+IhxOhV28LBwMZSe\nSbKQZEi20g2dAO/dnaLJSd/lLRyN0ZyVOU6qdraB4PBL77gB2kDpLI42iiKf\n/q8VMt8PIgVWTWYnBpjM6vQMwiq6qvU9coa7bO0NflPl1WGebpzKW3krC0Os\nul+9c5CLaOnv87BsCrtJTReEZZ0e9ohpwoiUMiofJS2ek+Hw+beuVblgSJyT\nn3XkhkF/YPBHjqXirdTn1Mt62KpZ3PilU94C2dLbgi+DvZJEnnInNcqWMbgu\ntWAEopShh3+Dm5wAA2UsNQMBX2MJJcdqPrXwPp2ru60KWMOorSJv4pkl3kcG\nDU4pNKtQLleXhLV6MHJO/3Gp+keBcXd9Amf29XIUkb7AXgF5uE3WKOznvbCC\n5IJg9W7NFPNjm0/4QmkpzNDrOERCRVMuwj3pYnqBR0/5gtZuTBpSfJQBKZV1\ntgLFtIAKCTYxXtxAn3cCaqSfBkIqNbMD7uY2hFB0/5EZGKhFvCAxFHfYwp+2\n5rhl\r\n=ZcQC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"03d497f15bc968d88bb0c85ce427da797b8fc61d","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.10.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.10.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.9.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.8.0_1608054683068_0.7152170155931727","host":"s3://npm-registry-packages"}},"2.10.0-next.0":{"name":"gatsby-image","version":"2.10.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.10.0-next.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f930f8179b9406e0af29edcce97ec9f995db948c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.10.0-next.0.tgz","fileCount":11,"integrity":"sha512-QW7FTwty1jQXOltGtIlZstluNLRLo6oMho3HKJXCeXnPv1q53UItPQk9Me27RzCGw1q3hBKN/5fKdlhthyGqEQ==","signatures":[{"sig":"MEQCIDj0mYvpNemdbPMlAhyUMc61xNzufZm/J4CoVpoyEFgkAiBr2+m5fPlvCsaePkM5RprUvaCvyAsNr2/aDqVI1r2gng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf65q+CRA9TVsSAnZWagAAuGsP/2P7yJ0Drj2mjfxrgrn6\nX9LIKq3QTWjyNshiCzliY5//dO3kIkhT1cj4NeJ806uRxItdfgonfgdcql6i\nd1k7Kv4GHf+a7/e/nR/qGs7zh+Bfox8wmnGVhW4xMokj+6tgk8OS+no5X+eY\nuUicTge9223QdLzAEJM/LEne3ZLzloSeAB8VUVowNvW5h2uNIydyVdPi5zlO\nt08hYsdCAAJVqtCTHEyC9RCCfndnfY51s4Dl+2pWd1cbynLg6zvkl7XDNuHJ\n+Ywna61wCdfP/58Xp2KJF+U6RjBRDDu5D19FBk1XV4RyJHzf5FWRSqchm+jy\n49sZUVPw7DZGV39ewXvgcREiSeY73KMaoPKcBz36Om2g1cnhEK9evr7dMhea\nU74HmQoRH3N2A/FLmtt0Sl2p4+8UoX3OZu0ck68iciz5srGHI2B7XTkNH5a0\not5fi3lAFrTyXu8ktVFBR+vyjXOgu/8LBVhqirfzhw6igVR8RamQ2+rkk4Qs\n8pWsh/2ronDH5/AdT8aZERr8OoR9CpEQIB/e4tPg1husnj6MMgwyiThrcwKQ\nzngLUSa7UKuJYhnDwUQSfGeo2usEIMvOEZmgOu9+ZJnqMnWXbH4hwgKejp3W\nmjTJ8cZteNDNOV4YWqrLhmAbAXnvuTDtqUzIP+zvvaX7dM2YAG4XvVXv9Vnf\nrbs9\r\n=WoAJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/packages/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/packages/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"2059ead7ff0bcfa0897b1606cbfa559835b97f84","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.11.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.10.0-next.0_1609276094328_0.051615888086189665","host":"s3://npm-registry-packages"}},"2.9.0":{"name":"gatsby-image","version":"2.9.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.9.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2beecf109de1d2676a64f2aef3b5cf85cba2f9ea","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.9.0.tgz","fileCount":11,"integrity":"sha512-PZu8PhjQwL6anlCYlm8bVVCypMYqoMT6knHZS8UVotSy1+DbKorDVOtFFEq936oelEjuV+bBx9KuLOh7MpH8Qw==","signatures":[{"sig":"MEUCIQDnXvHOrFj8rjKU81fAmiXPxWgmCxtj3uaqSBTSaoJemgIgY4rMG95kkZPZUs91i4QseaXLPj90UGh4EDknPj+WrdY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9L7cCRA9TVsSAnZWagAAyCAP/jNSyKAc76yVQa8i1eDK\nqd82h4CHldCvea46MpYg5PSbGDqmvUOQ6Dx6V0r1Wres/aVtiAJbt+OVGr/C\nBWubR+CPlR8SdQVrrw76hY+gnNSxrBhPWHpJIKSh/1Anxd+J6PdEB7g5uibI\nmf5ldtRAtrsGq/s+vR7/zly8rqF6uLADNK+ZsboJP9qhqk8mla8lAXXKJjJf\ntaTIqVXWymwY8v5fj+5Qu2ZSLxpO9bMXAvYhgpL5nUqSWwQpNvDpfSKXPjoc\nn+L1SOpukeQOMBkTw7qnXKCWY6mroTAk3zyvFmXux0k8vFAjLMmd3IAyG0fq\nTofGGozEEB+9AFtrE3hwGHJ9JXYMU9BIlSHxxO99zKgLaMjHOn0jw+K89P4I\nBDd9VKYKzcG2MCjS4N24H58lbk1j6UFpOH+p5sEI+OSjkRKWyYpLVCXSqP8A\nNdK8ogwdwiW4WvvMB0WGq01/jw3uNTPMDrWHmT49UVrnc9dN7bTZv50N1hfk\nK1g0+3tMn0zIctgtD3r64AbY6gHmg0ZSjEAf4kJv5n6+OWI4zTunIwPiRMpd\nBG97vDYVMoiuo7XVttUQkPct6Gx6RgV0yvDWAnLimcFiwXmpzovOudCibOET\nzoEurA5Hw/BgplvuesKv4S0wUTzRhYCapeEP0SsXdmI91WswiswQPkpYHNWG\nbbyA\r\n=3Rbs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"f8cc2a3f02f621f20af9b60dda6f1980fbd37a05","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.9.0_1609875164321_0.7735636151890528","host":"s3://npm-registry-packages"}},"2.10.0-next.1":{"name":"gatsby-image","version":"2.10.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.10.0-next.1","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"0d17f70b75557250c0498fe399be1a52c9b12406","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.10.0-next.1.tgz","fileCount":11,"integrity":"sha512-M3Pv/nZ3s2YwxSlHdZyBS9mo06L6w11PacNjXL/NU3pppHoy3+yB3NKP+6VMbFeb6Pz/FroEUTyAAL7i2Qu2SQ==","signatures":[{"sig":"MEYCIQC2JsPiUBGtsLZBExshBq1pqyzOSUik41tEQOphzFQg0gIhAKlFU9171TO/544iCIEQbXDwO5Ts1mNQlQnUs3VNMmzi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/gBzCRA9TVsSAnZWagAARoIP/jNRaUeT08CWzt3bDG+u\nuD1yE0MIWBJyIN1aaps7pEdNjnSJZO8nBC1zW3IbFOR3VCRue4xBIVBfb9nC\nFIF+KcYPqLiFrDHWEzJxZ5frD2I9Hg8yTrozFJ1Zq0H8YZof9qjdiDE3C9tL\nSiGX3FeWOSyju9ngQ1mQq09ehvgs2E4uiXnreslqW0Xz7Dg41fj1TSaj0bdA\nNTaTxUI9dgUjYZgyNg1lw5y2NpqNZCzWMYAmN0YNmQ03eUhI/3EvvCkr9jSE\nxKGWE3Mec4fqHoHmtK4sBK+2OdQ0D/Zuhc0O5wRzCPb4RnRrIwXRgz33koiC\ntBoRQBteMKsF7fwEAzFl++ScXwZB4NN0Psng4/oM348MMczjTzpkTP7RnR9Q\nLPXFzHj+RhGpK6jeKo8jJ+463HQrOF3ROcCjxbb23Z3AbPAOzNGNcrXQCTgW\n3pgBgpnRcB2AvHTEEQ/o3lPAF1ZQIXmz7B7zEv64DHr3y2nHP1ZPONXM6OQM\nPTnJ0+yUHaRwOj8/jsbQVymaeGsgmE8huJ9yyhskVtSRuuuyqt9ACTZ6yOhp\nycTEZKArQFGGyR2tLQVmpABvQRr1Djo7W/ga2F0CnMQz5o+Gl1LlXIsRMJpn\nDd5LArSisPnzkwiCI741QHw00ADugf/KXtOZjX8RUsD+owxuzhDrBu8L3SnG\nORwf\r\n=48Xb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"5e5c11259b1ab38a2125aaa97e8623bcd0d1cfff","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"laurieontech","email":"npm.laurie@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.14.1+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.11.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.10.0-next.1_1610481778846_0.5257129647083596","host":"s3://npm-registry-packages"}},"2.11.0-next.0":{"name":"gatsby-image","version":"2.11.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.11.0-next.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"a664dcdec4cfa18522a2c50300dca49d3379cc7f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.11.0-next.0.tgz","fileCount":11,"integrity":"sha512-KLQnXKGOasd8DlLqwh580C5exz5tBCHtLukd6qa1sHP0qlcVlRoYbj49XdhBQvSlUnXOdhHSh1ulqRpWRtcgQg==","signatures":[{"sig":"MEYCIQCECKwiVIihy0Eutu1Qbl4fVURwN3O2zBVGXljlva81VwIhAObkV93gr5j42CHq8F4TJhGxOEHnZUFmTyvIo7Asv1PZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBeB7CRA9TVsSAnZWagAAyKsQAI1/D+abmPYZLSb8IlmV\nhIL5t6L6iDukklgsG9Qw9ezBjQwXnRZcmPWTv4pKBdDeY1GuOlTBE8iJ0ynd\n3YEdFinjiB7x5afIIsWZiFG0H7O0P8ZUp2IqCAdNBgvaowKkewEbNGLvMb9y\ninvWkOhhLlH6z9B+i/66hjrj/uAhmeHOFJwgA7YYLnuKza9F6hID3KeFxlk0\nk6KOVuR1RLbym0LijK1/H31nCsiE6HPJ6w+gMDNyPfug/XlMD3Y242DqjnFc\nah0gOIZ/mQptGxBVB17JEJ3PbIe6tYgGX26nZeIeRl448+NBOVslpd+qplBk\n3fnFA67s0kps9B15Cr8EtHiQpDFWy/H00UmGiBziHoHH2QvWEPrvS8k+0B1s\nXjwnojy4MlA96D72MR9GNn5xGYpa/V4XBLsoGyZ1zDlZnzRMuYBpuG/G7egI\n3+XaU0dIvRPXXiacRdjHNgfdSOwlumRxkoZGlq8hcP5XLsN1lvux5mv2qIsD\nMGGRMc/RFb8TSfoZTZfNFku/lhMwSf+bKQbM19rXLMzmGEH+QoPigL2B1Sev\nsrzh0zzV6eOfeMyvIcm6SjuoVGPpuJOmWeP7FWBHSPQqGOQ9awv4CFRNl9BL\nq6VHjwa6TD5Ww4IdmDFfcW+Wcw6cUamoe/S9WoFA5H+RpAsIJVvifYD/zKAE\nkYDq\r\n=wcWP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"d4a8ad26215cc2189d6473a657e0ae83088effb1","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.12.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.11.0-next.0_1610997882448_0.9462498525593048","host":"s3://npm-registry-packages"}},"2.10.0":{"name":"gatsby-image","version":"2.10.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.10.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5d8951a1a0ac1f2717d01a7f30efa84f6fc245f5","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.10.0.tgz","fileCount":11,"integrity":"sha512-LPBHWfnguwH5syGLUSv2SyWn+LPn++ulOU8THNOkaMDGCAOrQu/cVPKVsweRkAaDAB/8Sl9g1mPP4EERw/Ysfg==","signatures":[{"sig":"MEYCIQDaX6u+0VYS+N/3hAMO6AcNzKVKCTNCfsb+gsuX8O8z7QIhAKVL1ExGm/LoUvKkTZl1N+Whdq4uLo+jzHtTUvrix0IU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgByadCRA9TVsSAnZWagAAlWYQAJ5pUnDK0kQzgi5gisWN\n+OMW9pEJLuYhwKsBbzUAy9EQC+SnAO6THV9oiK4kDbdj66CFq6IpuYdAryQw\nXnvLEOsSYc/gFiq2vAs0ZZ/rnyVnXlPx+O5s9k7GRRU1PiV7bhEpD8ne6E9V\nLcuEQAhaaa/cMHuOHrYJXKjMi1e9BADn+RFgsKAlrpUC5fRssi1BxCzoLJJ5\nqEqxJblwqOg62yNZA5Wl4ElVHGDYhtM8ecxGBHtHeK+bGdMcLN+xPkwpMAQg\nIt5Q9imeauFMDX4Neg2k3tqx9ZOO5RRo4XKVOz5GOtQEC6Bw5U/+kcX64SJ9\nju9jM+J4qJ1d6OUV+TNlEhU/oZ0lUHbLgX4TH2O0CG4HJLnDtZeXfom3IxPt\nGal3KsvYWqEM2Rh+I3shLfHhonxMxsuj5y4jNdlZ6/o5XNWm6YSprsYBCKdV\nS34bmTuyRX/YQPFadzwjh1kSTZ0upP0bmB+wuH/Ak1LLG00ydL2lCbIqgC/Z\nO7N3jpy19F+thrH3YRJAUXUNvaT+OCj8+pyo/uk8aKfHV9c5M71M2qTQN6ir\ndxzDubt30IJT6aweoGwgg/vEq93oyALIAWaxmWwm9hl4HtHKiM+UR9T01Q66\nZtq4neEVtqNnh8izYFoFDxmcabruWZB0Ty4DKJR/yAy9SZcvjBFbEg1ilYPy\nyHH9\r\n=JVBS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"fbc58933c6a6d5d8837e36104fdb74a0cb02163d","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.11.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.10.0_1611081372597_0.6000278314394032","host":"s3://npm-registry-packages"}},"2.12.0-next.0":{"name":"gatsby-image","version":"2.12.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.12.0-next.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"d0ab758c28e10f97cc244a9b8d0a9d749a7e3f50","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.12.0-next.0.tgz","fileCount":11,"integrity":"sha512-K/f9p07vWxDMx0+Xw6K2qT6nDUvBsJ86z7pa0PBqH9uGh8lYP+reQZpcH9LTUybOubHeccFahE9nRthWPTwLnQ==","signatures":[{"sig":"MEUCIQClIHj8UxYR2IQOkU9L7UeXcESYttBMQ51n9Oj0OFBEbwIgQLD8yDVyXkCb3RHwtrBu51lCb8xFpDXKLssSxbkqDg8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEuXGCRA9TVsSAnZWagAA7WAP/RoCyOpLjzKRY+4d8y+G\nzUhm6y9z0AO5MFv5H1kk3B7MVvFu9pzxswq/dVxDF8ouijpTV3K2KBinn/Rd\nB+4Ge53lYFDEA1mygprR97d7QePshfeSlKoDsdLV1DXp5jQeR3BF0nxi+BCy\niDc89v8Pn5hkGOfvg+zvx2bMG2eKraVzPY7IWX8pG7/BZ1PTSs+/Hmvdwsma\nFMko5ri+ZNXaF3rONByzeEcOQZnhqs9XFkaoWFcczfNh02GIiCuNR3h7h5tV\nBDeUpLzpQ6k5jkundcqBzjcmElTg3D6Cj+5vD0z2AR9gHEqx70SPR9nX2YAj\nx2TII75LpeD6GfsEaeheUDvgK/ewrwc7kvc+l/nQJjwJ2aMYWOTSOzK8T/kN\njj+oGyEpmHU3dTDKVpIpORo2gwaFE1aL+aKWnjUfj1DzU3gH7K0xNnneR4L0\nXrgXOZ/n4oeQPgvnPdvgxKkWs9u/a5xLMTvlbpJl3CQoqOsOAVhclKTNhe7K\nx0jWLIsnURM3Sh+xnieICDCcgJZD1q0FHinjzjqKTUwTFf32uJuweVy7TFP5\nk7xbr01icloDm1Ol+C6ZUMoHiBUJRjuVs9rcRXS9UTgqR2VQUbL0Oq8xWdYH\nHsFON7EAWm0wN7kG/SJjwAcPL3njg0dZAozlqAaaN+WFPqmH2TfzzjYeZPCw\nWEEt\r\n=u7yb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=10.13.0"},"gitHead":"1da331a5352e3f7cb18f69050b7199481d85fbcb","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v15.4.0+arm64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"15.4.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.13.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.12.0-next.0_1611851206222_0.13421493801281992","host":"s3://npm-registry-packages"}},"2.11.0":{"name":"gatsby-image","version":"2.11.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@2.11.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5bbd02c3dcf78291131de26da061b4180bb67e6e","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-2.11.0.tgz","fileCount":11,"integrity":"sha512-H1va64RgXizYXONhoqB3rAdSqALZi0hkBYqEsc0peVEYzb2maRhEwOchg65hKvp3HT/ahnfrik59epRguYvi/g==","signatures":[{"sig":"MEUCIQCEMq4Qt71gzTLTyogmBlweQg2iqtOHhMFE6+aJRRSAPAIgeGW+ijXV75zNSzmQVH+SiSVma4HFjmDllsq2tByqH3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGYTkCRA9TVsSAnZWagAAx6AP/3iXEIK0XoHlxqMydxcR\nmjhFfHFxXwG0sYJwzXDUjrCu1autgse0dFkAQdQwPqrNqGhn38pkt9td3f8n\nLntbgET3lqXAqqWGPj0lmA0OKSrkMMj4XKFzjtv429Sg8N3dFPxOb630L48f\nLdYRfrXWNP10WHTuFYYuuo07RP7a0ik+ZoDcZWpfQsXCRPHSEMi9N34JiFQa\n4ZVd3PQKKgrZzhhm1uxglCP63KMj0TGJIyqR0w0U6/8RBVpj+WG5QmHvtyHn\nYRPofpYaPWR/xoI0+dbJK8mqr26ss0Ul6EuRqYVb5alw1dm/XFWMReeWNmEB\nfIZunPZA2gAlSiNuWCPagKK4ngWsWe4tKfFDc0orX0bAYMh4wwrKVVD53gv1\nX4wwgONE7CaQT7OXFGZYgFZ8/5GLMLQhn4dojvVNRQdjGGrCH7fcLDuv61O0\nykOJ7SkVq2XiLvOZK02OCD8Q/UZ2soeuRcobHoGAYb2Y37eLo7EUrNcS8UD4\nKvu637lMSq3w+UXd7M9VgCtOdkZluD/yCJLrI8mrrhipbXJ6MYhbHRMaH6TI\n2aZ8ssuJqcyLM74Te+SOF1x0P3wGTkjaaXvOI+cXEqItE3K/Yx2RuturTrng\nYeLHmUGBX6SA0AxQKBIZ/GnoEpdXxHtYUQBgaX9o8LKzxWORjmug2iLoO4cg\nS9IV\r\n=5cIK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.13.0"},"gitHead":"7797522184600284a44929cad5b27f2388eb13ee","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v15.4.0+arm64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"15.4.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_2.11.0_1612285156007_0.4768997681425575","host":"s3://npm-registry-packages"}},"3.0.0-next.0":{"name":"gatsby-image","version":"3.0.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.0.0-next.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"madalynrose","email":"madalyn.parker@gmail.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"eebe7d0ef72933ed1ac54324f53487718da303a8","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.0.0-next.0.tgz","fileCount":11,"integrity":"sha512-PSeivHgmpqDCXOhBT5RrPyCBF6jDk7Oz/eIpbn7JqNLtIdMGiE68d1dRUmEHn8xleej/e/hiaGvQjp2UoUHrpQ==","signatures":[{"sig":"MEQCIAjZiAXzb40TGokwCuwb4deU8VX0UXgXV30FwiW6kz6sAiAHtxA71RMXJSEbAbrhURcsI6suejhAbx0CJgj0/wTndw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHTUXCRA9TVsSAnZWagAAq40P/3wg4zmL96yOKm++g164\nI4ajlwxbewyokgXJwDeRPIUo5zfrJYmqM1WbWQgZNskgMXMW2p6Rxmrxq8U0\ny0sy7LguA7xUF7YsvrrkxkPzPnSpwGlLa10/WqlmpZLh8P9cuip92MdL+fJ3\nwkCIsBrQap84CTycnp+bW6TJD2oQTl/DTkNFSc5xyUoMTKNQ5Qz5sajMbsBe\nZAZQqTQpSC1qrUrq6wl9NidRPFuBVNRNuiBW6TWh//oMyfPlCtBEk1WYy+EL\nCMVrGAR5V96VAWovqK53dzZs3cD3BKgYJgySLt2vc30mHs9r6q1sWYonoAAY\nqhMF5b1ATLWlFvtYY+9K1Ix0y3yxiO1s5Vahv0IfY6UImSEYpZI7vPRhbYSP\nCRvIIPlbJ8fLcqD8mBSgQyyuOvDdXnjbGDSQzl0T4il0woz6Hhy8/XXKe8+b\noYBsMXETjZKPLVuXutaBhgnLUNbPYLFwrg0ksPqieLRdxbF/yan6QP8gprOG\njt1fXOHRCqyUS8MQ3ELJAHkTn63k7bwOr6W+hXvEcD7xJvY+YLSIS9iD0CDA\nyG1ohOTtROruMYGcKfNiw0vW6JrqjC7otFmZbhTp4v514HUrLRzUh0MiZzUT\nnfy2XovY7ZOd2bTQzqkqK9x83AFHdfR9X4CTnpBXpK6WJykt22xz12hULmIc\nuUqU\r\n=oJMV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"fe4cd06c71942f535caf73c0462f0d5b7dd485ee","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.0.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.0.0-next.0_1612526871061_0.5071402056947885","host":"s3://npm-registry-packages"}},"3.0.0-next.1":{"name":"gatsby-image","version":"3.0.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.0.0-next.1","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b3ae0805e883f6ded1ec85bc782697805e5938f6","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.0.0-next.1.tgz","fileCount":11,"integrity":"sha512-s3H72kxBA8sgNfRnr7nDZ52tGCsvxsMZPmSGnQBr35RQB/+rGMNkTDc59ZbSbq5BPtbyJh1Jgw/QZiWL5wpTyw==","signatures":[{"sig":"MEUCIEG1QJlJAqq0CXihGsxfbyJCtwS3HsSLDoRgVxR2b0KkAiEArnx1Z0KSbgIA5He1rBZXNlnnDrQOWvCkbVSGa9aHCBs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgN4PyCRA9TVsSAnZWagAAsA8P/3GQ2OvkQExpUZDQ6Hhu\nKnXGRRw3ldkIIFdTAjUYMK2q8JqSsSsHVjMveKKYUzhhH27c30RK+z5IxqzR\nmgeb3i/sLwukRN638kTb3DHBMA1sSOVQMWktZ+XcJ4j96cKsW5Rgl+0PGwxo\nCdOk6E4HylR4JR1Ft/o7n1jOGE2x7ye7AYI0PCcRZiydoM8f72uauiDCndZw\n34gqO3+y9ZlJ23/kZ6tYIp51q5SkzfmRIm5gXhhWdz/MH0EYaAu9yx1bFhP8\ni75QceSEYUNgWZpVnrFnqcHRtGlLusmFOtDflCjxSWXIMbNdhfW71kDPMOpN\nFbMlkKEq435HkfNPpnjfa5/JKySzci2Nr1H8Ro/q3QYxtNHcRifdpkIwcJKA\nFBQQUd20Y3Orl+Z9cQBUu/FaZrHeAgbyIOsQCFBHF2cOXuvWjXAmkryB7SuL\nfkrG2//LVRcrmUnaIoz0OpIMTedNu1nWhF9bI/fXrBxDl8eTDgGGv9gHgH0U\nRqycdRhwRyGSIFffRXle+BEY3YFAlX2x+2AQk1drQkHjGVG1SjfAaU4g7RfJ\nAVbnHP96G0Q913dgU6aWS0w9tj10FmXEevTZ7JALE3w4WbuwJEVt+8zycDeg\nUe/ncRk8G4noABMzhAn6vvhoJ+y5m0E9nQKaa+pJSHH8wlM7rPmS6IdvLnHi\no+Tp\r\n=/+le\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"2c049ea62d8f1c34370f675c4488f459000ea68b","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.0.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.0.0-next.1_1614250993490_0.06763832789753677","host":"s3://npm-registry-packages"}},"3.1.0-next.0":{"name":"gatsby-image","version":"3.1.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.1.0-next.0","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"82ef7569182d137a3d95d1ed5aeb063663d69bb9","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.1.0-next.0.tgz","fileCount":11,"integrity":"sha512-vD+DGo/abGg2gnKvI27M5umm0OaXASZlT45QzmYvVUe1MhuO9ZOYu3k4FtWIffbQ772DUEUAmmaV0TYGa0Pp1A==","signatures":[{"sig":"MEUCIGSb1FElPOGoQpAlfmyAq9y3fTTr6DJ49Rts2JDXVGUrAiEAngzJtds7GgABTAd+Yojp+u/0QiLwMdeUTzsiVxj0/ug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOL68CRA9TVsSAnZWagAAAhQP/AnLbvS6CST39BL9ks6y\nM6YIddZwJLILOYTSP6DYXWB1paJygLnFXtZkLXePP/XzoaryJ/j5YyCr69rs\nftemtYrbecz7ELO4nKNQovpb5l6mZnnweQsHoZok8aVo2C8un0zLXngWFM7c\nuoEnOHN1oQwlp4Ixbs87UkCaFm392v3wyGUGxr0kpRc/Yx9K9Wizaokx7z7+\nmSnJLggHiKFZyin/EX2EPoWhvCx/As+War/HdayS0iZX0Bu47PClZLqFw7Wt\n36YZj56tV39X5s0hgQUambMdnYGqKopl1o/llxn4JlgXQ29p4+NNYZBfUtIf\n8E/InUTkok1RYlW7ZuN8GLptKv4XW/4JlePzJKsnbucdxlIW8ZMHXZGKk23K\nJwbKIFj2Uyn9zi74pZtV9euHM4DuoEmJeePHs4IsTjQ+M39TkZXgt0/9h727\nEjTNYQUfvZv3yNdMLdH9chyZivl5bPHCi8vU7RuKOeO8s1K9RWVp9RNN1NDA\nRwB7l28jpn7BkkzfpZLsmiiDsSL09kyw6GsPUlOLMi7X+oYE1iC7bQMcL0rZ\nQx7CTJJumqoQ8G0FuG7ejVLjsEw7xgeWq/wY5ZtT48mU/FMkPouDP+iqipVc\nnoEQK0vwgD5aEz2kxBnK5UMlgaT/9u5Tnurs8zmzjYDd7xJtjLMUCiCkcWd+\nSIK0\r\n=iUqs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"6e36a28dbdc8f26b6a643972fe685570bd1de99a","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.1.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.1.0-next.0_1614331579418_0.22201349277774063","host":"s3://npm-registry-packages"}},"3.0.0-reach-router.13":{"name":"gatsby-image","version":"3.0.0-reach-router.13","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.0.0-reach-router.13","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"522238d17d17abbb0768dffb85bc18d39949611c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.0.0-reach-router.13.tgz","fileCount":11,"integrity":"sha512-viD9WQRVgwDTJ2/ceYa9WdyxSR3676alFz6rrqN75EabWbyK4MEF8ccodv0jgdQwpgrGGf8GtiX0glh6RDC6bw==","signatures":[{"sig":"MEQCIFRZPmtDdsyDgA9jtEl+6ZfEWNhO5GLEyuJbAmxZ9cqUAiBFN5XJwhaKBDm3SH3UQQJYjf3Ks9a/m3aRnYvtzMGf4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOMKaCRA9TVsSAnZWagAA3RsP/3p0kge6ligDgW2EL0Um\n88aQASeEo+g421XyCc5/quChoezYx+98duBGP7xaw2Cbqc1YcGyes5JIFz6R\nh+alM9B9nbN9oyaRZ5u1FJHRgo2ZavIliskBm8J6RLFL0NjbQrqYSh4IfdLV\nuoQsFHZhuZxdm+dSAKGCucKJWHZTiag/XqMziVQB8pu8jkjoDUBLCSsseQ9B\nQcPr852/Y4Vg+Bnz2o6kTjQ/4uw++q3WtcqY0wZK9qUgp/sSpl61GZv3QsGR\noqtNKSVIWzJUdYXSwLOd8U/uhZuyWkZJVMBY4XbIeMcO4nrHhMR0LIsj3bb0\nw+FidGXD3hkCogsVxpl6Ml/N3V026T/P761psJpaNmiSWaYHfGRNaDRjPDxp\nCqmj5ifU2oAdWIlggtVEDZaG/tu2AvclcIEii6inR6STMUlWbQ2V9N9G+XQ+\nuyRS2OaQYvAazWIZN85pn/9Txqb7fDsgs4elozAAc7ls5WLI30jyERfYk4Tj\nkSdZxw5n4FbvaRNFUqvbDdkfWd0lxSPe92jhq6AmFmDHWdcMstpSJrc7N1k2\n1p21GH0duhp1IRbGE+hD/vMPefve6SBQl6VvHOuYO9dhTvTJAWrWE9tIsa1q\nGYk7UM91SOHWT9Ridqb/v1VS6kikUCnFTcO98SiYhXh3/dyLwF8hKcK755ke\nwWd1\r\n=SmdF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"e42b081ad9f5064b220e5e3346116c2bf0106cf9","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v15.4.0+arm64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"15.4.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"1.0.0-reach-router.186+e42b081ad9"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.0.0-reach-router.13_1614332569476_0.9325535578867596","host":"s3://npm-registry-packages"}},"3.1.0-next.1":{"name":"gatsby-image","version":"3.1.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.1.0-next.1","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"84aa162a0cf4ce7bca6efde190d6a0bddb0e9057","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.1.0-next.1.tgz","fileCount":11,"integrity":"sha512-sQ3E6xfU/4+qZn0SHRLDhlOJgMMYRjr+kwQCNYi2LK8l91SjQOZYpB66qoLyxzdUODvHY9uiodb/zMjlg1ghZQ==","signatures":[{"sig":"MEUCIQClh1u6x3pdbsGmTRb0TOuFiz5RIocRTxrp6Wf4z75DjQIgbSALIQYUuFkq3nmt07adv2RGdyRRxWPuwVcNgpZrEpQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOPuJCRA9TVsSAnZWagAAEyMP/1FNV8MDLJe5k3mLQ/LA\nCdYshHgDeBr3hqEip+IXIfUKciBGkEDsoz2bKum5t6+TUMOHuDnZmj2ipoad\nxs1w6RaYwW44rYgNGvGOzZUUr+KIM/9m52OMTI0Picr9IvSKLIK6wVsCRaMe\nqaV/qXZZgKFL0aBS5M2oXlyENqxnUhsFpMBIsH5pedC5Zo3wOaL/3odOZBE5\nRlJreZqiEiHaQtGpkaVBlHBBNMjvrRWansBojROxwEUkmc64+Ryetfh0cmJf\noVGqeiLoq+qPqzaon6XXaEFP4I6B9Wzwz54hdS6jpu+IjZOtGvai2v+32fgw\nRfU0vnfUYxsokvanRSWoembIZHNAkkeoWB/yE6dJ5bkqTWHYtoI17sJNoKmN\nW7gizAezX89Q823pDV10/f+04JHARVH/mGZjTlVErP6uTHvByh1h7mWDCDeI\nIak4X/jEk4c8FpsCgtA2lxPAD9dqQeC5hosug6uqpe0DX5esctj3FmMAssEf\n1SFK27wskJcGWYeKO2jKRUEZf6Xs48RL430EdYrMKwc9VkEqv0rj7Bqug28M\nXMwQx1/f/1dMmvRi4QGT2rNZgACSlSDGeKylkDevV47P4LAckwIP/Pev57YL\nXcVdTvtrI2ej5noDc0QZDhbKat0i4jS6WIYC/z+00RJvB0AaE4Z2UdyS7Ka/\nsmEG\r\n=VDAH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"1c661531b7f541b848a33a64abb5127c3dd89260","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.1.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.1.0-next.1_1614347144709_0.07496960765147431","host":"s3://npm-registry-packages"}},"3.0.0-v3rc.0":{"name":"gatsby-image","version":"3.0.0-v3rc.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.0.0-v3rc.0","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"146e05c24654329e96c364b420574f341fdf6151","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.0.0-v3rc.0.tgz","fileCount":11,"integrity":"sha512-BJb0YCUmyYkkc/OMfZr/NwXQV5GwtMELdKaR77b2HDbtNekzu+twd5D/eXbCQE87ZMMlUCn2Xzw4w+RLHw1LQg==","signatures":[{"sig":"MEUCIDFhBHV7wG0JdcWSs1xZ0ypG7xLm9cgsp0Tyvgs2FI0/AiEAmyLdu9Sl/W8vdnDjLIephNm8r8Dx5rWD3QqtCHXraaA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgORfsCRA9TVsSAnZWagAA41YP/2l2oQuw5cCdgBmP8IH8\nkYiSntJisJ28GTn92noBzg4wl0Vfgj2wOs7AzHdeJsyuEWR1SeZP1HoSCsgw\nRbUfR63KAfYqcTf5BJCKQn+q4Xd81utyA9Zz0AB6zQkDAA18ZJ8YsN18BgQq\nV6XzGoQeTSp4rGAYL1G0ReGHSVZ12jRa6RZ3YYxWQO86iTLlKMJdtnPDOfBd\nFUjOMMpgkwciztYFHiQgJTOmOwm46xEzFOqE+YcO/oeKUkkdWMaOCMBkw45U\nnVL8BTkqnxAQ0rGt8F8IlKLNGdX2Vw8D+6eCu0nFaOhNnXcpK24qKcpQOdzh\n476IyBED9tclMDSN+BZFsJrrijCTIk943w8PqSVUxN2xvbZN86s0YSOHmPKj\n0ZjjdpDDUadc6jnZ9RuHPr+yjplcz9Q4DRf71UW9XyqttdkTYg0M2JeoJJyK\nXv79XjkJQzSGxrrfClwb5uX/mzx7ONdFi5T30hnG+PKc9iTLIjGrPbdlJeIs\nk9X7HERyC8NvlGXaThdRwRma7tDZcsIG65+B4Mh1JU80QShkGmE0g3/D+T3I\nW4OE6C1kqEsV/xVhkfhBav+S5a5H/H3u21EZI4TyPZgPIYTuqsj6O7jvV+tl\n8v3Gm3PuYM5BhWVXRvPY+wUG1BDxqBGMu4PNIm0keT7zIuDUpy9NbT756ZqH\n5lLh\r\n=9iwx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"ca446edb54a924ede2725e8748be1e8046248c06","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.0.0-v3rc.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.0.0-v3rc.0_1614354412362_0.5973452949481695","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"gatsby-image","version":"3.0.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.0.0","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8c2bf2a335c956decf72bf74a2681742d8db9813","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.0.0.tgz","fileCount":11,"integrity":"sha512-8Ma2ay4KAs9JR+Y2BiSw3jqiNLAAR4V1ZBC5Pjuf3fEzSONHjhOmZ7hOw8TzYHV32MQWYVFiOiHVHjLQDjH7jw==","signatures":[{"sig":"MEQCIDYP7c87TXBc4RAx2sFsqaODOzDB6tdu3qvVQomv133VAiBcePpP5oui+903qkhmM1pP6qfaLQdklfLz9PglcHzxsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPhZLCRA9TVsSAnZWagAA/OoP/iPvYGb4xB4JQkk+lefN\ngmoSc2nkYqIz5ojSpWi4CK+ABw0udPws42uX1Yf2xRTJ6HvAJ7j9fZp79dFH\nuSzx0NV3bpnoUmGuDkAcQfQZjgNTz1UqU9KrrrZKqmpY7USrWs2gWdG/3MHp\nPNl3pNFY77pEv7m8Lvi05+6xcSPrJboPegusYX0VU0eSu+TclA5UkdjpTYe9\nItzdXPdLT/6qodyRPkivSTFiGjr5kFP57uvHfhoO5BlLc2Hy0bcII/IMFgyq\nMEfBv7qADNAA+m2XFpUqmHOTIPbnZg7PyHHNu791DqWp1oEqx+a9KwDpwadL\nSUaAVCL8q+UJzMOC4I2Stb60rR3WbBpvvkToj+YZ2O96Yfuz9+0HGUAN1wRT\nTuE4SNc1lgBCcU8GRfRfBStq8DlqdjCB4vqSd9ryCJcn0ZWfOy+pcTkHak5L\n2krsmqKEePsTw0Aybs7B6Sudsndjvfn9B4cZbiARJ/qX2sW+2IuIgXL+gsoB\n15Q55mtjXcYsY2nKtk8GoLmyGbRf3b7vExmnsAkvk5Pzidm5bXYrjW1whAzY\nKRgG9elllJlAObxCWrNDMoYgAaOFeZV8yxHfQGA+KHea8vtFFHXMxBt41rsb\nyNeokIjvSYsimgWlELNsO2fLGqs89Emabymrkc0vcKGdipNCZDcK4LjkeLM9\n9u1m\r\n=h6WE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"f1d3f7b56bb2633e8e9de2d43c4e08dadfd52597","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.0.0_1614681675019_0.07569182583892786","host":"s3://npm-registry-packages"}},"3.1.0-next.2":{"name":"gatsby-image","version":"3.1.0-next.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.1.0-next.2","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2ae284a535aebe24d9aaf9c62f066ccb8c2b41b7","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.1.0-next.2.tgz","fileCount":11,"integrity":"sha512-8NZQg9nNMh+xKS1vp81diNlVbuIJTR5ui3bKqT2PA8/n3naXzmZQg+sfrnQKOToSD8ZmFqa76r4T2cZiuxOkCQ==","signatures":[{"sig":"MEQCIGTCBSiYTJJyhpvPJ+uWwSNiNz/mzoA3bkrkEQZOlcl9AiA0cPu7WOQo1RM6iztPzaOl0+cElE1xLQ01hlyXZuvNmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSJWtCRA9TVsSAnZWagAAuVoP/iHquirSS/iMp3jRhvwl\nTYqvx0bD6+jzDXquBZba0FFU+iRixmm5q9e4FBcHwivetiW4zLG5Xg+epSAS\ngQseO0SMNa6HxWSCAt88GgFTWDuCcjWx2tC9YuSD19lE1dz1gJdwy44Nc+pw\nb9rj+cFJyysPbPjknVo7l5Nz41XWWqJIcFnx/HVvh1WrnUhHF1eAAAJXo52+\nrltDxoEiy07FL1ZHd3CoYjD0CjvQzqTsxm0Q3GW15TLv572Ken6bz+AHwHhY\nyM5n/c4oROCOgeEYVNuAAyUdKdDbOGLZqSZ9frBaanQumqsWeJCGcZ+d5JwL\nmDQRMBqTUEc7xeN+WFjkJYMpYRBdgHCkT/tDPOiGqQCaNaJB/fzZ2D4FSDp8\nZjhfUDDprdZWS+pwxVMeDHHQu3rYY0bhMeKK6/fXeIXOUbGJyJAvk2/OOtxl\npd3Uo5AC8N7QJBIjY57ys2Bk48bo3fOzI3O1om++QsvPbksH3zsGCxP0V+Km\nHGVKw5CVjiKLOFGThmPlkCQVNzdXktaTwIyOnK7lWQ9rLXo6ZPzS31tjgCx8\nO0kNyDN5b+ZFmRXiWFTmOX+tybLfvhkQ1ekIicMs6as5cC31lw3zAIOgg+iL\nG3qaOAeVqMzN1FBJXKZiDD4LNhmWDqP8Z3eBIWN0RsBJBaRrvVBzpGIe5chJ\nzxaU\r\n=EzX9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"73859a9e22e45ef0064fe87da9f4b855519708ed","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v15.4.0+arm64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"15.4.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.1.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.1.0-next.2_1615369645014_0.2835565101764661","host":"s3://npm-registry-packages"}},"3.2.0-next.0":{"name":"gatsby-image","version":"3.2.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.2.0-next.0","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"bdcbd57fb6498435c8f56e7850c28758657524d5","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.2.0-next.0.tgz","fileCount":11,"integrity":"sha512-FpF9F7Sc3pqPZjLqcyN/EMyx/yPoEwbDzoGRqCJNPN1+DRSNcRoLN92WOJGduOevxypnMF33t6oVC6lo8Octjg==","signatures":[{"sig":"MEYCIQCl8IrcCCEBUDbvIyEV4vJ/WAwknraB2FHQHtMVJJPt5QIhAI1852WBKCgrn0K1yGRCjPQlZKsXUDmP8klHZ3am6Vxq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSnmdCRA9TVsSAnZWagAAZbYP/1sPpc6nGejAA1qOCGU4\nRxAiVyQL7nw9dtWkQo+YlbByUaB6SKRZN6jN2s8eKwSitvwj54e35rH9vD3f\ncbRkWV8+NMzEpRIjsIsIZFoS3F+cFrQ3FcYwWYdPfLbgcavzIpoN6t/LbQWl\nSa+lDF+dV+p86jaibdRExRdhtCjamvP9pRUf5LLWK/R2WomuK8PWdsAReV8D\nc/iTKeX78Ff6vUOhixxliWBtiS7nbn1wzdia4nUH95cPqncKvmhOEeM+LEGs\ny9MGpDw4wQI83eJItJiZR5gN/jCDI4PK4YlNYpTQWeLzEzTp+FugqVjQCowq\nDqLxDKplirsoi7A7ePD2LzBSj+ma4ie9mAO+goaKKeVEKPoBbl+QAYXfWAdE\naSfBOXA229/VzW4mBdrx66NdCY4Hrwz87Gk3QOZC0EoUAH78QCUc6doM+2di\nLbQCkLyi1JskQwJbkf4KfE+uj7ooAasVxAhZy2mSRF10bRo7jzE8b0MD2v6U\n0GFFraww2twZh1jQ4Z6TM6JtRla6mSdLRIyDYL+A7IaQ0UJHZ+4STXNDkGNI\neK+AKlcInqn09YWdBHV85djI/8a+ZNlUjN+I5niOgDdh35Mbr5M3Oe2LSABd\n5M8W9LS1I/EHkI5UrfHMgnLm/u3LWQzlYNLbAkmIXGh6kcrQR2fQR94C8J32\nMZla\r\n=CYKL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"72f15717e9f166e338ba120591e8b4e1e8a92c16","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.2.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.2.0-next.0_1615493532631_0.3138293805231769","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"gatsby-image","version":"3.1.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.1.0","maintainers":[{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5b40682eba42696c04bfa776fa7d8477517d3959","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.1.0.tgz","fileCount":11,"integrity":"sha512-wF/Ck0IagcUeVCtS7E9TYYPR5w95Dgiiu5soysI92Rvjw0KIBYA2nXWcC7JO7nV9ef4UBwJR4Dy4rjHIdOPI9w==","signatures":[{"sig":"MEQCIBp9/jCJci2NZF3mzNzcRdGz7V1DBRm1kwRqlvnFBnTCAiBUdtvUiqm+vJ5lci9LrmY5fGwLSQ1hFKs+ywrKZBYo5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUQdPCRA9TVsSAnZWagAAOsoP/0kMSNB5z0ZjHmOSICdk\nKj5zBg9cTxhtMM8QC4M4qBy+pQ2mS6MrRuJ7Gz4Mhp7dz/bjoG07ZskW7naB\naKsOs+TK//q5h4oygZyVaueW/JLVa0Pii3u05uOeerX29GN7l5PhzOQwZMrw\nBk2r2OsP1z9x05kZTyvE1HvAttSZSZhlf70pqt5jjdrO1+hAnOgpyFiamlkp\n9NaWJCD5oazK11q583lpjb0jKDUcVR6StaeN3rHIjPdNkvV9CGM0IOEYY0Q6\nTADtzgGRSRP92FYaN8IzoLnsY7AxU9Np4OorrMhrizoKIy1xCsxxUWLNjP4L\niNIbsQAwDTFqF9U2gUZ06D6wVFw2wplSvJnLVPjQ4lk73DAgGn6qfwMfbhWM\nNfYADn4w+2x+PkWfl3kL4APeBzdaYpVOojwx6D1EdndV/KW+fDNa0+F7Jwdi\nEZgObTd+3jO3PSAqYpQKUZXiFxFLInTIRVlYsHVXElf5tByjkjbG8um4BzhX\nHkU63tDYUqfCUtzvm8OKPUgfsQA2fBXUM8niyY2+p5064vDOVSHbi+h8KIVC\nlgnFYzEqdpeyl1W4RcengrROBxjH/nJWEFxbmSIyXCiwcJN6phkstBJN0ONC\nH/sLirvR/XE6dCkJVnZ0JOi4uI+Y3e4wVuB0k874HihNmJwWKfJrpM4YQuxA\n2Vho\r\n=2/dF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"a2a16e4d843df361f5309e9ac82f901fd74d570a","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"wardpeet","email":"ward@coding-tech.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.1.0_1615923022456_0.5677115935166854","host":"s3://npm-registry-packages"}},"3.3.0-next.0":{"name":"gatsby-image","version":"3.3.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.3.0-next.0","maintainers":[{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"52494a8457b2be81e1d9502ee17d4b860260d528","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.3.0-next.0.tgz","fileCount":11,"integrity":"sha512-KTWG7JHUft3hr7HVgYnIwPzOV9PvrYVBkJdy8JXGAUENOC2Qq1BpSoYt4XKBcApywBy4QJuNi3+mH4zqJURdbw==","signatures":[{"sig":"MEUCIQDEJf683wRaRCXvYblhboiw7vWEYNx9G269npaI7L1Q5QIgQ2WzCmM3yfFqIhvHECGuoC2Yi0sTBpFSJ9jffxu19c4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXMgQCRA9TVsSAnZWagAAeGMQAKEzrTj6fBTpsxt79p3Y\n02uQjogfYWvslZI18qqP9RmneHjrr/6Mr9EYjUnmsl344+nbEOLquA+Ey1h8\nduUHTHjRGLuOkiJ6hrJD+A5IvAFZuR7GZw9qexjj2ouPHkqwQqf40KO+LzfO\n9D/4DCkaCq+wkq/KGIhhHEurpbp7AXvO86HPaOYmKQTZt5XF7y/SKSipInKK\nNyuot5KmN/5l4KP5AFd1IKNIxYwQV0L2sQFVZH37JtOxYjkWafqL4KSI4pGK\nchkuj/dZIuVDIBWbAc7TG9GFt/LiUQ3EJCBaq8umEViT1EuNl6lO4yyYGVpk\nk03CuCKGPt7is3QEavhAzG0ooFThXnWFPnSdwmZToi2GML0kmTn6u7+Q3/fx\nqvh06rgYjG+Iha1odXYKKb/1vWkuYpJI0/jguPPKuRQmdS6Sa8ccX19TowXU\nAhWe1ifqjQEuJ2HQz5o5qkVURF6vaw0XBJyalcsQB30hj9ZSi8msD7g5gEHT\n493dHFs45Byg07L2pw3JryvF0FdyC4pDNhMVSCvutt6GctYE9kxQZUjzSWav\nOKzLitp0jOIFB4yEaGGvcAx6HjbSVjYQsgPIbDGTS5ckKJWKnRqkAfU/F7dO\nORBxd/9ALwtJMyfMAPMCs7yPI6R2nmmF5cmlxRC1Qjzzqpr8SlzJAg2HtZy3\njGRQ\r\n=0HA0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"835e00e1b585f083f7cd6396ee5c453cb0137cd8","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.3.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.3.0-next.0_1616693263891_0.08826420933101131","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"gatsby-image","version":"3.2.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.2.0","maintainers":[{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"laurieontech","email":"npm.laurie@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b9724a2f4559113e478877904df97b2aca022358","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.2.0.tgz","fileCount":11,"integrity":"sha512-7tNow0zRTrSMBX8BoZFqC/akXCjYuLKElhJe3wVpDTgfgCfoJMNNIrbepOBYORcQqv9YB2WWDQjhwtCro/WRqQ==","signatures":[{"sig":"MEYCIQCASVAR5adjLscFd6qIfohSghZ5pAN97cLc1QPeootevQIhAIVHkkQp+CLt9ToRVdrVCjErLI9A89x7KgNR59U3o6BA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY1hLCRA9TVsSAnZWagAAWxkQAJ48vMzI80sMk2cjzsmu\nmUMNLD0Rh0ywYLDEh88dhFsooY5Th4D1t3PakBD4yD6FxHXYiVixbhtcJqmj\n8cX8AB3n8Zhtyg4N91YWoJarHuqVnQEzaKZE95k3dMJLeqmUzrn9jRxjSDq3\nMBUslDVvamo/D5T07FR/v1u1/cyK746iLh1FEksGok99PfWvTlFItiFXQ6bp\ndeypul6nVk4lJRzno9LCqreIwhZYB7ryCiQktet3hAO8nfpexdWCbXZDgYRP\nlWHbBOPsV90S5IXsMopiACq8Kru0os2e1icMtH0NgOigtlxg+pYADDCSQgew\nO5hBqR4EqTvFB4MTvw9TprhFASMkoY1a49n8C7HZ7xHjkJKqM7mF2/ITloQc\nl2BKV0xh8ZsP3H16QKa4hQGmJV2p+nHcvSx0XLLd3oVgpuJYrUd8kwRKT4Lr\ntlT5+zLgpez6tPdP5HBGHgF5US8EG8PXsTCG4YrSQdD7/axux9Q7KN1j93ru\nvRF66aw3gFYBwdKXQ2VIXaU9sgRfDKL0fob16mYJc/ardlQ7p163/gmwVI/S\ncfloSUe7h87k/mULm50SLoYY5jgt+nzjtdAvO5xZJ9/87QrIKogB3qgDACky\njswubGl0mjBETDiEdibiPc8Cz2o3mDVa79nQVTYAp1L7E67VsrmwTbGLR0k5\nvZsd\r\n=vQsh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"fa00b246dcbfede3d10c822c64f943e5987c8859","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.9.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.2.0_1617123402809_0.25912253237860017","host":"s3://npm-registry-packages"}},"3.3.0-next.1":{"name":"gatsby-image","version":"3.3.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.3.0-next.1","maintainers":[{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"aef2bc57dbbb73b12872fcc65e70b71e3cac872f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.3.0-next.1.tgz","fileCount":11,"integrity":"sha512-IHNUY8u+9d8oEH8lhEGIIwxu0mIe+xvFpYeC+2jtyOCwQYR6CyooiUMob5dXBkyL2paGbTNUs6LqnD/8CaLK3A==","signatures":[{"sig":"MEYCIQDCmA1Js8K9biLwR7b6e9og9HrCfw6Cr9DJvAt5w1KLoQIhANRqhJiuYPhXLJXrA4tYRMr2XJdDMROK9Gt9MoSElQHq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbdA7CRA9TVsSAnZWagAAyRgQAIzxhuYO59zIcxk3TMVg\nzFm1HcXBPKH2XDNTHAq3H4Y/5tJsmYGZ2YZGI55WT0XbvzfpEYR39ZrxrUyU\najWuHYlEO7DUUGT9MHqF7GfEANSxBtIp5Bca675Yg0JcYkzKMmndyFp3ISLm\nXWn0KZ4GgA4B0LkRQ8YCiXqszC16Ck75XteSdEjQZE0Leu3nGZh2n4UYUHab\nb8rMz7obo80bgIxrnPeXUPbwLIzWBeWifKybQR6UD1Lr0h95Vm9f8geNoJw0\nUL+fuQcsvwI5wQSsOLud1t3sN1XaAIxVAbWszMSXcso5NF4S/z3HQ6Kz4cLl\nvt5qDBbkvRdzf2THyXWJdOYTDJdX/bzYNMd/jLBPYDyd2B7rJC23tYPgQSRr\nCPEQC+f4wpyinT9H8yHye5MsyVuEy9wZDDYR6AyMprkRAZ6zxuCih96Fa9JS\n46aWRNc+nrB88x7vFQzhX1BBzxQ9Fw6vzwN5Iq+KSl6666sCsUaqd525bao4\ntOJA42u1q09HHuc6n3bfjL2cMAN5YJ/gAskwyPIAZTZBid/2AtNaGm55SLCC\nQcoGst6ac3E0mZtKEII4lZCESzmzxzskyf4f+bNzxu4Uk+iUaLDWepNdQEp/\nqMZJ9/UqF8hbUNwtMLB8NINer+PCPKIqpoZmdxMey+C6QZCIxMfk6T1PE3JW\ndbk2\r\n=AXzu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"a60e92f1bb4fe0beb37ffd2241afa814d265dda9","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.14.0+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.14.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.3.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.3.0-next.1_1617809466825_0.45130726310646696","host":"s3://npm-registry-packages"}},"3.4.0-next.0":{"name":"gatsby-image","version":"3.4.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.4.0-next.0","maintainers":[{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"1c485fa84a3fd43982d326c5e90d3cde331cc2ef","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.4.0-next.0.tgz","fileCount":11,"integrity":"sha512-sf2OaF5Jz5OlJDsRUwGaWelxjcfijaPl9N/TbmEwtHTezx1VxNyaon6Vu52EtSugAn2JmiIhNFT8f6s62B3VAQ==","signatures":[{"sig":"MEYCIQDNrcp6uLMb8WoeKONQLneGlhTWyjNIGKf1FEXeLybPRwIhAJsUe6c/JKfxOnZbtZJn3gZ4dUQyjGAq1I2FZtoMq+lu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcHDpCRA9TVsSAnZWagAA1N8P/At8U1imd6IzGj4cxLwr\n63h/If1zNXKd9jPeKW+LMojVxTIrY91m8WbLyxD/aL5iBIFtRy3VkONVqz77\njeujAPhSOLTkGKlGYuTUGVanIHNDKIufUF5MFsEphf6uzYy4E2NER3mPLBGK\nuc6Igs7+g7eCGECnwZtyvFlWkWaZYTKVCS4IsD8a5Crn1VVsrkt5D+56EAK/\nmnh/5Cc5q3mUonyeY2Ii1V+M0jABad465XAzsGf3WvdpQRgAVbbQf84gdLJ6\nc2cCgetW6c+H5KwORxeO0VHT8Wz3szgez8rbRwDmCYvkbgvw86uyigHW7V3/\nWT1tH7u0BKauIl8b1qJeftyI75p0TjXJSjp1oEFQp9LKMMlHpbOM6yy8fTUE\nf8A47z5bCeu45vj6MU+O7gM888Kk3lyTVR+j5njSFh6BuzXXsrzEYN5E+Sei\n+12biNFBkmwJcYc+fvRNbNjHmnthsceZQ2Uy55QeUbsPmYz46HJrywPkdbPV\nfwsPQ4ayX/MZUw+CjFgahnt0fQ1OUiAuvp9icZVMuBn9xC1XM5zrXi7ct29d\nNIweKD8gzf+0sJChkCF2WwoWNKhBTZ2LldhWF2C5qkP51xAUgbCjXMThMYln\nGpnZL/LRpKS4H71rDGS+33lyFXBy3IPTG5tAiM7UEETOc/M54f46Q3yARqLj\nhxex\r\n=MnkV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## :warning: This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"150af15d590f1f8ce2db093cf196f3edb6ba6f64","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.4.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.4.0-next.0_1617981672757_0.501189594495248","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"gatsby-image","version":"3.3.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.3.0","maintainers":[{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"2efea64da55011710cd118ec0f6666a323e5be75","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.3.0.tgz","fileCount":11,"integrity":"sha512-jO0wjMUbXNpvc2jItZ4YFFrXAhJBie9UvPjjgB43r22hpILMiVDpfLCwRLIXetgehOfrMkPtKF+3IbaK04pfVg==","signatures":[{"sig":"MEYCIQC4ci642MIXKA26H9HNRb01iX9mNujSZZYOMfD8cP/DAAIhAJveO7VxwxNtPa2fFUXlfCBmyhl2xq2AAz7oZ/wxQTFX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgde8JCRA9TVsSAnZWagAAA/MP/0p5dNoaW+0m8u+O3V+t\nJdSoI4i5kk6Z+2AcFR97EERvGk+zPyhjwmpNK6eIx4LpYhOrUnh6Wfuq5p0h\nVDjSkPJA+ZwcNTf5iiFL8FR5jZvi3hWyKdgdY/NR+jR1dxUP4bTINMMx6oHi\nyDCTSoYa1jtJUm/K0s8bXybZHxKhn7rVJebMNysYCC7/t4q6sxmyiCXRAlLd\nIRWg8KYgtYakDE+bsNKuSJWSXpoBbwOv2p6FHHb6XqeIIkbjp3IcWyr5S/CI\nlnFWFqyvM7jMhRQWzYlqsdYOn+HaPyztgYgPa1dDGn2qvJN9iZpp4ONIEThL\nrGV/2ULNOOhMpmprWo1L3kxhzW5IiFEiBznRiWySehSmcfNWT3lysKSDf4QD\nlNRztNW01kGnXorXNBNrXYxcUjLKCE1QnoRjx/6KEaGb2cyWb4J0IXoOSNVP\nI8b4fP5OX6XeM7qz7dVLIM5eED4vri5tWCu/wkzCAEDFEagg0gTSilr04OE5\nwcCdv+308sk+CYzl4AfAP9J/vuJ6fwgFDt93jSU2Aed2ZMoChDpDzvUdCYxN\nXxp96a8luHmlo4SDzIRFzeSmCq9D2IhqL5elvWyLldzoytxEUBQUClmnWs+r\n0JNkLrE+uGgWTh6wVJOHhW+BD+zXFgWVAvVyLc6Z5TnFLFa6ggFUa/7PPL5J\nQw/g\r\n=opGJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"e98cb629f942b7b61814431da46948162ea21c36","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.9.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.3.0_1618341641058_0.271451933577042","host":"s3://npm-registry-packages"}},"3.5.0-next.0":{"name":"gatsby-image","version":"3.5.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.5.0-next.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"944037a9ccb12a2e0ede4d9176ff9ee0922695a1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.5.0-next.0.tgz","fileCount":11,"integrity":"sha512-rgEbSmRukE6LLcTctOlpQId9cPOknwW/soXtonXUg8NnDmLy5c7df4Ud/DDvcDOq1h3hxIDF27e37l4cTb2Pwg==","signatures":[{"sig":"MEUCIQDfsoQSVNsi30x5Wo7ICjQXcSEso6il2p57pgIfDrLRdQIgci7Jk+ZQxfxg8rnTBJzDF9F6LdL4lrmMOTgLTUPBxcg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggqi2CRA9TVsSAnZWagAAUvMP/jbRzrK+ciCeFWTjwfim\nW8+8S0f7wWSw6bkkmVSDQhuvviP5+ICxnlhKG1suExhICCa194JPt8oGUuyN\nwEePVdPcxgveLh7dD7JTpGqWbHFUcYMM59ABm+mZI0ECBvUh1CwzD4DchNBt\nF9SfIWK2CCqfmU6lXZRwWj5kCf8mVCTQ//oxHDC1QQAUAAHacksjSt7uScdj\n6Rl0x9mqx29W40wiaOQq/HkTN8jGWhTMKKmWA83q1j6hNDUw6nsuDAzyVBxv\nJtCnuY9PBQ4MOWb0XtHbeGneUco3rLIALFmwSxQohEyRBWfhF/yrYttdRRW0\n5lTFI/eQWBodjRWygy79zb1VP6X6VprIfA3C9x5teNMLWJnmTXL4fp7gmUXJ\naJUDHY/EfmeV6es/UrkHjwnH98QJGHWdB8Mo+tHZ0M5q2VIiFLOeOemQUshh\nofCQceVOzd4luIzPielmr+dSxkA4MznY6uzfElXbTfRlXw42ZWsdi7xZARYH\nNnK6+AHQ+Ft7gy4RKSP9tt/JSpw/TD2vE2LWA2dTjtwl8Di/uL24xQj5t4Nv\nD+N4/rZ9fNHeYEkg5WeOrLpwC59Ftg5e9DxCNYh3ZwP7RmWKElW5cJuwOxwX\nYXtc30aLdlZw+DWdoXwy/Tc3Ke/y6+KdeUDlgo0C6iIKS6Y9Yu/noxoIArVe\nzTOI\r\n=ENRC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"df3f184ee9ea1367726bd52dc4b6f130b8fa2c59","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.14.0+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.14.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.5.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.5.0-next.0_1619175605782_0.8862720795682077","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"gatsby-image","version":"3.4.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.4.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"7fb3f2f18537f34ad9b8d4f3ec1737d437aa269c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.4.0.tgz","fileCount":11,"integrity":"sha512-ICKDQtiqipV+yoCPoNGMy2NR9dPjAfRlz6X6Y4NjMjps5/TzMHS5JmqyfkA29SP1OwEO8ycCwekTmqG30PtdDA==","signatures":[{"sig":"MEYCIQDdvPj/iZoJBKjcASI7owQpzThvjIR2bkjCN4MXD+kGBwIhAMq1CcgIM+weh2Iz+D4Fh7BZkZoDcgkkSEAXX2mT2Qzh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiIUXCRA9TVsSAnZWagAAdIEP/Ri/jTPiNiSGiD3MAM+M\nb3ug9NXWfGHtXiI97GHqjJSku+o4m6wxrVWTNuBXr1b+8NmmXjLuz0ePn3A4\n0QutgkL5Ntkfi5ajHAvpqMCly4Rb1CsjAsdTSc0OuzD8l17rULViAyl6hQBf\n+Lah68wAz14SS3jecPDWnPuBYPK9B1xxhSLde/6NHH6uWfsIiuXCJsnKQmxA\nXokIeFMRzTtulY0q20ZmFUI/w89c1quar9veMred9v8I3wNTG7eXZ8OSlxhu\nk0H95U19Rje09WCIxxXBpBOW9+NZF8u0Zu7SL1bHVWfs1q5jt4U3twuGUlrG\nA+jxXdnkKefUJtrv3OUYRz3ImZ3NLfuyzZ+LiCwULPja3uIGLlZnZZDafcVe\npAH53w1dhDBQvnYKuj5VWgpcWF3DglN5p+FIcXb8TJ6ffOWTlTn44nq0zChN\n75PXsDOLOS3swxX/Ro8tgKZe7kVRxnE2G3VzK6rSK7ihCnPjBA7sZvl7dLR8\n+NWGGPx39/1c+iK6hKFLZa+S+KwQIgCZBPR30qcWS6q27MdZ6h3tl1e5AjF7\n3A4/MzAGJAINV/MICsj0J9RL1wevSF/TKfdWRIv9XU1I9JxRz86fTu/7h0a1\nWzr+0CscpZb+WbQoLgl3L/Z/ZIZ+Wjaxg65zz7SnSqdyJxSDUEdGgmUlk1kT\nhm8g\r\n=ulwU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"668aa435a3f4ee70f198ea78bda83fde39fda21e","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.9.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.4.0_1619559703165_0.04076299234103442","host":"s3://npm-registry-packages"}},"3.6.0-next.0":{"name":"gatsby-image","version":"3.6.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.6.0-next.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ce949d4785f59c6189cf50309709922fc7719dc2","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.6.0-next.0.tgz","fileCount":11,"integrity":"sha512-xM04BoFvsoQL2cWify0/+HRsaAslkTm+SkQtGV0Ixs5UAoHaa+jXn5FHjA1xMGw/Gg3oboYgl32X1aVwm02a/A==","signatures":[{"sig":"MEQCICK6v15BEZ14QP8O36/yBxLAhj9NZNCuqVMt7LDK5MEdAiA74PM5vAi7wOVHpztZg8sxd7uiPXdc4rhD+rNNDNRA0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglDF9CRA9TVsSAnZWagAABSYP/1dDVFPSRO6WKForNDUi\nTFUs+WviICEQlwkZsxLjsMD93ynJlUaG/ZY5ZiasaVLmR3a3vC6bfe34BAnN\ntc9K2AyJHeuhxHX5ApLPy6RCetDwijdr9ykiCq1xplS0NEEJPuC3Dr+apsKW\nVUkrqKXXPxOv0YCck07EQBKqz7wn/dTJHeJ2c+uhKbd/BLab0Xy5ejC3SmjD\nbSje/PdAW62KwjiM190WD6tvcq8HTi27dMq3o4v7MgbMXUcHm3wChDJDCw04\nhcoFYbbvuuTHhn07Hz0FGztkOO2Yq7DJuhyFbmuRzUYQh1PlQn61nqMdhUXG\n9cW8X1Ac349qvpzipWQwuHs3NnNgCI8phKK2mAUJblaHxk6uePjBxoOGnDHm\nOd5Vk0uWzpC5sPGywyYBPFvdbAf4nQxtrQvdz3clMEX+tyL2HFOUxMeWkyRM\nO8kkZHD7gFIRmEqumdUbL/MqYgP6X8gdKJcnI921HZ1pXkjo5l4YMjMA3zmE\n9tBUqz2a1dEIFs3Ldg4AOdbt760BtAbrR8xOpNYPv/+o9mlJZy1sJq21RQ64\nDE5mwu2kY4EZp+ooSM4HmUIi2plSElcvLEI0rIPkJCzs7nS9OtOhH9EdY3Wo\nf8ql2UOLhnqcfk0eOB89HCft6PpS7XIlEP5SNfuIcsezI6HhngCEPpPC1X6F\nGLdH\r\n=bIEl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"39f25b75661c13b9df8924b421b5e2dea3cf9070","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.9.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.6.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.6.0-next.0_1620324732984_0.008024918640906042","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"gatsby-image","version":"3.5.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.5.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"fe76d1d5638bdbe1255c2226a1b00539887af798","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.5.0.tgz","fileCount":11,"integrity":"sha512-pr3P8+UiyL3nThVlqjlGbrDzaLx/aERjHoD4iVxrEsdoMmmb8fh+MT8/OkYe48NVJUiifNY1EmVUHP9RRCB6nw==","signatures":[{"sig":"MEYCIQCaBhoaZWqWXp7Ju4JeC3IsSwqA79UXRg2syhutQZNBewIhAMSW1Ndze+erKbhAYh4zQU/ycANI1OQUV1sC/AByIM/s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmtOlCRA9TVsSAnZWagAAbAEP/Rr9ba3FXoLMiHRw9Kos\niuqs0c5varjibHDAwatJLPhQQEUaFKaPbLdW5JyJEQCt6QaOlr7FqCHf5USP\neimT4K5emeiJe6NIfnZ4hR0u4bfW3zs7T6c0m3ZQBo7FJ0y7kQYs9J76nF3q\nbBFpVCC370B0KzAtKAsJ0iX9UVreDN5yeDrOhCffMRsTxE5puCiJHtUTwhDz\nkvON5qTYznJQCKZcvBT10yYNi04jkzG04DZ+Q7eHzkKao+um4tYYiJMVEeFI\nJ1SBQ4pUgB6wNtH6H4OyZBQE0YMl74O1/sIBbkwIxxV9TjQvVlyJgcsAaaG6\nvBWbMecACGsYzRVH0jERqk2WC01TjvuXb2tGHCj7qFZ3qsXxqbF8mFrcDdT+\nL79DqUwEAOBf0mVZIbZS/DbS+UkcWE5xuKeXfUcm1LHJO+GsN8XgqEpoc0p+\nK85LesmItRR1mI4EvQbHFLvCcL+sYzXy//YumapB3y6J6RNiCq8PRE3bv0fv\nxy+htckDwrmWUWGFfD7Ttk9FT7fGRfZjBR2TKM/03iIreAh2xg12ZBIwHkfy\n/g/9MwgIALDkeBhPbWA2o9Vsw3GyalpkAh/CDM3Iyo1fsxWKXrCG+TFgLhFx\n/TESJkv/6y1q6kTPm19Hm94Ehjzs72/89/bC2Zwd1x4cPoGAFDMcglbwzNn1\neIsG\r\n=WLKx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"102d92c5ac344bd82ed1767eff6849bd29dcafa1","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.9.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.5.0_1620759460633_0.6061808376420124","host":"s3://npm-registry-packages"}},"3.7.0-next.0":{"name":"gatsby-image","version":"3.7.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.7.0-next.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"376a8a5f59af1113d110c3489b1c1f91c16395c0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.7.0-next.0.tgz","fileCount":11,"integrity":"sha512-gDPCUGr5iMh/1memrVuJtIUzbwW0HPC6X/Dq78gH0TUJkxEbx13z+EIgH/avaE0BwBsF4XVfzZW0xTJZT5cZ9A==","signatures":[{"sig":"MEUCIQD7e9b34FAa5cwy6HSMwsdlaZnF5XBLlkmkSDdwkls1HwIgD7ElKFUYQNuKC/58bTWpDOnSSd3J0obSefzvao6JVWk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp2l2CRA9TVsSAnZWagAAEmkP/j0Fq470b+3Ih+wD2tn8\n29yDvaKFDc07W9rbwTXcUf56wnY3pND7gSn+qKBXEzqfSX5R9ny0551sfh+1\nX8fB29lm8E799o9joOERdMuqb0PD8x5FKg0dX2Rc38gX0XG9BzaU0tEHRjKa\nECbh8JASFdwBJty0K8sKZf/N/5WDBKNvsMtttzMpaieROdgCYHUwziUJcAYR\nAQ+xDmV9e5pqw1y8Cgn69P2NVPX004Qyoij7Vft/JMKYaJuPVz0pgkePDfqy\nTktp+WlcADsJRPuukVbKa/WNI3njh4OWvBVxaNAvaZ4Wom2sUckJ/EibwoV/\nQVMqJ+XpWnrZK2ltoMDjkYd2PpVE0jTfhKGAtuLcxRCpjPCl1HHoc3w5+YW6\nQ+N0mWuKdfrCU9zLZ6fNROYV34ARRgAvkMiwMbfqFui4EZyguXs082iK1r/d\nCobJVep6NLtG4UH+6vdpzWU2np3NGIqZXiQ5QhBktLiMT/B0NG6vtG3vnGye\n1Izq6YbroODDYlWbyCwxIs/atWrvDh6qN9a8jQBy4oybapSP18H7ctASmaox\n6/FrtIQN4XpSvEcgWqEBs6uAHaQWODPy+K0Lj61C4ZWKJdTBxTxkr+x4dgi+\nCl/2yhqS0pVwXkCfUKRZ8SiwttzkBvGJMZLkbGzEneXDXerQLuMrjvhsXwSt\n6siM\r\n=ICvj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"86532167e037de9bb26d67e2d4cc089e5b58f0d6","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.7.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.7.0-next.0_1621584245980_0.5024168175163388","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"gatsby-image","version":"3.6.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.6.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"8bca9ac0c61290c0a1acf90eb6fe93576e45368b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.6.0.tgz","fileCount":11,"integrity":"sha512-1Hh4VWmNBAig3WOwNKwgkmXxg2SYPbGZ11qJBzGp0igfQsBnNw1XkmfDwACfhIbxRSKSaN6gbgQgOOpQau4NtA==","signatures":[{"sig":"MEUCIBANwTCiBJ2Vi0SIeYmLo2L/6Rn8kv0V5oh9zJrXaBIWAiEAwarWbdTqUx4aFlniOlENioGkO7dd3wEzn4c+Juw47/o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrSwHCRA9TVsSAnZWagAAPuUP/0x3yqKlFRmCzcVlWSKr\nhieef1CR+I5a1v2jtAbVnF+lz1t34eEsHhpORtr1WeMjIZiL9mx75cRQUXmG\nk0N5aA1RxYlCJR+0IY3wH1krx3AsZrsUmGcIN4MDNw/D0e5yVbeMFwWgsGfu\nC056epy8Jbnk4ZnqiL6VG/zpkKZKGaj9/Aeon6OFU+n1duDnZZ9sxt72u+66\nkdaUTC0tuM17tBHmh1R1XZ8VWEpwZ433G68QfKUgF890GAqV4C+KJpKaBn34\nd1LNS+UAqgcX/TbsWkadmZrtFSjkC1srpST7IIDSKBSXVPt5kzMXFcvt4jRX\nTiJowFw562dUF0izl9LWtqh4LOxrizcHS3lHGGBKNsTbY70G4hdzX9xIaao9\nVYtRg8PysMYKBvRlGW9iTXME4PdflH8Ly2+K3FWNRSklOvcWwnnkZnczxF58\nZ/B149/XEaAnubFdK+NrmefWgcjvKCKEBCLu7sxvKAS1kxZqU3yLLgQK9+Ab\naiMeahZ0S9PrjrABxkTiwBy6bt7jIdWijVQWqfLKADqshbtrae58PB8ZU97c\nIneEIBuqRSybkaWmflEPTMbSXYfRnYNPiL+FF4wM264sgBGGZ54PP3wshexn\n5wRG4E6rHfoN3e3Eu6rKZbC6NMxBBQIjCj22+21jvV1A1FubW0dufzzrK+06\nSvAF\r\n=DSbh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"4ccc53ff72dd4e082873d7d29561ccc756bda985","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.6.0_1621961735400_0.3535163656969087","host":"s3://npm-registry-packages"}},"3.7.0-next.1":{"name":"gatsby-image","version":"3.7.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.7.0-next.1","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ed473d4063252c1ed43670f899ec66f5def5c97c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.7.0-next.1.tgz","fileCount":11,"integrity":"sha512-6+sary6Oxsm5dZLTgn2Nh4c3j07Uf+3Vao1ij32BMjFIER+gAzPaT1/bYDvUXQAu9er3DUKJGeH90XRm5VjZWw==","signatures":[{"sig":"MEUCIFIn6TLxRzOFx3KdVj7sI3HT9z83Np7ziltgwumJwZ59AiEA20+fdjbu1pnMP0/cKFql0mdLHJdldsbVMeHH+7h4/tg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtVorCRA9TVsSAnZWagAAYqQP/37rMoUAo5vrnXm43YTk\nqTBHsV1G5kdRJoet/wp6lkzkv99ViVUGkDZqxhCXw7Q/6g7S9+pjpnW5qOzN\ne4Nup7AyMt9U0NGGkTyIWIzt6iVzLnXcTEdq0tBSOdDpg7u6s3ZiZgwKtCqy\noIoGV9ALI4nZ7xjWWXjBY7q7NITzuyzF7PankBHPksYUNHGPhAISrU1SVkvE\nRZnBbndTBkXvLZ1r8eA31iMdGpBS6aX3GZPhf/8vJivgHnefx6orkM2ti9fi\ns/Q3HNOSZbJSB/vZ1+7cglCnTAnw0LjxFHk5pAkxcMCBsUuAmPRvzw+XXNbj\n6TJHZsiLwJn7ZqgxCXOhMlGgo6RE0ytDg0RSQvcd9j+PNFLAav72T/Jow9Xn\n6I7PjpeDqY1gNwJy9UwL4R3+2H39Pho5VhbOeEKswrFLinRkCHdKBvitc/Zg\npkCLJrqRCPQ2Fv/ZD3DmPfPpE6dOcVyixPQ6VgFUk2OcT25WqOuYJGOWjArg\nbEfDGTPUurgiURcR2GQmsjA59vmXo/3Zx92zZiZZivBKa0N/gFiikQaIPQgY\n6ovA4Rgd1r1d1EATrn+2BCe0DnzApfC9D9SSQseuXDsngZeESqNoATS5sNeq\nvUx3PSgmjUMQs2ku04AICD2HNrNO8F+1yxph4P458tXteoO+FBf4oLPDGiRx\naraf\r\n=XVex\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"30d212d506cc30ae32a21b48376d704f362ea157","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.17.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.12.5","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.7.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.7.0-next.1_1622497835433_0.715758120560549","host":"s3://npm-registry-packages"}},"3.7.0-next.2":{"name":"gatsby-image","version":"3.7.0-next.2","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.7.0-next.2","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"43e967809ae488e286c3d9433897eb6a341fd736","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.7.0-next.2.tgz","fileCount":11,"integrity":"sha512-yZyCIqr1Z52UJnucBcHr5UMlRWJfgeqvyU1GgY/NfmwINu3yKp8FJ+7QjM1eea39jKEP9KaT41wdIJDvUwcxvw==","signatures":[{"sig":"MEUCIGSAJlUmXnXu4xdKIZCbdph/qs8bjY5MysgUKs8xcu3kAiEA2C2fsMvPabb4V5QQ698zI4EceZT8geWSrcywUkCfduo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt4rUCRA9TVsSAnZWagAAmU0P/jrZPjtH6/jykXlbNVvO\nBgmjKvkd303ffo6kj+dsFaCU0eGoL8G9WgHZXpOojazTkCaHreoWNGSBTPCR\nkkfTVmhCY7/HvWBJoappilMLBiKWkXRdO5vdIyotZECVFRVCCMQ/gvZPhVMg\nA/vrNrrjUwzaTn3n5Ezl/vY4PohEBgV1nKlq2uaswxRhltm+cUhaK3UJBksp\n4OyHPk0LhHcHczunQkcFyMtCcOZyosd4pAKxJvLk73pTB70vaUvVoDqQUaaw\nYcte9b3eefNyTf0fWtEku4oCFHtI+fi6p4HvOVyoac2mqDHI/rt7GTzgElhA\nRlwmkyZsAX+qelG3JGpZVyXIikiv1mwi8LLgmXLm7N1/bS+NgMFR1uEzBw+u\nrl6jcd9uVVdSupfcAXpDAfnHmCooV7UwhQRUHatcE2wu8tYp7DwAuMGZ5FrL\ns6bNFzBsHwgsdbWSLMGf60Yfbu9M4DZ+O3OzfNsCSMdyWYmnqUtN9Ahdl7jI\nVd01yOvL7+jNMLITu/tML96hZwDV7LCn6Ftjc1Kxy4VGyHHF+ASeqDvE9zht\nn3DdCuo4Ie+uKdMqUmF6jRfIkUw2Nb2V451i4GAB/3AnidNKzfVxZRAqA0JG\ntdLBtVyONij9nnDmFLV2egSA+/6DwfLNr2rblr53/usOq+BJVhN1RRHYrDkC\neHnT\r\n=SaJA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"6f8646c3c4c136b64963f8431b253bc3529e16c4","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.3","@babel/core":"^7.14.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.7.0-next.2"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.7.0-next.2_1622641364374_0.1473776396132369","host":"s3://npm-registry-packages"}},"3.8.0-next.0":{"name":"gatsby-image","version":"3.8.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.8.0-next.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"6dcca0307d81a21dd3d5a68ba076f0bb992d7e43","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.8.0-next.0.tgz","fileCount":11,"integrity":"sha512-QIXYTbcE1C2jR+7LAouIgfiYFd43GELdUomvBff9Y2tbrckOBRKcuJfkOC5iUeWTpFzDPFs7Y+Vav8mkM1+aOA==","signatures":[{"sig":"MEYCIQDdNaOVPDfDqB/2rH7PH9b0zOSbZVTfo/kW7L0BFmLv8QIhAMyeUgcKEUOQxKu1iKzkNVzY/CqCfy2MPDHN/QxZo/C6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguSh4CRA9TVsSAnZWagAAPPoP/j3pAMZ8fneSO2XbAWQd\n1HG3eYNE1QqSHVI2b/rFZZvwNUTbd7/6J+AOe4Mnxz6tclrq9A+AlsdDNReA\ncVDkBIMMw3qjK/9WRiIoD9iI9irKHYdFwFDJXU140YDsPKWDB/oltduTQtgk\nrP7aldgCLhbEN8k+wTWvUjDiF5IdhdmALavWczXPZMLNg5M5u9a9ixlgRXWd\nblIsSIFlOHYZnKoNDtwABAqPpKFwJbPZfOpux9Pp7gOdaZRLXUyj+5iSZXNa\nCGXcEW5vZmgJJOaRUlkDAEu7veGAgk78aSjLgoeai1i8W+8GP7WAQugVoPXS\nKROPKocGL1erlTD53bvzJIkCJRQSqMCCBo6yLcVoQjm5+gB2l6BXncOECHAl\n430h1+de9A9y0+nrN0IwHsipO7MpCGf5JNQq1Uurf7AuR0P4qi6mYvwcj0XR\nLJ5QPTu43mv7t/kba0FjJVO9Yv3CPoBuSsoebwT3XHdGDdYhZimx2E6nayj7\nhgY3TBSJFHdh+9sm4WHM3BLamwFWK0QEbQ2AEOc6JrRaLFuJAKHKB5BOyUan\nSbeQp9V8MXxECRxX7+7E1xxHGNlRKN61lLpuvYNR05krwtufATLinsWhp2sz\nOD1FgqMDLzjI5RQ9fsAxyujeaPOewmLnee7KGoiQS18vP/3s3zIXz+OAvKsv\nCtuY\r\n=LpwI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"74c8c6038d9773fc63025733d7db8cbf87b88ad8","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.3","@babel/core":"^7.14.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.8.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.8.0-next.0_1622747256313_0.45266504342741354","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"gatsby-image","version":"3.7.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.7.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b098454283f2f5017571aff0ea148c59566ec717","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.7.0.tgz","fileCount":11,"integrity":"sha512-2jc7pc53hd/7aOxI4QWkbIzKkVhQWre/3m3L3lvhPApIyFUjuKD0Vfh6bovGBTP6qfY30+hBxlg1yfUy79SnLQ==","signatures":[{"sig":"MEUCICAYTyBtEa0qPlsuHLDh0LeQupXSNu8JyORJXxAC/5XfAiEA0Qin46k9YDTFd+aloC/oFIS3COP8sC+QJIb6BIS4R6E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgv6ZSCRA9TVsSAnZWagAA36IP/j8KgeVBCzf+6M6Fl/54\nMDPoFm+9ufFT8uBquVeOzEMl1iDJ2KOUeoC0vh49nitxSCaEG0bfjJl8/s3/\nrdUa/6L/u+2N+iyLcuDQj9P890GwAisgWpFQymo9VszwEzEgsxfHe1Jc36VE\nMuM7nyKuWsyEA7xSqQ5Wr3uGxmKh4BHLIYfHGzaH0cx2YRPosRRBK+wMw9JQ\ny9L0lvy6zJBDfciuMEDBmGw/cgk2xcVzz4CInyery0S6XFya85nLg/gkm+LN\nrxy4Xf3H0+nwi7tioA7xV8CwHOxlf8m/O0l0uYn023/QNV19Qq+aO4snT8MN\nd71bXmDmiaI1nH/gxM3HqazTbTYGAa4Z+chYk8lfAILjYJ+v2F9oc+/gfJKa\nP6YpKVo++nrNVcIVRbiepxoM1IOqFQHBUMMrMRL/pPY790A9BinlMlcc8mei\nM9T33397QI1gWqmVQLy+A83Ako/R8xhKR6fEdd8W4vZlaW881VHT+0maTMpo\nFGD5WGms8C8hZuyuAzyuTOR7eH2UCIfaiqTqyPL1ViuZmsrEGwbDmAavqTnW\nbnnit0svO8xBA0G8+hllcqg3TWmr2UCygsynpE7duI45s+w2Hv/+JDhjYPy6\noW0QEiJWysZU3Oss4LKzo/eA4+4FjLKBfj6mWT6+JRSy7LcsmbVGkQuysAj7\nhN25\r\n=0Cxv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"fe4c8fe552f32aa824ddb10b4c1dd48ea1b7de06","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.3","@babel/core":"^7.14.3","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.7.0_1623172690476_0.539729953618999","host":"s3://npm-registry-packages"}},"3.8.0-next.1":{"name":"gatsby-image","version":"3.8.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.8.0-next.1","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"cf99b78abc3476e938adc9508693a08d614acf32","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.8.0-next.1.tgz","fileCount":11,"integrity":"sha512-+7FU0OaVQ4YrIl/O2FTswOcyLw3+MiSMILWENrDc7MC971LPsxwbMbmvUTvJOn0SJt6gdsVAy4ehEOSG8DFRJQ==","signatures":[{"sig":"MEYCIQCN5OJsXAkUyVOn6sw4FGgQ29+bCMS9Y3c2AZNfGCXlRQIhAJRzLZA7JonZqV5O/slzyd06Co3hnngTlUlkKRAnKGoJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwg/lCRA9TVsSAnZWagAAyBsP/A6+3wDz1NqW2BaL2lE8\n7YzwK4MEz9LWDyykgPN5vfoCnmPMW8PFa/dcCw1DUgAGCCWffDuLaQ7g9wXV\nolzk6su6HcCS6RtNS+eFEvsLf6xzq/1P6gLsK5gpW4Jv+wniGRixMS/wEw2J\ncOt0iln1tvtyfQTKQ3/ywRsmYH+uVQmjZ2nDH6pkT+ivyYKzpLMi9BMMYDJs\n1eF/7Ujjin+UaghrB3Xv5lJL8SXJx791EFNhL8p95dq4QhTFxdBJ1fSRR08w\nyh09RXP/VVXaSYEpOZH7zTLaYtcmKTbP6mBID984mNo2fQBGOe+lHk7V/jrg\nCG+Wojh3Oe9TNunspoeh+Omg1yWvAkFZVTn8kRdAVct0WeSNbWavlMvBDQCW\nM42GRFfwg+tDgaip6s9jVz+D7wivjYCOrkCt4KNyCox2R3XBBWmSFTkM16gX\nSo4ko3SnHhMNFVSIRPQGyBnH4iSHeHsfk+zG69wh3NzJLsslvYdj/pq912lx\nUmaNLQI9xr6w0e/giFw2F3f2I7+yAyq+AwqytqCgdzmCV+VwICOqBL529Ofe\niANNbNPe4HKjGwaKBMusMoHewaEYEIhntwNw5/aBmDwMX/0rh1fCEGuq2Lpc\nsaS+7zzM/LV9j2ette/AMHVQYcomzs2/hfIE2uBx3zMPy0AmDwM+La8ZxUv1\nyVVV\r\n=66X+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"5b621bfbca9e107d05bbe609e77cc31eb64da3cd","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.0","@babel/core":"^7.14.0","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.8.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.8.0-next.1_1623330789627_0.4800300747077535","host":"s3://npm-registry-packages"}},"3.7.1":{"name":"gatsby-image","version":"3.7.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.7.1","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"ccf0884c2503d2282bc92de110d375135040637c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.7.1.tgz","fileCount":11,"integrity":"sha512-cYGL00RDJXYRiVI2aNf6FGDjP5ebfAI3v8R9SakPa78LYVlgX8wUxtTTT7Pq95Lq5Lxo8m5mM+cFUnLFLsMK/A==","signatures":[{"sig":"MEQCICSl0CLA+nzVzu6CBa/jbNLS0gzEKC+6wyOKhvusIrIdAiAx63ChWsH8voBpBIvzZeogjVb3uCi3en0cuAer+dNWEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwkJnCRA9TVsSAnZWagAAI/4P/RzYvI+ik+fHQwu/Ome6\nw+OzJqZI6hRPkZesnSSccRQXVnlhl+P2BDR2+e+Jc/mBOhGVYgaFQ8hm9ddp\nfEx/BrU8YFy5X9P02JV/l9m25tRKgNxtjSXMuC+kJzPx6uRM22Gv/s8tGIc4\n6Tdk/+Bv0pGOvCmqh7+DkFN0dIfkevDfbrVPqYFlDDDZo87s7VeahsLVpDSi\nDUvZ8qxe+aw4U4oQsaSY4VMiXdIUzcYZxHkHyx0YI01cZchVJDx9pOdIIcBi\nrrr0evQxEtgpGa9f/WOtwgRsnNvGAQQ5OtYrCZURdWQQ6XUR5GWuVi5lpRA1\nXsPcWYBeJfaAfGFkirPpmu138UGsmu9W1xEEkrw2KR2hR4K5oFFhA2GtbFtK\nV5VTLWHwt+0Hj8rg9OH90nFy95ki9MM+ZkWtdx1Sl423XG0jItyZg2xLZ1Os\n5XbBeqbIrN2Bpicwmpgt+oGBUoWOadlouwaYrNnLK/cLAqtqgn0I0HY4SmwI\nivtYRrTuJsjgc3iBagQp5b/l8yQ9IF7mCB4mOzX87YHJZtnZW6JFwdgNhy45\nhiZOngGSF3k4lrea8Nqhtgz0V3ZWRTuD5DvT5BTlF3TZM6FlG2Y68pvKGuoO\nZeF4xM98hxpQIFkIEqbwxO5udnAgd4ulhi3OnyoutLJcTa+jC1e2YZ2Icy+J\ncQss\r\n=x0vn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"3be9c246afd928dc72a873567d5f6e3bf61e82a8","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.0","@babel/core":"^7.14.0","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.7.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.7.1_1623343719126_0.12139858941536019","host":"s3://npm-registry-packages"}},"3.9.0-next.0":{"name":"gatsby-image","version":"3.9.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.9.0-next.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"5ee98ed7444a038cfc415cc4b3874012f96b03a1","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.9.0-next.0.tgz","fileCount":11,"integrity":"sha512-hO0CInTJPdcIIpc7pS0sBbxXPKiRkw7+8efj2lIy2vRLCx2mG+vnBp27klQYKcJP7pbaZMnX0UL1xYzZWQJ3DQ==","signatures":[{"sig":"MEUCIFUGhXDKegutgS5U2/+XfFeu68oNr6CBRepb4Way4FQxAiEAn+N1J3LZG6JC8LmrdSSWHK65cx5Nury0K9GYzx7Os1I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzE5UCRA9TVsSAnZWagAAXnUP/jcj5sCNi7PBUT9DDQFr\nXkXDqRmEerzWwmm9zgwaX/Hcbt4g8ftyvr39bWf26o1XpUln3C9LBItXx1kL\nEpXezYpcnceRgjyIamv824FLkKmgxtlY8UinWTm9rXelg28nKbi26ylV7WuJ\nKQ3yrb3hxVPTQboqRqZ5FE3HBTLD1GIRjnfm2zlfNxOc8cX5mJvBDV8iJHrx\nK94WrXxOHkO8g5P7hUYKmzF9nobRr5mLIjJzYNeqtO7XR8+1EmU186nfKTc0\nBiVQ3B6Dkuxn+ZakVx5Dbc82cTXZe2zAwcuT5hj3npSSFrravfkcZoBFHk7x\ncJzifk5HXrEt2WSbf+fA3VVuV+HVcugkCWfRIUERqzRoBRzAmA9uuMofdaBL\ntnLEIlbWsdvlzKllkFoiLet+iKrWt9AKF5GvPJAQt5vZyrk7cjR1nAZX8aSR\nCJBBXIlHI+2M28AgvYSjd646h4RtKh0YSbi4zWMHaoYshIgbGeObYDUuplvu\nZLySzTGpb+uG8sIQq6Cpe16HUm1CkPhhLcf8GgISgtZ7at7sralJmjVXI4Ay\nHrQEIPAJAuuWtkak0hB/3fNEqWZaJEdZVE1t+P3bfPu7iJGlYrRMV6LEWl/7\nt2fYhdKHgS8klyd19/mHKGgmB+PwrZTp1F55uh8RTL191EADLY3I/VFRBjIR\nOQx1\r\n=3vOj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"33f0feb05de7ec46f87c77aa95f15600ad50a2f1","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.0","@babel/core":"^7.14.0","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.9.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.9.0-next.0_1624002132066_0.04227256821272385","host":"s3://npm-registry-packages"}},"3.8.0":{"name":"gatsby-image","version":"3.8.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.8.0","maintainers":[{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"sslotsky","email":"saxosamo@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"09b5ddb50b327a33309ebcce7f072e8c518e9163","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.8.0.tgz","fileCount":11,"integrity":"sha512-/3baJbPMjOpqCPziyzs9ZI6iW0w01MXWs6mp5mAUk1um2nsSbqO+8U+6eKkPKUJbV/4k5SIOare9GlVRcGgjzA==","signatures":[{"sig":"MEUCIG/0xNZkKA/c1nQMyiSbMdzqI7Ja9kwZAgvNes08UKwmAiEA2WgVfjaWqORL/ilOIpdyYgCjKF/KUL0ylssdIUrX2m4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0k/TCRA9TVsSAnZWagAAvCIP/AqacYmARYrSqGnR7fKR\nIUCLnXvkJ272QP76yCL3RSXNxsuIKAzc8Dqk+C/TWMsrw7qjIgKzMZZ2Cknt\nTIC/anCv3oSPSNsD7OSAanyUGWBLO0xGnbAzFugn7uqYhGkad2r3dMQMjAw2\n+BF2kItynye5OIiFcFfnd8NvA5FxBt1nCx5fF6jJyLPvWSra8/ZNhHfLTPEP\nYUth0HNIZlfig1WkHKauOKX5O1kxMkCVSw34qMj0tMc3WZJWIjQJj5t9VFMw\nQ4/p/aDJZB0WF/YNTDW+kkJlOPE/lweK+pLQgb5/Kv6Jr37ROvtvbjB+VY0Z\niTQAp9obci+ZxyaxlBz5HrDppVh/id1YOZVWBiGGsSAqHtR66LRR33+Aps8x\nBdSKBp1EPNhq1+64vuuVjtUUiQUBrBOjZ90kmENgx/3J4CPa1UPcrztfZBHI\nT7jKk4z5BjRnf688EyCdKHWMPlRTW8uoqoHlXFE0RreEFBbJojHpzUQ7PgAw\n3NQCBkTGF69YnY26Xw/k8x6BRCbp2dutS/kpeRjxWFMiZSXnOmDqZrFifcRe\nB33luXe2uc8jAOA92h9D2ImuCLek8JQhqJ/Acfgx1cKubNtnCgl+R86Iy0Sl\nvtwFkcobPhycavnvM92rhrayhvnoVLO7Zr5XzlwAdcnqeztK+at6HMZ2vU/T\n10Ey\r\n=LnGv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"715739c81824862bcf724ea581a9408fa357a27c","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.0","@babel/core":"^7.14.0","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.8.0_1624395730742_0.8530337802535013","host":"s3://npm-registry-packages"}},"3.10.0-next.0":{"name":"gatsby-image","version":"3.10.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.10.0-next.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"25bdcd17e7ba9739d9784920d56505066c3bad0b","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.10.0-next.0.tgz","fileCount":11,"integrity":"sha512-xELmIIo2hza88MLx/F/L+XMASDMgneb73tjc5F2plG5i79gPzXWwY8w8KsXNsoNmjizxe55wnREuld4ZgPxcuA==","signatures":[{"sig":"MEQCIGgAODbz41gotcxzVBKMlrhheT9kK6/XfiJ0MDd6x7r6AiA9Wnhdubg32Ldf4wVEAB6E037YeHe8eBq/TgB79rTXpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3hAGCRA9TVsSAnZWagAAgV4P/0LdxQXPWAmdfefDTib/\ncFkzf/YfhRumU4QWhVgGaR/yfRU1pRBjmlDgB2u/+FG35NKM9LCOGrMZm7IE\nTROuH9pZv6kb9aCA4GRL6H7jhvjS1o9PTu4qFTREv9E4KXtjKel5XBawD5V8\nlD70FDAyworop2snzp4JnThJmOBCg2QJomuyviggHfORw8Dg1dsW7PApu9jh\nyRA34VrWlkp8dFzMC+XSYeGam+wElTDZuPT89d6YBBEgVquRdFcjyD93Jxsc\n5qG0CkA9Dys48TnH/lKBbwegSLenBQsN3Fzvy580zMS1cprWZPUmO4RY/1VP\nwDxxrzbPNP5S+moMxT9mgY0mS/X0PS67UFKz/q8njUqeTMrKB34d+NVdbbSI\nazkVCwCIpo5E73nne8b34lOe8DjQW+pnuRZ7Lhnfs4pkktc//liOBnhgqpIE\nPr71m/j9/6IvQlc00K3WPBNlHsr6AQ8t9JfJIlKnciKkGsV7pi41PdGOR/si\n9JB8nJ61EELk/k8FbPP/R+6THCEOkYqSwzZozEQKOogd3TbOYkFavtVHkXkx\nm/HjnxofCz9h7IGPJmNsG4K8PSDm1QZTbx+58VKG/Si2Mz1rqwn7z0GVhkCq\nGMEb9iD32eevD4Hd8DMC8Al+pzjmsFN5h8Q0dZJo7woiJghtVI18BRMVbX4O\nG0VM\r\n=kcMI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"db030ef900abd051151bbcd6c9ee4c9e41f58fd3","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.0","@babel/core":"^7.14.0","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.10.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.10.0-next.0_1625165830394_0.7200633464844086","host":"s3://npm-registry-packages"}},"3.9.0":{"name":"gatsby-image","version":"3.9.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.9.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"fb36db0ac8b08fbb8a03cf3e715ac861db9e746c","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.9.0.tgz","fileCount":11,"integrity":"sha512-VL/T/M1VNeIdJA9MKnXiHyPG6ruuCkXKoC7E+auS6O7S2Jm6TWXtWhpYX+Jt8ofGHK6TzHCIGhYtENGTW9mtrQ==","signatures":[{"sig":"MEUCIHSr3foI9/EyKTzWtOD7mZTt8O/pTRReFyO+zy0sel5NAiEAwblPz0LJd3adCGEpaffJ7hkPiEgxXgg0DfSZ/SODHu0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5KhZCRA9TVsSAnZWagAAidcP/2711d0DpO6OBe9wDiJL\nqIbB8r/4BV4xyGxsN2Oh74NPJ6sgXi3hb5db5Rjp9kdXJ2XHWZhAzLx4Z9HG\nd+L4udMR9PKRUjZeD++3XEMUoyVtXf+rKiyJu6/I3IPWuokYvArm3pmmbbmE\n2yW85PZvy18623WxuR8BSWE/Ih2CeNa0+d81D5bjGYO/3FX8+FLwP0awv9D9\nNcZf7fDO8Uo0GJcwY4PgVKHxVnuHwyenELfpPviW0yvDjeuWcqau5MPYQ/x4\n87+BixxYRKu9T5IC3m/KRyU4mISTjGjhGuBE8VgCGOO57xV9P3bJT3E7NqtO\ndPY9sdAqYYQxu4kEqLCmwGmffGwkSexPTbHGLpayWs91G9DiTJ6rbpvNCoWz\njsIiw9ahenFSLzOiPbBGhiKMerrJcNA4ihxRL4oFg1kMyyGleI9xu1cq4r58\nXdZYQUCAFYLu4QFhDVi3WZ9I+wi6EZn28ROx8JMuOwxcgF4AdwKCDPKzz/kS\nqqvufeJTzcsek802vrLHhNre4iEhq7YrulpggCmtjTa0oseUKf6/4SAVZgrq\nG6IppsrorjW6FWwm+5lbBBajQgFQLO+mR5aYxaMl3jbjoq1yUVHmMFXHdiV1\nL1KukN4YlZG6evoKEP6cFJJgS9eXSy8uIV6pKYWBgaNKv4t8ILETvwTLBUB1\nW3Ct\r\n=r9W5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"808f32ff1506297af5daeef1dd9907f3e1ec47a1","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (win32)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.0","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.0","@babel/core":"^7.14.0","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.9.0_1625598041253_0.27413720202174297","host":"s3://npm-registry-packages"}},"3.10.0-next.1":{"name":"gatsby-image","version":"3.10.0-next.1","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.10.0-next.1","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"682de0772db07d014e178d44729e7baab406b02f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.10.0-next.1.tgz","fileCount":11,"integrity":"sha512-orZpI06OI2Mnzkg6UMvitESC6+pzP9A6VJ/OY7XVisy9Zf7/7uVPUmB4KinkcDc3Pj895fW5+6JwpptF2TRcYg==","signatures":[{"sig":"MEQCIBe5HL4YrJXkt1gruZpx0aasTCOAKZBGXpvoDSgH3//ZAiAebUFU5HgW2SsBqKvUiUHfyEcUGn9SpOEsz/8UDtiTrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5wyFCRA9TVsSAnZWagAADxAP/1kC31rVH7ndHK/8qHhe\naDTmNBRJKuxthvLlgx1ZJFAGGxKPnmTx63cGQMf4kQWwdV34IWhRlYvpfua7\njeDnI5oSA1FHR0b3CZK9K60b1aJWhzRpWjaGzh1/qjo0FOgU1AHCT2+7lYr/\ni5XA+TKHdk8zVb1oNxks+GSnXaEUO6v8umbIDaxPhoAvdf/qraMfj33OvxbN\n7QQuTQADRGiahmfqXcsLwhPAEaEV1EBtLgbzIM/VapEtbt0SmdN98BHE7ije\nUZLC7wikRfIpWaZwdMe7sZunkahHyZpRd1mp3DbwvFKI9BAZQmv2uGZImYZC\nHSmW96ZQUMtbdfyOWqIlNFkNwcNaNgLKQiXpyxNntB+I1pKcBmXqCtkKb5j7\nQMq/1cmhIQ4IaRaQflvesvBDrAhIOz2GuDwPtmWc/ACwYBXYZvxgGmSC022L\nNoPq1wd7XRtmcKi/JHZT2MYsYHsi8XOqI/mUEqtXc4K7OKG5ytnqbzWJ9bGX\napLlBM9VQmixaNSkafCaT9CHYvbaR4BbPoYiK6hHICWoYa/EZMOKxxU79vlJ\numdYz+hOroSPc0D3dYOI36qIy4JQ906PJTzzWnZLJW6qZmy5gA1fJvEd6jEB\nHUVQpXIdj+PbR005GQg1IkzBTaAYE0ff+ApgYqbrmEK3kWH3i7ZTVXOCvYLU\nj9I9\r\n=KBAB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"ec0444847b2d11ed29feb656c9c7f32ab78e2dc8","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.5","@babel/core":"^7.14.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.10.0-next.1"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.10.0-next.1_1625754757234_0.6780773131887408","host":"s3://npm-registry-packages"}},"3.11.0-next.0":{"name":"gatsby-image","version":"3.11.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.11.0-next.0","maintainers":[{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"c103fb5045b9f061df3a10c33a288c0dce2a5e1f","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.11.0-next.0.tgz","fileCount":11,"integrity":"sha512-JkahKcFC0vmYV4xtwoCweRyo+bnWWM2TeaHuu8JVZ3T72TU1aEhl4NVNyneohCJcqjYE+MHUceBC+8nQy6caRw==","signatures":[{"sig":"MEUCIDUo9w/UR8Jz/mNpIiaZ7xHJN0wLf9Y9bmoOM8yYJhMbAiEA8w7HPggjebWJG4sertfSPGkO3EWC2iwT6GQAVJCdRUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8FnHCRA9TVsSAnZWagAABcoQAJYfPbqGJlBAzFYMEK9H\nYRPIYiRgkSrBZtL7PnGs/Zxsods6wRBsPmg1B88re2w0x9ZreB3ZQC5pL3/L\n/pk0EL9bZVicBQqm3DOAAReKWAwEysJwiu5cWgbbbiyviuQaAkRwze4pRcWe\nBcL6eqnKlpH9l8D9TyHqydmE3Esnx7+Vsh0pEgkicBzjWN7KWkANvMJX1Wy+\nEj9WAeuO9MtijjIMMrKy8wIMA7sfEBm9WMEGA0g5KYpvUiXBBXBquKY0Lp/b\nNzm9g+t10N8HPeehGNaxcqVwf3fIqC3CfACJ+G7KCyL+dZ91JH5DoDqqq2+b\n5YlWGjSV0aiHGNkM50ebXV1ZHBUIyVTte8/Cvk0t0eV16Lbv0z3lLaWaH7Mx\ngaxERk7tVdxrk8XygN4aS8CrXHcdAp0TSZkGrJnN4TSwz/gzjT4bWJG4shdH\ncEUeBvfkrQgg1n5yiX0aU/pdgD1IeGcyC3RR0E5CQCg85ZydbkktqPRLIjPK\nGQUdMLQTXVrEoc06ViEdh7TOunIZ2LE2rL3SPg8w4hPTxLsvsJq9G2IazMQb\nF2ptGthIRtUuuqk+F2WB9sKFtVtfdBRzMr2EiFqDKT/GfWXHefUar2PkDEdv\nlDhgKiySuz+L04mH412HG6OCNOUU72KbdvliUHsHH98dLX+YlNpeyf4Xy525\nY+vN\r\n=zCkz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"62997b37a7bf851e67e89c7440f88458978e787e","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.5","@babel/core":"^7.14.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.11.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.11.0-next.0_1626364359430_0.8665769557890857","host":"s3://npm-registry-packages"}},"3.10.0":{"name":"gatsby-image","version":"3.10.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.10.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"f4013561736c0baef8c0ba2c72b760de78bc1b28","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.10.0.tgz","fileCount":11,"integrity":"sha512-bbBqR2sY5wWt0qPAyV0Q2RJwy9Gd9Z+cs/go3XZDl/8XktyWSL2znoUPZfBJ1jnJ6VvbyqhDvmr7vM3zM70Xfw==","signatures":[{"sig":"MEQCIGwph+5Ya9copCqgpmEHMErylrOr46vKZaoSiZ9vpLuIAiAt34X4/pQaDpUqirvIWbkKs6T0/SbBnw7zgKlI2fXMsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9uZgCRA9TVsSAnZWagAAHt0QAJcTVqT5SNkAwhrxeUSV\nBUb9015Ca2mbyMboNJCQHXceYGB7/cd6TDGBwEB1Mc4vg6O12Pt8dSKPIPvt\no16DkrI+wCXQetpIFgNM8ND1KZg1HEUj6WbwlbtYmu+/Rl18HKXnJ0QT41s2\nvNAhSSAmtwuafTLSIoel6vE0chiW/v63nWsoQQH7/QU/LSDjd+m8SQHT8X3s\n90HSGaFh+STM2g8k4LxRmYLElVcWCnJGBS9cC8S+JH59dJgcvlgR7QzVIz/Q\n9Ix8nqJ+bqu+6n0D5RMIBJyrpyV6iyUy8W/YVsgNCv7YU/OBlQh9muLAEvGv\nfDpIAo5Ilig8EgKRmWsL07WHgAXJdkqyiOqlAvQ+SqszU6bSFw6iAsuFDD72\nBjJlHy4xGTNtuL8MBIqWlZJHju/MubPMviM5CshdLd61v90cmCy/MgS+wTAV\nqLoD9y/1ELr4HU4suP7Rzk9EaT9LljajNI/5QMrgUB8460BqZEBmD+MfkMCi\nX6CB/QhyDa1VjIuTijbwk6lDi1PC8Kjnem5PtVF+BQVX8k/xkLGX7wpijrcG\nOcITObVQGydKS/PKgFAA56saX8gQpWFtjzSXRxrhauUwY2g3yqgOeUfrNvyh\nJAeREwUIgeTPAtsXNHjuD+82sPiDziu6AoYJLIc4UMqiXja0lZhHNqXb+RgE\nwmcb\r\n=WuXM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"e77af12aeb672cf074719e0bacb7cccf796ebaef","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"lekoarts","email":"lekoarts@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (linux)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.5","@babel/core":"^7.14.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.10.0_1626793568781_0.07442479983655614","host":"s3://npm-registry-packages"}},"3.12.0-next.0":{"name":"gatsby-image","version":"3.12.0-next.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.12.0-next.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"b3d0fa13c33bdfd31e5307ce2f68d34f73b5f8d6","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.12.0-next.0.tgz","fileCount":11,"integrity":"sha512-IPLOp71edJNApJsCmZ6m/6VrClMuKQNTbE21vcHA4TqXcKXFi1+BMNKl44mxK6QDzzE/VCekqN/iL+sTKTFjPw==","signatures":[{"sig":"MEYCIQDoJEYGxhmcb3rEZTc4uBEYTbbHGR+jX0FH8qTsMd7wTQIhAO8RN4CbxsdWz7f2G10zaaCHqxTu/94lTLHAg9aa2rFs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAtZZCRA9TVsSAnZWagAAFGkP/RsRhX59nFH7zCfAEDmC\nUjMiAUDVxyi25SInlOY+3draA6sy4c1g2S5ngxOs7dcBB3D9u5GYCNvCxP7G\n5jLPGxxZ0vlp5E9Tm+XN2dVb0hq0+ZAkzIQJ3BbHR6qkjHSP0xW7wLXnvORG\nBpeX5lZFBgK+2wxRcCm1rqdVgexxseKopTbiVhJF3gdqjaKX7lN0ulFpyr/H\njsjIYxaGVpvq/77s0V2kwr6tDq8M/T4mPlKEm+58bUi6uBQdCoadIiQS9zbV\nsyfOWWhq2yvOUwQbzf8m1GMgISM9Ad1V/bncSl4kqHBoQ4HTmEfPhILIQUQj\nMIrHB0jAlpCJPP2EkqaLO3hcRy3FpCcCzI+3crpq1icn9Ts7b2qAYWOeD9ws\nSpOMo83dzU0OMR+VBXIHYIkkfnKwN0Nmc1N7yhauIG6EHivHhscna+Y5i6Ga\nLvTbHTcBcQInTMH64jCZaH9DKxeLqizLv719IrEtbm4eMMRjHbd54lVLWDEB\nPCjoeYLMRZn3DuCa0Qx2mlyxsR2hfbLgvodoqgRLrWvDe9LjH182hKqf5G5B\n/AYn1L6VEKirzTJQ0d0vFYl6BNfuKq+cVbKg75rnQL6BZ8gCSGZcHqrKNx7F\ndqiNuu/MVFJ0cFoMsOw6tFQLX0XSsWGexlFPy8fqgeqN9+HFJRLRvXKBmd7a\nYos0\r\n=j0Qp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","engines":{"node":">=12.13.0"},"gitHead":"d8479b2fa64352c0cb9f1c8e870812e75178695f","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"pieh","email":"misiek.piechowiak@gmail.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.17.0","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.5","@babel/core":"^7.14.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.12.0-next.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.12.0-next.0_1627575897313_0.7400062211024632","host":"s3://npm-registry-packages"}},"3.11.0":{"name":"gatsby-image","version":"3.11.0","keywords":["gatsby","gatsby-component","react-component"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-image@3.11.0","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},{"name":"wardpeet","email":"ward@coding-tech.com"},{"name":"vladar","email":"vladimir.razuvaev@gmail.com"},{"name":"tylerbarnes","email":"tyler@known.design"},{"name":"fk","email":"sechskilo@gmail.com"},{"name":"smthomas","email":"shane@codekarate.com"},{"name":"lekoarts","email":"lekoarts@gmail.com"},{"name":"rachelbahl","email":"rachel@gatsbyjs.com"},{"name":"daniellewgatsby","email":"daniel.lew@gatsbyjs.com"},{"name":"veryspry","email":"ehlinger.matt@gmail.com"},{"name":"abhiaiyer","email":"abhiaiyer91+npm@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"dist":{"shasum":"9070ffd1e656b801052acfa9e470c34427c099e0","tarball":"https://registry.npmjs.org/gatsby-image/-/gatsby-image-3.11.0.tgz","fileCount":11,"integrity":"sha512-vRMhGLrgyQRH2RYs8leyZ1UyWYIew+NOZEsKur1w6gnWDf0U9UVmYFa9OIE1Vedlo1W+on3AuZ3/KwM+cI69VQ==","signatures":[{"sig":"MEQCIG+muycL7st04rSRNriB6j/VIX+q93qlB8DU2u+U8C7lAiB76xQrMDIsd5y0qnGChiVCiG14XX7L6rDYof8A5txdmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCta9CRA9TVsSAnZWagAARIIQAI6E4Lvo6ml500tN1I7I\nhhZXwh+f61pNRZnwPX4zGzJdce4m7CdNXa4uT8kcd1WimDKiUP5q5JLHh0pl\nfCzb9ss5YqeiHg0VL4JRTiht6Z77xeicA3d9Lk1+an2BnjJB4xLKlOnc/E1e\njnFJ+wb0wW0LJslL5MlAgOVth9kk6ItBVhfXX0M11NTtSK8Y4cnZmQKoQA2w\nRO2T4BKTROAaeIh5qYjbnMbDmn0qXxBtE/1/3dmOcFI+62eaenwI7wgenuY9\n0Lh4LBGhMvzjSRUjtkqgQVY3XqiX056xy5nG3EEitU96vmTAiDCd2ovIgwgN\nypQzLxksQHC+aeuCi77uN+19PLvyiH2K1cSUMPFp8bP50bZDY97J80h2sWDy\noSm4h9EL0J77gMTg9eUQhfI1qvaRuudIv+Ew6n8LiBO+wRSPTjsSfEvoUt8b\n3Q6VGdgQBsTGBwJCXL5S0TUUZuuq8g3nB8PeCvnjoDhLhUaUbSHMJ9lJSH7u\nDjkyA7XWb/kGSnrw/fJRQZ8fY/fmON0X+AJhUkeOSrv6JQsE1TvH6N5de6d5\nHlqvFqBHf7Si8ud7+j4Vmlaxgn30ZQdgAZ7v136i6JiB6ftCKhATkIhnwqzc\ns0E9Uilb34s6TmNtxij3OBclaM/svxEHkbCY/VKCW0Wgk8eV1aqJKQEWyu2n\nFEeM\r\n=JmNV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.13.0"},"gitHead":"115e63196bb09f09446e7b57123e1178d81a7f40","scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","watch":"babel -w src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build"},"_npmUser":{"name":"sidharthachatterjee","email":"me@sidharthachatterjee.com"},"deprecated":"gatsby-image is now gatsby-plugin-image: https://npm.im/gatsby-plugin-image. This package will no longer receive updates.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"_npmVersion":"lerna/3.22.1/node@v14.17.4+x64 (darwin)","description":"Lazy-loading React image component with optional support for the blur-up effect.","directories":{},"_nodeVersion":"14.17.4","dependencies":{"prop-types":"^15.7.2","@babel/runtime":"^7.14.6","object-fit-images":"^3.2.4"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","@babel/cli":"^7.14.5","@babel/core":"^7.14.6","jest-matchmedia-mock":"^1.1.0","@testing-library/react":"^9.5.0","babel-preset-gatsby-package":"^1.11.0"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-image_3.11.0_1628100285164_0.5116892424844348","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-09-30T00:56:58.752Z","modified":"2026-07-02T15:11:28.023Z","1.0.1":"2017-09-30T00:56:58.752Z","1.0.2":"2017-10-01T21:51:13.503Z","1.0.3":"2017-10-02T22:15:44.600Z","1.0.4":"2017-10-03T18:19:51.903Z","1.0.5":"2017-10-04T20:43:05.658Z","1.0.6":"2017-10-07T04:08:18.670Z","1.0.7":"2017-10-07T13:00:14.368Z","1.0.8":"2017-10-07T23:29:04.893Z","1.0.9":"2017-10-08T00:29:52.985Z","1.0.10":"2017-10-09T21:08:24.961Z","1.0.11":"2017-10-09T22:52:27.210Z","1.0.12":"2017-10-14T16:46:26.148Z","1.0.13":"2017-10-18T16:10:20.483Z","1.0.14":"2017-10-20T16:34:07.502Z","1.0.15":"2017-10-25T20:07:53.439Z","1.0.16":"2017-10-26T06:26:18.063Z","1.0.18":"2017-11-01T20:29:03.491Z","1.0.19":"2017-11-02T18:06:45.710Z","1.0.20":"2017-11-06T23:14:21.959Z","1.0.21":"2017-11-07T08:15:40.489Z","1.0.23":"2017-11-09T04:54:27.508Z","1.0.24":"2017-11-09T05:35:11.209Z","1.0.25":"2017-11-28T23:11:30.458Z","1.0.26":"2017-11-28T23:37:33.806Z","1.0.27":"2017-11-29T00:09:03.833Z","1.0.28":"2017-12-10T00:45:11.108Z","1.0.29":"2017-12-13T03:07:49.070Z","1.0.30":"2017-12-14T19:57:57.201Z","1.0.31":"2017-12-20T23:25:53.962Z","1.1.0-alpha.f20ac0ed":"2018-01-11T18:32:18.902Z","1.1.0-alpha.a0a09c94":"2018-01-11T18:47:31.656Z","1.1.0-alpha.b50f2063":"2018-01-11T18:54:35.830Z","1.1.0-alpha.03b9df85":"2018-01-12T14:35:41.074Z","1.1.0-alpha.e9df8e57":"2018-01-12T14:46:58.694Z","1.1.0-alpha.8c822451":"2018-01-12T15:00:30.222Z","1.1.0-alpha.e5586916":"2018-01-12T15:21:58.066Z","1.1.0-alpha.9da1bca1":"2018-01-12T18:06:57.446Z","1.0.32":"2018-01-12T18:38:14.760Z","1.0.33":"2018-01-13T01:03:17.212Z","1.1.0-alpha.aeb05561":"2018-01-18T01:52:31.682Z","1.1.0-alpha.7b47e00d":"2018-01-18T02:09:41.259Z","1.1.0-alpha.f5c1df61":"2018-01-18T17:29:50.733Z","1.0.34":"2018-01-19T13:53:54.569Z","1.1.0-alpha.926cb6da":"2018-01-21T01:41:52.449Z","1.1.0-alpha.3f307d61":"2018-01-21T02:22:24.090Z","1.1.0-alpha.d1544e1b":"2018-01-25T00:13:46.847Z","1.0.35":"2018-02-06T04:00:36.072Z","1.1.0-alpha.53bbd4cd":"2018-02-10T20:34:04.936Z","1.1.0-alpha.2b695217":"2018-02-10T22:36:15.394Z","1.1.0-alpha.32ef58da":"2018-02-11T03:44:10.708Z","1.1.0-alpha.5182142b":"2018-02-11T04:11:51.437Z","1.0.36":"2018-02-13T01:11:29.284Z","1.0.37":"2018-02-13T23:57:43.030Z","1.1.0-alpha.6ab84875":"2018-02-15T02:06:10.981Z","1.1.0-alpha.9d4de2a6":"2018-02-15T20:31:53.204Z","1.1.0-alpha.1a8f691e":"2018-02-15T21:00:31.945Z","1.1.0-alpha.9e381f74":"2018-02-15T21:12:08.260Z","1.1.0-alpha.dd504153":"2018-02-15T21:28:59.803Z","1.1.0-alpha.b68b7f5c":"2018-02-15T22:00:09.870Z","1.1.0-alpha.bb258cb5":"2018-02-16T00:29:11.559Z","1.1.0-alpha.e28a1c8e":"2018-02-16T01:10:42.932Z","1.1.0-alpha.067e672c":"2018-02-17T02:44:42.812Z","1.1.0-alpha.d0b8dd9e":"2018-02-17T19:04:43.283Z","1.0.38-0":"2018-02-17T19:30:33.290Z","1.0.38":"2018-02-19T23:28:53.244Z","1.0.39":"2018-02-22T23:37:06.272Z","1.1.0-alpha.e66c6c9c":"2018-02-27T01:24:18.493Z","1.0.40":"2018-02-28T20:39:18.203Z","1.0.41":"2018-03-02T19:54:42.233Z","1.1.0-alpha.2cbec6d6":"2018-03-03T06:46:08.664Z","1.0.42-0":"2018-03-03T07:23:04.477Z","1.1.0-alpha.f98688ee":"2018-03-07T02:25:17.579Z","1.1.0-alpha.9fe50b00":"2018-03-08T03:03:59.923Z","1.0.42":"2018-03-13T06:17:11.905Z","1.1.0-alpha.34eda94b":"2018-03-17T21:21:52.871Z","1.1.0-alpha.12622d64":"2018-03-17T23:59:32.696Z","1.1.0-alpha.84bd71b4":"2018-03-18T00:39:13.340Z","1.1.0-alpha.6ad61a13":"2018-03-21T17:48:51.683Z","1.1.0-alpha.5f47082e":"2018-03-23T22:46:57.508Z","1.0.42-1":"2018-03-23T23:18:28.720Z","1.1.0-alpha.95fcd4af":"2018-03-29T02:21:45.483Z","1.1.0-alpha.20252dc3":"2018-03-29T02:43:26.019Z","1.0.43":"2018-04-04T00:45:30.395Z","1.1.0-alpha.4a09f745":"2018-04-05T22:14:30.631Z","1.1.0-alpha.76793cd8":"2018-04-07T22:11:45.629Z","1.0.45":"2018-04-10T01:46:47.231Z","1.0.46":"2018-04-14T22:19:44.487Z","1.0.47":"2018-04-19T16:32:47.988Z","1.1.0-alpha.5c9569c0":"2018-04-19T16:55:59.382Z","1.1.0-alpha.523a4286":"2018-04-19T23:50:57.553Z","1.1.0-alpha.5421f383":"2018-04-20T06:52:12.847Z","1.1.0-alpha.e9c3027b":"2018-04-20T17:55:28.291Z","1.0.42-2":"2018-04-22T01:53:14.986Z","1.0.42-3":"2018-04-25T16:24:36.267Z","1.0.42-4":"2018-04-26T18:18:44.175Z","1.0.48":"2018-04-27T22:13:15.810Z","1.0.51":"2018-05-04T00:19:27.164Z","1.0.42-5":"2018-05-11T21:42:51.285Z","1.0.42-6":"2018-05-15T18:26:01.348Z","1.0.42-7":"2018-05-15T19:53:03.139Z","1.0.42-8":"2018-05-18T15:34:55.277Z","1.0.42-9":"2018-05-31T13:11:29.922Z","2.0.0-alpha.2":"2018-05-31T14:03:02.114Z","2.0.0-alpha.3":"2018-05-31T17:03:45.796Z","2.0.0-alpha.4":"2018-06-05T02:17:03.753Z","2.0.0-alpha.5":"2018-06-05T22:53:08.439Z","1.0.52":"2018-06-06T22:18:53.732Z","2.0.0-alpha.6":"2018-06-11T15:20:50.964Z","2.0.0-alpha.7":"2018-06-11T16:53:40.040Z","1.0.53":"2018-06-14T09:03:58.902Z","2.0.0-alpha.8":"2018-06-14T12:39:31.272Z","2.0.0-alpha.8ac171a1":"2018-06-16T19:24:48.109Z","2.0.0-alpha.e328d33f":"2018-06-16T19:32:09.182Z","2.0.0-alpha.80a21f04":"2018-06-16T19:36:28.877Z","2.0.0-alpha.9":"2018-06-16T23:32:10.760Z","1.0.54":"2018-06-17T01:53:05.067Z","2.0.0-beta.0":"2018-06-17T06:53:39.563Z","2.0.0-beta.1":"2018-06-17T08:12:36.076Z","2.0.0-beta.2":"2018-06-20T20:45:13.494Z","2.0.0-beta.3":"2018-06-29T08:40:04.356Z","2.0.0-beta.4":"2018-07-02T10:22:16.317Z","2.0.0-beta.5":"2018-07-09T22:12:32.396Z","2.0.0-beta.6":"2018-07-12T14:01:28.279Z","1.0.55":"2018-07-18T14:25:01.545Z","2.0.0-beta.7":"2018-07-21T15:59:56.766Z","2.0.0-beta.8":"2018-08-15T21:11:45.131Z","2.0.0-beta.9":"2018-08-20T19:52:44.762Z","2.0.0-rc.0":"2018-08-21T00:58:03.236Z","2.0.0-rc.1":"2018-08-29T18:28:18.093Z","2.0.0-rc.2":"2018-09-12T15:28:42.250Z","2.0.0-rc.3":"2018-09-17T15:46:04.496Z","2.0.0-rc.4":"2018-09-17T18:31:46.044Z","2.0.0":"2018-09-17T20:13:42.725Z","2.0.5":"2018-09-17T20:41:14.485Z","2.0.6":"2018-09-19T21:46:10.199Z","2.0.7":"2018-09-20T20:06:19.897Z","2.0.8":"2018-09-21T19:40:10.417Z","2.0.9":"2018-09-24T12:38:29.782Z","2.0.10":"2018-09-26T10:38:51.540Z","2.0.11":"2018-09-28T13:27:13.357Z","2.0.12":"2018-09-28T21:39:43.422Z","2.0.13":"2018-10-01T13:54:00.156Z","2.0.14":"2018-10-12T19:36:46.998Z","2.0.15":"2018-10-15T20:29:59.333Z","2.0.16":"2018-10-23T12:19:02.048Z","2.0.17":"2018-10-24T20:09:23.366Z","2.0.18":"2018-10-29T15:23:29.256Z","2.0.19":"2018-10-30T18:26:07.983Z","2.0.20":"2018-11-08T01:36:47.891Z","2.0.21":"2018-11-27T21:57:39.350Z","2.0.22":"2018-11-29T12:12:59.625Z","2.0.23":"2018-12-11T11:25:33.441Z","2.0.24":"2018-12-12T16:36:18.196Z","2.0.25":"2018-12-13T01:43:54.377Z","2.0.26":"2019-01-10T14:01:16.130Z","2.0.27":"2019-01-23T15:24:52.513Z","2.0.28":"2019-01-25T10:19:14.778Z","2.0.29":"2019-01-28T16:58:28.160Z","2.0.30":"2019-02-25T06:01:27.240Z","2.0.31-alpha.0":"2019-03-04T07:13:36.772Z","2.0.31":"2019-03-04T09:43:44.117Z","2.0.32":"2019-03-11T15:23:56.455Z","2.0.33":"2019-03-12T20:23:12.248Z","2.0.34":"2019-03-15T15:57:48.505Z","2.0.35":"2019-03-26T16:33:49.923Z","2.0.36":"2019-04-01T20:00:44.521Z","2.0.37":"2019-04-02T09:33:53.169Z","2.1.0-loading-attribute.1":"2019-04-08T14:49:17.271Z","2.1.0-loading-attribute.2":"2019-04-08T15:12:22.936Z","2.1.0-loading-attribute.3":"2019-04-08T17:01:44.496Z","2.0.38":"2019-04-11T20:43:15.664Z","2.0.39":"2019-04-15T14:37:50.825Z","2.0.40":"2019-04-23T20:57:28.369Z","2.0.41":"2019-04-30T07:05:50.703Z","2.1.0":"2019-05-16T19:29:31.953Z","2.1.1":"2019-05-24T22:12:51.558Z","2.1.2":"2019-05-29T11:52:56.267Z","2.1.3":"2019-06-10T11:08:59.237Z","2.1.4":"2019-06-12T23:02:09.003Z","2.2.0":"2019-06-20T13:48:28.717Z","2.2.1":"2019-06-21T08:59:12.857Z","2.2.2":"2019-06-24T09:44:36.983Z","2.2.3":"2019-06-24T10:31:53.639Z","2.2.4":"2019-07-02T20:31:38.471Z","2.2.5":"2019-07-11T10:20:24.814Z","2.2.6":"2019-07-12T15:11:43.637Z","2.2.7":"2019-07-25T13:57:50.341Z","2.2.8":"2019-08-01T12:54:51.099Z","2.2.9":"2019-08-20T07:32:21.499Z","2.2.10":"2019-08-20T19:10:22.856Z","2.2.11":"2019-08-22T00:25:20.505Z","2.2.12":"2019-08-22T07:51:10.284Z","2.2.13":"2019-08-23T09:24:21.330Z","2.2.14":"2019-08-24T03:28:16.051Z","2.2.15-otp-test.30":"2019-08-26T16:08:19.471Z","2.2.15-otp-test.31":"2019-08-26T16:53:06.888Z","2.2.15":"2019-08-30T06:40:50.700Z","2.2.16":"2019-09-01T10:45:26.995Z","2.2.17":"2019-09-04T00:36:45.544Z","2.2.18":"2019-09-09T15:43:17.953Z","2.2.19":"2019-09-13T15:27:29.701Z","2.2.20":"2019-09-20T01:11:50.795Z","2.2.21":"2019-09-24T13:42:26.476Z","2.2.23":"2019-09-26T11:34:29.439Z","2.2.24":"2019-10-04T10:43:44.742Z","2.2.25":"2019-10-09T08:41:37.738Z","2.2.26":"2019-10-10T14:34:42.166Z","2.2.27":"2019-10-10T18:25:36.309Z","2.2.28":"2019-10-14T07:07:52.127Z","2.2.29":"2019-10-14T12:41:19.571Z","2.2.30":"2019-10-28T16:20:11.974Z","2.2.31":"2019-11-10T20:45:27.508Z","2.2.32":"2019-11-13T12:41:20.947Z","2.2.33":"2019-11-15T09:32:50.884Z","2.2.34":"2019-11-26T13:29:31.970Z","2.2.36":"2019-12-10T12:18:19.031Z","2.2.37":"2019-12-17T14:32:33.193Z","2.2.38":"2020-01-09T19:50:15.720Z","2.2.39":"2020-01-17T12:10:16.999Z","2.2.40":"2020-02-01T20:39:22.319Z","2.2.40-pr-20741.212":"2020-02-12T16:12:41.556Z","2.2.41":"2020-02-13T13:20:43.560Z","2.2.42":"2020-03-02T08:12:56.754Z","2.2.43":"2020-03-06T17:06:03.937Z","2.2.44":"2020-03-16T11:28:20.760Z","2.2.45":"2020-03-18T22:19:05.758Z","2.3.0":"2020-03-20T09:14:34.812Z","2.3.1":"2020-03-23T15:18:42.694Z","2.3.2":"2020-04-07T20:23:10.152Z","2.3.3":"2020-04-16T15:36:33.112Z","2.3.4":"2020-04-17T13:55:36.207Z","2.3.5":"2020-04-24T08:55:05.873Z","2.4.0":"2020-04-27T12:08:47.517Z","2.4.1":"2020-05-05T09:22:52.078Z","2.4.2":"2020-05-06T09:33:47.324Z","2.2.46-state-machine.75":"2020-05-06T17:00:32.791Z","2.4.3":"2020-05-07T09:51:49.889Z","2.4.4":"2020-05-18T14:28:24.650Z","2.4.5":"2020-05-20T08:16:41.117Z","2.4.6":"2020-06-02T12:18:23.710Z","2.4.7":"2020-06-09T09:28:41.900Z","2.4.8":"2020-06-22T16:03:15.818Z","2.4.9":"2020-06-24T05:52:46.377Z","2.3.4-unifiedroutes.76":"2020-06-25T19:59:59.213Z","2.4.11":"2020-07-01T15:39:11.344Z","2.4.12":"2020-07-02T14:03:25.032Z","2.4.13":"2020-07-09T08:25:22.613Z","2.4.14":"2020-07-29T11:21:21.378Z","2.3.4-unifiedroutes-v2.135":"2020-07-31T20:59:29.346Z","2.4.15":"2020-08-10T20:05:41.385Z","2.4.16":"2020-08-12T10:14:09.461Z","2.4.17":"2020-09-07T09:56:47.332Z","2.4.18":"2020-09-15T07:09:07.386Z","2.4.19":"2020-09-16T11:12:43.920Z","2.4.20":"2020-09-28T13:01:17.426Z","2.4.21":"2020-10-06T07:54:10.670Z","2.5.0-next.0":"2020-11-03T16:34:08.002Z","2.5.0-next.1":"2020-11-10T16:34:48.820Z","2.6.0-next.0":"2020-11-10T17:33:14.529Z","2.5.0":"2020-11-12T17:01:43.563Z","2.7.0-next.0":"2020-11-18T06:11:44.411Z","2.6.0":"2020-11-19T18:46:44.768Z","2.6.0-image-helpers.58":"2020-11-23T15:41:32.186Z","2.8.0-next.0":"2020-11-26T21:54:29.974Z","2.7.0":"2020-12-02T01:03:08.332Z","2.9.0-next.0":"2020-12-10T21:38:43.159Z","2.8.0":"2020-12-15T17:51:23.482Z","2.10.0-next.0":"2020-12-29T21:08:14.528Z","2.9.0":"2021-01-05T19:32:44.585Z","2.10.0-next.1":"2021-01-12T20:02:59.036Z","2.11.0-next.0":"2021-01-18T19:24:42.605Z","2.10.0":"2021-01-19T18:36:12.843Z","2.12.0-next.0":"2021-01-28T16:26:46.398Z","2.11.0":"2021-02-02T16:59:16.158Z","3.0.0-next.0":"2021-02-05T12:07:51.236Z","3.0.0-next.1":"2021-02-25T11:03:13.764Z","3.1.0-next.0":"2021-02-26T09:26:19.694Z","3.0.0-reach-router.13":"2021-02-26T09:42:49.829Z","3.1.0-next.1":"2021-02-26T13:45:44.879Z","3.0.0-v3rc.0":"2021-02-26T15:46:52.572Z","3.0.0":"2021-03-02T10:41:15.330Z","3.1.0-next.2":"2021-03-10T09:47:25.128Z","3.2.0-next.0":"2021-03-11T20:12:12.853Z","3.1.0":"2021-03-16T19:30:22.736Z","3.3.0-next.0":"2021-03-25T17:27:44.131Z","3.2.0":"2021-03-30T16:56:43.146Z","3.3.0-next.1":"2021-04-07T15:31:06.938Z","3.4.0-next.0":"2021-04-09T15:21:12.931Z","3.3.0":"2021-04-13T19:20:41.224Z","3.5.0-next.0":"2021-04-23T11:00:05.924Z","3.4.0":"2021-04-27T21:41:43.331Z","3.6.0-next.0":"2021-05-06T18:12:13.208Z","3.5.0":"2021-05-11T18:57:40.861Z","3.7.0-next.0":"2021-05-21T08:04:06.207Z","3.6.0":"2021-05-25T16:55:35.545Z","3.7.0-next.1":"2021-05-31T21:50:35.592Z","3.7.0-next.2":"2021-06-02T13:42:44.495Z","3.8.0-next.0":"2021-06-03T19:07:36.461Z","3.7.0":"2021-06-08T17:18:10.646Z","3.8.0-next.1":"2021-06-10T13:13:09.799Z","3.7.1":"2021-06-10T16:48:39.340Z","3.9.0-next.0":"2021-06-18T07:42:12.238Z","3.8.0":"2021-06-22T21:02:10.890Z","3.10.0-next.0":"2021-07-01T18:57:10.514Z","3.9.0":"2021-07-06T19:00:41.402Z","3.10.0-next.1":"2021-07-08T14:32:37.366Z","3.11.0-next.0":"2021-07-15T15:52:39.594Z","3.10.0":"2021-07-20T15:06:08.923Z","3.12.0-next.0":"2021-07-29T16:24:57.475Z","3.11.0":"2021-08-04T18:04:45.375Z"},"bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme","keywords":["gatsby","gatsby-component","react-component"],"repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-image"},"description":"Lazy-loading React image component with optional support for the blur-up effect.","maintainers":[{"email":"misiek.piechowiak@gmail.com","name":"pieh"},{"email":"philippe.serhal@netlify.com","name":"serhalp-netlify"},{"email":"mike.gualtieri@netlify.com","name":"mlgualtieri-gatsby"},{"email":"katherine.beck@netlify.com","name":"kathmbeck"}],"readme":"## ⚠️ This package is now deprecated\n\nThe `gatsby-image` package is now deprecated. The new [Gatsby image plugin](https://www.gatsbyjs.com/plugins/gatsby-plugin-image) has better performance, cool new features and a simpler API. See [the migration guide](https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/) to learn how to upgrade.\n\n# gatsby-image\n\nSpeedy, optimized images without the work.\n\n`gatsby-image` is a React component specially designed to work seamlessly with\nGatsby's GraphQL queries. It combines\n[Gatsby's native image processing](https://image-processing.gatsbyjs.org/)\ncapabilities with advanced image loading techniques to easily and completely\noptimize image loading for your sites. `gatsby-image` uses\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/)\nto power its image transformations.\n\n_Note: gatsby-image is **not** a drop-in replacement for `<img />`. It's\noptimized for fixed width/height images and images that stretch the full-width\nof a container. Some ways you can use `<img />` won't work with gatsby-image._\n\n**[Demo](https://using-gatsby-image.gatsbyjs.org)**\n\n## Table of Contents\n\n- [Problem](#problem)\n- [Solution](#solution)\n- [Install](#install)\n- [How to use](#how-to-use)\n- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie)\n- [Types of Responsive Images](#two-types-of-responsive-images)\n- [Fragments](#fragments)\n  - [gatsby-transformer-sharp](#gatsby-transformer-sharp)\n  - [gatsby-source-contentful](#gatsby-source-contentful)\n  - [gatsby-source-datocms](#gatsby-source-datocms)\n  - [gatsby-source-sanity](#gatsby-source-sanity)\n- [Fixed Queries](#fixed-queries)\n- [Fluid Queries](#fluid-queries)\n- [Art directing multiple images](#art-directing-multiple-images)\n- [Gatsby Image Props](#gatsby-image-props)\n- [Image Processing Arguments](#image-processing-arguments)\n- [Other Stuff](#some-other-stuff-to-be-aware-of)\n\n## Problem\n\nLarge, unoptimized images dramatically slow down your site.\n\nBut creating optimized images for websites has long been a thorny problem.\nIdeally you would:\n\n- Resize large images to the size needed by your design.\n- Generate multiple smaller images so smartphones and tablets don't download\n  desktop-sized images.\n- Strip all unnecessary metadata and optimize JPEG and PNG compression.\n- Efficiently lazy load images to speed initial page load and save bandwidth.\n- Use the \"blur-up\" technique or a\n  \"[traced placeholder](https://github.com/gatsbyjs/gatsby/issues/2435)\" SVG to\n  show a preview of the image while it loads.\n- Hold the image position so your page doesn't jump while images load.\n\nDoing this consistently across a site feels like a task that can never be completed. You manually\noptimize your images and then… several images are swapped in at the last minute\nor a design-tweak shaves 100px of width off your images.\n\nMost solutions involve a lot of manual labor and bookkeeping to ensure every\nimage is optimized.\n\nThis isn't ideal. Optimized images should be easy and the default.\n\n## Solution\n\nWith Gatsby, we can make images way _way_ better.\n\n`gatsby-image` is designed to work seamlessly with Gatsby's native image\nprocessing capabilities powered by GraphQL and Sharp. To produce perfect images,\nyou need only:\n\n1. Import `gatsby-image` and use it in place of the built-in `img`.\n2. Write a GraphQL query using one of the included GraphQL \"fragments\"\n   which specify the fields needed by `gatsby-image`.\n\nThe GraphQL query creates multiple thumbnails with optimized JPEG and PNG\ncompression. The `gatsby-image` component automatically sets up the \"blur-up\"\neffect as well as lazy loading of images further down the screen.\n\n## Install\n\n`npm install gatsby-image`\n\nDepending on the gatsby starter you used, you may need to include [gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/) and [gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/) as well, and make sure they are installed and included in your gatsby-config.\n\n```shell\nnpm install gatsby-transformer-sharp gatsby-plugin-sharp\n```\n\nThen in your `gatsby-config.js`:\n\n```js\nplugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]\n```\n\nAlso, make sure you have set up a source plugin, so your images are available in `graphql` queries. For example, if your images live in a project folder on the local filesystem, you would set up `gatsby-source-filesystem` in `gatsby-config.js` like so:\n\n```js\nconst path = require(`path`)\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-source-filesystem`,\n      options: {\n        name: `images`,\n        path: path.join(__dirname, `src`, `images`),\n      },\n    },\n    `gatsby-plugin-sharp`,\n    `gatsby-transformer-sharp`,\n  ],\n}\n```\n\n## How to use\n\nThis is what a component using `gatsby-image` looks like:\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img fixed={data.file.childImageSharp.fixed} />\n  </div>\n)\n\nexport const query = graphql`\n  query {\n    file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        # Specify the image processing specifications right in the query.\n        # Makes it trivial to update as your page's design changes.\n        fixed(width: 125, height: 125) {\n          ...GatsbyImageSharpFixed\n        }\n      }\n    }\n  }\n`\n```\n\nFor other explanations of how to get started with gatsby-image, see this blog post by community member Kyle Gill [Image Optimization Made Easy with Gatsby.js](https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e), this post by Hunter Chang (which also includes some details about changes to gatsby-image for Gatsby v2): [An Intro To Gatsby Image V2](https://codebushi.com/using-gatsby-image/), or [this free playlist on egghead.io](https://egghead.io/playlists/using-gatsby-image-with-gatsby-ea85129e) with examples for using `gatsby-image`.\n\n## Polyfilling object-fit/object-position for IE\n\nIf you'd like to include a polyfill for the [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)/[`object-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS properties (which [aren't supported](https://caniuse.com/#feat=object-fit) by default in Internet Explorer), import from `gatsby-image/withIEPolyfill` instead:\n\n```jsx\n// Other imports...\nimport Img from \"gatsby-image/withIEPolyfill\"\n\nexport default ({ data }) => (\n  <div>\n    <h1>Hello gatsby-image</h1>\n    <Img\n      fixed={data.file.childImageSharp.fixed}\n      objectFit=\"cover\"\n      objectPosition=\"50% 50%\"\n      alt=\"\"\n    />\n  </div>\n)\n\n// GraphQL query...\n```\n\nImporting from `gatsby-image/withIEPolyfill` tells Gatsby to automatically apply the `object-fit-images` polyfill to your image. To make your `object-fit`/`object-position` values work in IE, be sure to use the `objectFit` and `objectPosition` props (rather than the `imgStyle` prop or a CSS or CSS-in-JS solution) so the polyfill will recognize them.\n\n## Two types of responsive images\n\nThere are two types of responsive images supported by gatsby-image.\n\n1. Images that have a _fixed_ width and height\n2. Images that stretch across a _fluid_ container\n\nIn the first scenario, you want to vary the image's size for different screen\nresolutions -- in other words, create retina images.\n\nFor the second scenario, you want to create multiple sizes of thumbnails for\ndevices with widths stretching from smartphone to wide desktop monitors.\n\nTo decide between the two, ask yourself: \"do I know the exact size this image\nwill be?\" If yes, it's the first type. If no and its width and/or height need to\nvary depending on the size of the screen, then it's the second type.\n\nIn Gatsby's GraphQL implementation, you query for the first type by querying a\nchild object of an image called `fixed` — which you can see in the sample\ncomponent above. For the second type, you do a similar query but for a child\nobject called `fluid`.\n\n## Fragments\n\nGraphQL includes a concept called \"query fragments\". Which, as the name\nsuggests, are a part of a query that can be used in multiple queries. To ease\nbuilding with `gatsby-image`, Gatsby image processing plugins which support\n`gatsby-image` ship with fragments which you can easily include in your queries.\n\nNote,\n[due to a limitation of GraphiQL](https://github.com/graphql/graphiql/issues/612),\nyou can not currently use these fragments in the GraphiQL IDE.\n\nPlugins supporting `gatsby-image` currently include\n[gatsby-transformer-sharp](/plugins/gatsby-transformer-sharp/),\n[gatsby-source-contentful](/plugins/gatsby-source-contentful/), [gatsby-source-datocms](https://github.com/datocms/gatsby-source-datocms) and [gatsby-source-sanity](https://github.com/sanity-io/gatsby-source-sanity).\n\nTheir fragments are:\n\n### gatsby-transformer-sharp\n\n- `GatsbyImageSharpFixed`\n- `GatsbyImageSharpFixed_noBase64`\n- `GatsbyImageSharpFixed_tracedSVG`\n- `GatsbyImageSharpFixed_withWebp`\n- `GatsbyImageSharpFixed_withWebp_noBase64`\n- `GatsbyImageSharpFixed_withWebp_tracedSVG`\n- `GatsbyImageSharpFluid`\n- `GatsbyImageSharpFluid_noBase64`\n- `GatsbyImageSharpFluid_tracedSVG`\n- `GatsbyImageSharpFluid_withWebp`\n- `GatsbyImageSharpFluid_withWebp_noBase64`\n- `GatsbyImageSharpFluid_withWebp_tracedSVG`\n- `GatsbyImageSharpFluidLimitPresentationSize`\n\n### gatsby-source-contentful\n\n- `GatsbyContentfulFixed`\n- `GatsbyContentfulFixed_noBase64`\n- `GatsbyContentfulFixed_tracedSVG`\n- `GatsbyContentfulFixed_withWebp`\n- `GatsbyContentfulFixed_withWebp_noBase64`\n- `GatsbyContentfulFluid`\n- `GatsbyContentfulFluid_noBase64`\n- `GatsbyContentfulFluid_tracedSVG`\n- `GatsbyContentfulFluid_withWebp`\n- `GatsbyContentfulFluid_withWebp_noBase64`\n\n### gatsby-source-datocms\n\n- `GatsbyDatoCmsFixed`\n- `GatsbyDatoCmsFixed_noBase64`\n- `GatsbyDatoCmsFixed_tracedSVG`\n- `GatsbyDatoCmsFluid`\n- `GatsbyDatoCmsFluid_noBase64`\n- `GatsbyDatoCmsFluid_tracedSVG`\n\n### gatsby-source-sanity\n\n- `GatsbySanityImageFixed`\n- `GatsbySanityImageFixed_noBase64`\n- `GatsbySanityImageFluid`\n- `GatsbySanityImageFluid_noBase64`\n\nIf you don't want to use the blur-up effect, choose the fragment with `noBase64`\nat the end. If you want to use the traced placeholder SVGs, choose the fragment\nwith `tracedSVG` at the end.\n\nIf you want to automatically use WebP images when the browser supports the file\nformat, use the `withWebp` fragments. If the browser doesn't support WebP,\n`gatsby-image` will fall back to the default image format.\n\nFor more information about these options, please see the\n[Gatsby Image API](https://www.gatsbyjs.org/docs/gatsby-image/#image-query-fragments).\n\n_Please see the\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp/#tracedsvg)\ndocumentation for more information on `tracedSVG` and its configuration\noptions._\n\n## \"Fixed\" queries\n\n### Component\n\nPass in the data returned from the `fixed` object in your query via the\n`fixed` prop. e.g. `<Img fixed={fixed} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # Other options include height (set both width and height to crop),\n    # grayscale, duotone, rotate, etc.\n    fixed(width: 400) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFixed\n    }\n  }\n}\n```\n\n## \"Fluid\" queries\n\n### Component\n\nPass in the data returned from the `fluid` object in your query via the `fluid`\nprop. e.g. `<Img fluid={fluid} />`\n\n### Query\n\n```graphql\n{\n  imageSharp {\n    # i.e. the max width of your container is 700 pixels.\n    #\n    # Other options include maxHeight (set both maxWidth and maxHeight to crop),\n    # grayscale, duotone, rotate, etc.\n    fluid(maxWidth: 700) {\n      # Choose either the fragment including a small base64ed image, a traced placeholder SVG, or one without.\n      ...GatsbyImageSharpFluid_noBase64\n    }\n  }\n}\n```\n\n### Avoiding stretched images using the fluid type\n\nAs mentioned previously, images using the _fluid_ type are stretched to\nmatch the container's width and height. In the case where the image's width or height is smaller than the available viewport, the image will stretch to match the container, potentially leading to unwanted problems and worsened image quality.\n\nTo counter this edge case one could use the `GatsbyImageSharpFluidLimitPresentationSize` fragment to ask for additional presentation size properties.\n\n```graphql\n{\n  childImageSharp {\n    fluid(maxWidth: 500, quality: 100) {\n      ...GatsbyImageSharpFluid\n      ...GatsbyImageSharpFluidLimitPresentationSize\n    }\n  }\n}\n```\n\n## Art-directing multiple images\n\n`gatsby-image` supports showing different images at different breakpoints, which is known as [art direction](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Art_direction). To do this, you can define your own array of `fixed` or `fluid` images, along with a `media` key per image, and pass it to `gatsby-image`'s `fixed` or `fluid` props. The `media` key that is set on an image can be any valid CSS media query.\n\n```jsx\nimport React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nexport default ({ data }) => {\n  // Set up the array of image data and `media` keys.\n  // You can have as many entries as you'd like.\n  const sources = [\n    data.mobileImage.childImageSharp.fluid,\n    {\n      ...data.desktopImage.childImageSharp.fluid,\n      media: `(min-width: 768px)`,\n    },\n  ]\n\n  return (\n    <div>\n      <h1>Hello art-directed gatsby-image</h1>\n      <Img fluid={sources} />\n    </div>\n  )\n}\n\nexport const query = graphql`\n  query {\n    mobileImage: file(relativePath: { eq: \"blog/avatars/kyle-mathews.jpeg\" }) {\n      childImageSharp {\n        fluid(maxWidth: 1000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n    desktopImage: file(\n      relativePath: { eq: \"blog/avatars/kyle-mathews-desktop.jpeg\" }\n    ) {\n      childImageSharp {\n        fluid(maxWidth: 2000, quality: 100) {\n          ...GatsbyImageSharpFluid\n        }\n      }\n    }\n  }\n`\n```\n\nWhile you could achieve a similar effect with plain CSS media queries, `gatsby-image` accomplishes this using the `<picture>` tag, which ensures that browsers only download the image they need for a given breakpoint.\n\n## `gatsby-image` props\n\n| Name                   | Type                | Description                                                                                                                                   |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `fixed`                | `object` / `array`  | Data returned from the `fixed` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fixed` images. |\n| `fluid`                | `object` / `array`  | Data returned from the `fluid` query. When prop is an array it has to be combined with `media` keys, allows for art directing `fluid` images. |\n| `fadeIn`               | `bool`              | Defaults to fading in the image on load                                                                                                       |\n| `durationFadeIn`       | `number`            | fading duration is set up to 500ms by default                                                                                                 |\n| `title`                | `string`            | Passed to the `img` element                                                                                                                   |  |\n| `alt`                  | `string`            | Passed to the `img` element. Defaults to an empty string `alt=\"\"`                                                                             |\n| `crossOrigin`          | `string`            | Passed to the `img` element                                                                                                                   |\n| `className`            | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop                                                                  |\n| `style`                | `object`            | Spread into the default styles of the wrapper element                                                                                         |\n| `imgStyle`             | `object`            | Spread into the default styles of the actual `img` element                                                                                    |\n| `placeholderStyle`     | `object`            | Spread into the default styles of the placeholder `img` element                                                                               |\n| `placeholderClassName` | `string`            | A class that is passed to the placeholder `img` element                                                                                       |\n| `backgroundColor`      | `string` / `bool`   | Set a colored background placeholder. If true, uses \"lightgray\" for the color. You can also pass in any valid color string.                   |\n| `onLoad`               | `func`              | A callback that is called when the full-size image has loaded.                                                                                |\n| `onStartLoad`          | `func`              | A callback that is called when the full-size image starts loading, it gets the parameter { wasCached: boolean } provided.                     |\n| `onError`              | `func`              | A callback that is called when the image fails to load.                                                                                       |\n| `Tag`                  | `string`            | Which HTML tag to use for wrapping elements. Defaults to `div`.                                                                               |\n| `objectFit`            | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `cover`.                            |\n| `objectPosition`       | `string`            | Passed to the `object-fit-images` polyfill when importing from `gatsby-image/withIEPolyfill`. Defaults to `50% 50%`.                          |\n| `loading`              | `string`            | Set the browser's native lazy loading attribute. One of `lazy`, `eager` or `auto`. Defaults to `lazy`.                                        |\n| `critical`             | `bool`              | Opt-out of lazy-loading behavior. Defaults to `false`. Deprecated, use `loading` instead.                                                     |\n| `draggable`            | `bool`              | Set the img tag draggable to either `false`, `true`                                                                                           |\n| `itemProp`             | `string`            | Add an [`itemprop` schema.org structured data attribute](https://schema.org/docs/gs.html#microdata_itemprop) on the image.                    |\n\n## Image processing arguments\n\n[gatsby-plugin-sharp](/plugins/gatsby-plugin-sharp) supports many additional arguments for transforming your images like\n`quality`, `sizeByPixelDensity`, `pngCompressionLevel`, `cropFocus`, `grayscale` and many more. See its documentation for more.\n\n## Some other stuff to be aware of\n\n- If you want to set `display: none;` on a component using a `fixed` prop,\n  you need to also pass in to the style prop `{ display: 'inherit' }`.\n- Be aware that from a SEO perspective it is advisable not to change the image parameters lightheartedly once the website has been published. Every time you change properties within _fluid_ or _fixed_ (like _quality_ or _maxWidth_), the absolute path of the image changes. These properties generate the hash we use in our absolute path. This happens even if the image didn't change its name. As a result, the image could appear on the image SERP as \"new\" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742))\n- By default, images don't load until JavaScript is loaded. Gatsby's automatic code\n  splitting generally makes this fine but if images seem slow coming in on a\n  page, check how much JavaScript is being loaded there.\n- Images marked as `critical` will start loading immediately as the DOM is\n  parsed, but unless `fadeIn` is set to `false`, the transition from placeholder\n  to final image will not occur until after the component is mounted.\n- gatsby-image is now backed by the newer `<picture>` tag. This newer standard allows for\n  media types to be chosen by the browser without using JavaScript. It also is\n  backward compatible to older browsers (IE 11, etc).\n- Gifs can't be resized the same way as pngs and jpegs, unfortunately—if you try\n  to use a gif with `gatsby-image`, it won't work. For now, the best workaround is\n  to [import the gif directly](/docs/adding-images-fonts-files).\n- Lazy loading behavior is dependent on `IntersectionObserver` which is not available\n  in IE. A polyfill is recommended.\n","readmeFilename":"README.md"}