[{"data":1,"prerenderedAt":443},["ShallowReactive",2],{"navigation_docs":3,"-get-started-providers":228,"-get-started-providers-surround":438},[4,30,47,215],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Get Started","\u002Fget-started","1.get-started",[9,13,17,21,25],{"title":10,"path":11,"stem":12},"Installation","\u002Fget-started\u002Finstallation","1.get-started\u002F1.installation",{"title":14,"path":15,"stem":16},"Configuration","\u002Fget-started\u002Fconfiguration","1.get-started\u002F2.configuration",{"title":18,"path":19,"stem":20},"Providers","\u002Fget-started\u002Fproviders","1.get-started\u002F3.providers",{"title":22,"path":23,"stem":24},"Contributing","\u002Fget-started\u002Fcontributing","1.get-started\u002F4.contributing",{"title":26,"path":27,"stem":28},"Migration","\u002Fget-started\u002Fmigration","1.get-started\u002F5.migration",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Usage","\u002Fusage","2.usage",[35,39,43],{"title":36,"path":37,"stem":38},"\u003CNuxtImg>","\u002Fusage\u002Fnuxt-img","2.usage\u002F1.nuxt-img",{"title":40,"path":41,"stem":42},"\u003CNuxtPicture>","\u002Fusage\u002Fnuxt-picture","2.usage\u002F2.nuxt-picture",{"title":44,"path":45,"stem":46},"useImage()","\u002Fusage\u002Fuse-image","2.usage\u002F3.use-image",{"title":18,"path":48,"stem":49,"children":50,"page":29},"\u002Fproviders","3.providers",[51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,195,199,203,207,211],{"title":52,"path":53,"stem":54},"Aliyun","\u002Fproviders\u002Faliyun","3.providers\u002Faliyun",{"title":56,"path":57,"stem":58},"AWS Amplify","\u002Fproviders\u002Faws-amplify","3.providers\u002Faws-amplify",{"title":60,"path":61,"stem":62},"Builder.io","\u002Fproviders\u002Fbuilderio","3.providers\u002Fbuilderio",{"title":64,"path":65,"stem":66},"Bunny","\u002Fproviders\u002Fbunny","3.providers\u002Fbunny",{"title":68,"path":69,"stem":70},"Caisy","\u002Fproviders\u002Fcaisy","3.providers\u002Fcaisy",{"title":72,"path":73,"stem":74},"Cloudflare","\u002Fproviders\u002Fcloudflare","3.providers\u002Fcloudflare",{"title":76,"path":77,"stem":78},"Cloudflare Images","\u002Fproviders\u002Fcloudflareimages","3.providers\u002Fcloudflareimages",{"title":80,"path":81,"stem":82},"Cloudimage","\u002Fproviders\u002Fcloudimage","3.providers\u002Fcloudimage",{"title":84,"path":85,"stem":86},"Cloudinary","\u002Fproviders\u002Fcloudinary","3.providers\u002Fcloudinary",{"title":88,"path":89,"stem":90},"Contentful","\u002Fproviders\u002Fcontentful","3.providers\u002Fcontentful",{"title":92,"path":93,"stem":94},"Directus","\u002Fproviders\u002Fdirectus","3.providers\u002Fdirectus",{"title":96,"path":97,"stem":98},"EdgeOne Pages","\u002Fproviders\u002Fedgeone-pages","3.providers\u002Fedgeone-pages",{"title":100,"path":101,"stem":102},"Fastly","\u002Fproviders\u002Ffastly","3.providers\u002Ffastly",{"title":104,"path":105,"stem":106},"Filerobot","\u002Fproviders\u002Ffilerobot","3.providers\u002Ffilerobot",{"title":108,"path":109,"stem":110},"Flyimg","\u002Fproviders\u002Fflyimg","3.providers\u002Fflyimg",{"title":112,"path":113,"stem":114},"GitHub","\u002Fproviders\u002Fgithub","3.providers\u002Fgithub",{"title":116,"path":117,"stem":118},"Glide","\u002Fproviders\u002Fglide","3.providers\u002Fglide",{"title":120,"path":121,"stem":122},"Gumlet","\u002Fproviders\u002Fgumlet","3.providers\u002Fgumlet",{"title":124,"path":125,"stem":126},"Hygraph","\u002Fproviders\u002Fhygraph","3.providers\u002Fhygraph",{"title":128,"path":129,"stem":130},"ImageEngine","\u002Fproviders\u002Fimageengine","3.providers\u002Fimageengine",{"title":132,"path":133,"stem":134},"ImageKit","\u002Fproviders\u002Fimagekit","3.providers\u002Fimagekit",{"title":136,"path":137,"stem":138},"Imgix","\u002Fproviders\u002Fimgix","3.providers\u002Fimgix",{"title":140,"path":141,"stem":142},"Imgproxy","\u002Fproviders\u002Fimgproxy","3.providers\u002Fimgproxy",{"title":144,"path":145,"stem":146},"IPX","\u002Fproviders\u002Fipx","3.providers\u002Fipx",{"title":148,"path":149,"stem":150},"Netlify","\u002Fproviders\u002Fnetlify","3.providers\u002Fnetlify",{"title":152,"path":153,"stem":154},"None","\u002Fproviders\u002Fnone","3.providers\u002Fnone",{"title":156,"path":157,"stem":158},"Picsum","\u002Fproviders\u002Fpicsum","3.providers\u002Fpicsum",{"title":160,"path":161,"stem":162},"Prepr","\u002Fproviders\u002Fprepr","3.providers\u002Fprepr",{"title":164,"path":165,"stem":166},"Prismic","\u002Fproviders\u002Fprismic","3.providers\u002Fprismic",{"title":168,"path":169,"stem":170},"Sanity","\u002Fproviders\u002Fsanity","3.providers\u002Fsanity",{"title":172,"path":173,"stem":174},"Shopify","\u002Fproviders\u002Fshopify","3.providers\u002Fshopify",{"title":176,"path":177,"stem":178},"Sirv","\u002Fproviders\u002Fsirv","3.providers\u002Fsirv",{"title":180,"path":181,"stem":182},"Storyblok","\u002Fproviders\u002Fstoryblok","3.providers\u002Fstoryblok",{"title":184,"path":185,"stem":186},"Strapi","\u002Fproviders\u002Fstrapi","3.providers\u002Fstrapi",{"title":188,"path":189,"stem":190},"Supabase","\u002Fproviders\u002Fsupabase","3.providers\u002Fsupabase",{"title":192,"path":193,"stem":194},"Twicpics","\u002Fproviders\u002Ftwicpics","3.providers\u002Ftwicpics",{"title":196,"path":197,"stem":198},"Umbraco","\u002Fproviders\u002Fumbraco","3.providers\u002Fumbraco",{"title":200,"path":201,"stem":202},"Unsplash","\u002Fproviders\u002Funsplash","3.providers\u002Funsplash",{"title":204,"path":205,"stem":206},"Uploadcare","\u002Fproviders\u002Fuploadcare","3.providers\u002Fuploadcare",{"title":208,"path":209,"stem":210},"Vercel","\u002Fproviders\u002Fvercel","3.providers\u002Fvercel",{"title":212,"path":213,"stem":214},"Weserv","\u002Fproviders\u002Fweserv","3.providers\u002Fweserv",{"title":216,"path":217,"stem":218,"children":219,"page":29},"Advanced","\u002Fadvanced","4.advanced",[220,224],{"title":221,"path":222,"stem":223},"Custom Provider","\u002Fadvanced\u002Fcustom-provider","4.advanced\u002F1.custom-provider",{"title":225,"path":226,"stem":227},"Static Images","\u002Fadvanced\u002Fstatic-images","4.advanced\u002F2.static-images",{"id":229,"title":18,"body":230,"description":431,"extension":432,"links":433,"meta":434,"navigation":435,"path":19,"seo":436,"stem":20,"__hash__":437},"docs\u002F1.get-started\u002F3.providers.md",{"type":231,"value":232,"toc":420},"minimark",[233,238,242,245,253,267,271,278,283,290,303,312,325,329,339,346,377,381,388,391,407,410,416],[234,235,237],"h2",{"id":236},"introduction-to-providers","Introduction to Providers",[239,240,241],"p",{},"Providers are integrations between Nuxt Image and third-party image transformation services. Each provider is responsible for generating correct URLs for that image transformation service.",[239,243,244],{},"Nuxt Image can be configured to work with any external image transformation service. Checkout the sidebar for a list of preconfigured providers.",[239,246,247,248,252],{},"If you are looking for a specific provider that is not already supported, you can ",[249,250,251],"a",{"href":222},"create your own provider",".",[239,254,255,256,259,260,262,263,266],{},"Nuxt Image will automatically optimize ",[257,258,36],"code",{}," and ",[257,261,40],{}," sources and accepts all ",[249,264,265],{"href":15},"options"," for specified targets, except for modifiers that are specific to other providers.",[234,268,270],{"id":269},"default-provider","Default Provider",[239,272,273,274,277],{},"The default optimizer and provider for Nuxt Image is ",[249,275,276],{"href":145},"ipx",". Either option can be used without any configuration.",[279,280,282],"h3",{"id":281},"local-images","Local Images",[239,284,285,286,289],{},"Images should be stored in the ",[257,287,288],{},"public\u002F"," directory of your project.",[239,291,292,293,296,297,299,300,252],{},"For example, when rendering a ",[257,294,295],{},"\u003CNuxtImg src=\"\u002Fnuxt-icon.png\" \u002F>",", your PNG file should be placed in the ",[257,298,288],{}," directory under the path ",[257,301,302],{},"public\u002Fnuxt-icon.png",[239,304,305,306,252],{},"For more information, you can learn more about the ",[249,307,311],{"href":308,"rel":309},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002Fguide\u002Fdirectory-structure\u002Fpublic",[310],"nofollow","public directory",[313,314,315,316,319,320,324],"note",{},"Images stored in the ",[257,317,318],{},"assets\u002F"," directory are ",[321,322,323],"strong",{},"not"," processed with Nuxt Image because those images are managed by your bundler (such as Vite or webpack).",[279,326,328],{"id":327},"remote-images","Remote Images",[239,330,331,332,338],{},"Using the default provider, you can also optimize external URLs. For this, you need to add them to the ",[249,333,335],{"href":334},"\u002Fget-started\u002Fconfiguration#domains",[257,336,337],{},"domains"," option.",[239,340,341,342,345],{},"You can also add domains for remote images by setting the ",[257,343,344],{},"NUXT_IMAGE_DOMAINS"," environment variable to a comma-separated list of domains.",[347,348,353],"pre",{"className":349,"code":350,"language":351,"meta":352,"style":352},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NUXT_IMAGE_DOMAINS=\"example.com,yourdomain.com\"\n","bash","",[257,354,355],{"__ignoreMap":352},[356,357,360,363,367,370,374],"span",{"class":358,"line":359},"line",1,[356,361,344],{"class":362},"sTEyZ",[356,364,366],{"class":365},"sMK4o","=",[356,368,369],{"class":365},"\"",[356,371,373],{"class":372},"sfazB","example.com,yourdomain.com",[356,375,376],{"class":365},"\"\n",[279,378,380],{"id":379},"environment-detection","Environment Detection",[239,382,383,384,387],{},"You can set the default provider using the ",[257,385,386],{},"NUXT_IMAGE_PROVIDER"," environment variable.",[239,389,390],{},"Providers detected automatically:",[392,393,394,399,403],"ul",{},[395,396,397],"li",{},[249,398,56],{"href":57},[395,400,401],{},[249,402,148],{"href":149},[395,404,405],{},[249,406,208],{"href":209},[279,408,221],{"id":409},"custom-provider",[239,411,412,413,252],{},"It is possible to define your own provider, learn more about ",[249,414,415],{"href":222},"how to create a custom provider",[417,418,419],"style",{},"html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":352,"searchDepth":421,"depth":421,"links":422},2,[423,424],{"id":236,"depth":421,"text":237},{"id":269,"depth":421,"text":270,"children":425},[426,428,429,430],{"id":281,"depth":427,"text":282},3,{"id":327,"depth":427,"text":328},{"id":379,"depth":427,"text":380},{"id":409,"depth":427,"text":221},"Nuxt Image supports multiple providers for high performance.","md",null,{},true,{"title":18,"description":431},"S0R9THGsZVjDkN6B4KXiW2alAEXLu8LTNOystvpjtRk",[439,441],{"title":14,"path":15,"stem":16,"description":440,"children":-1},"Nuxt Image is configured with sensible defaults.",{"title":22,"path":23,"stem":24,"description":442,"children":-1},"We can never thank you enough for your contributions.",1784666098641]