[{"data":1,"prerenderedAt":1669},["Reactive",2],{"navigation":3,"docs-/providers/uploadcare":124,"docs-/providers/uploadcare-surround":1181},[4,20,33,114],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Providers","/get-started/providers",{"title":18,"_path":19},"Contributing","/get-started/contributing",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30],{"title":25,"_path":26},"\u003CNuxtImg>","/usage/nuxt-img",{"title":28,"_path":29},"\u003CNuxtPicture>","/usage/nuxt-picture",{"title":31,"_path":32},"useImage()","/usage/use-image",{"title":15,"_path":34,"children":35},"/providers",[36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111],{"title":37,"_path":38},"Aliyun","/providers/aliyun",{"title":40,"_path":41},"AWS Amplify","/providers/aws-amplify",{"title":43,"_path":44},"Cloudflare","/providers/cloudflare",{"title":46,"_path":47},"Cloudimage","/providers/cloudimage",{"title":49,"_path":50},"Cloudinary","/providers/cloudinary",{"title":52,"_path":53},"Contentful","/providers/contentful",{"title":55,"_path":56},"Directus","/providers/directus",{"title":58,"_path":59},"Edgio","/providers/edgio",{"title":61,"_path":62},"Fastly","/providers/fastly",{"title":64,"_path":65},"Glide","/providers/glide",{"title":67,"_path":68},"Gumlet","/providers/gumlet",{"title":70,"_path":71},"ImageEngine","/providers/imageengine",{"title":73,"_path":74},"ImageKit","/providers/imagekit",{"title":76,"_path":77},"Imgix","/providers/imgix",{"title":79,"_path":80},"IPX","/providers/ipx",{"title":82,"_path":83},"Netlify","/providers/netlify",{"title":85,"_path":86},"Prepr","/providers/prepr",{"title":88,"_path":89},"Prismic","/providers/prismic",{"title":91,"_path":92},"Sanity","/providers/sanity",{"title":94,"_path":95},"Sirv","/providers/sirv",{"title":97,"_path":98},"Storyblok","/providers/storyblok",{"title":100,"_path":101},"Strapi","/providers/strapi",{"title":103,"_path":104},"Twicpics","/providers/twicpics",{"title":106,"_path":107},"Unsplash","/providers/unsplash",{"title":109,"_path":110},"Uploadcare","/providers/uploadcare",{"title":112,"_path":113},"Vercel","/providers/vercel",{"title":115,"_path":116,"children":117},"Advanced","/advanced",[118,121],{"title":119,"_path":120},"Custom Provider","/advanced/custom-provider",{"title":122,"_path":123},"Static Images","/advanced/static-images",{"_path":110,"_dir":125,"_draft":126,"_partial":126,"_locale":127,"title":109,"description":128,"links":129,"body":135,"_type":1176,"_id":1177,"_source":1178,"_file":1179,"_extension":1180},"providers",false,"","Power up file uploading, processing and delivery for your app in one sitting.",[130],{"label":131,"icon":132,"to":133,"size":134},"Source","i-simple-icons-github","https://github.com/nuxt/image/blob/main/src/runtime/providers/uploadcare.ts","xs",{"type":136,"children":137,"toc":1171},"root",[138,156,162,175,296,302,325,330,990,995,1000,1023,1037,1165],{"type":139,"tag":140,"props":141,"children":142},"element","p",{},[143,146,154],{"type":144,"value":145},"text","Integration between ",{"type":139,"tag":147,"props":148,"children":152},"a",{"href":149,"rel":150},"https://uploadcare.com/",[151],"nofollow",[153],{"type":144,"value":109},{"type":144,"value":155}," and the Nuxt Image module.",{"type":139,"tag":157,"props":158,"children":160},"h2",{"id":159},"usage",[161],{"type":144,"value":21},{"type":139,"tag":140,"props":163,"children":164},{},[165,167,173],{"type":144,"value":166},"To use images from uploadcare, specify the provider as ",{"type":139,"tag":168,"props":169,"children":170},"code",{"className":127},[171],{"type":144,"value":172},"uploadcare",{"type":144,"value":174}," and set the image src to the UUID provided on the dashboard.",{"type":139,"tag":176,"props":177,"children":182},"pre",{"className":178,"code":179,"filename":180,"language":181,"meta":127,"style":127},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CNuxtImg\n  provider=\"uploadcare\"\n  src=\"c160afba-8b42-45a9-a46a-d393248b0072\"\n  alt=\"My image from uploadcare\"\n/>\n","page.vue","vue",[183],{"type":139,"tag":168,"props":184,"children":185},{"__ignoreMap":127},[186,204,234,260,286],{"type":139,"tag":187,"props":188,"children":191},"span",{"class":189,"line":190},"line",1,[192,198],{"type":139,"tag":187,"props":193,"children":195},{"style":194},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[196],{"type":144,"value":197},"\u003C",{"type":139,"tag":187,"props":199,"children":201},{"style":200},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[202],{"type":144,"value":203},"NuxtImg\n",{"type":139,"tag":187,"props":205,"children":207},{"class":189,"line":206},2,[208,214,219,224,229],{"type":139,"tag":187,"props":209,"children":211},{"style":210},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[212],{"type":144,"value":213},"  provider",{"type":139,"tag":187,"props":215,"children":216},{"style":194},[217],{"type":144,"value":218},"=",{"type":139,"tag":187,"props":220,"children":221},{"style":194},[222],{"type":144,"value":223},"\"",{"type":139,"tag":187,"props":225,"children":227},{"style":226},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[228],{"type":144,"value":172},{"type":139,"tag":187,"props":230,"children":231},{"style":194},[232],{"type":144,"value":233},"\"\n",{"type":139,"tag":187,"props":235,"children":237},{"class":189,"line":236},3,[238,243,247,251,256],{"type":139,"tag":187,"props":239,"children":240},{"style":210},[241],{"type":144,"value":242},"  src",{"type":139,"tag":187,"props":244,"children":245},{"style":194},[246],{"type":144,"value":218},{"type":139,"tag":187,"props":248,"children":249},{"style":194},[250],{"type":144,"value":223},{"type":139,"tag":187,"props":252,"children":253},{"style":226},[254],{"type":144,"value":255},"c160afba-8b42-45a9-a46a-d393248b0072",{"type":139,"tag":187,"props":257,"children":258},{"style":194},[259],{"type":144,"value":233},{"type":139,"tag":187,"props":261,"children":263},{"class":189,"line":262},4,[264,269,273,277,282],{"type":139,"tag":187,"props":265,"children":266},{"style":210},[267],{"type":144,"value":268},"  alt",{"type":139,"tag":187,"props":270,"children":271},{"style":194},[272],{"type":144,"value":218},{"type":139,"tag":187,"props":274,"children":275},{"style":194},[276],{"type":144,"value":223},{"type":139,"tag":187,"props":278,"children":279},{"style":226},[280],{"type":144,"value":281},"My image from uploadcare",{"type":139,"tag":187,"props":283,"children":284},{"style":194},[285],{"type":144,"value":233},{"type":139,"tag":187,"props":287,"children":289},{"class":189,"line":288},5,[290],{"type":139,"tag":187,"props":291,"children":293},{"style":292},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[294],{"type":144,"value":295},"/>\n",{"type":139,"tag":157,"props":297,"children":299},{"id":298},"modifiers",[300],{"type":144,"value":301},"Modifiers",{"type":139,"tag":140,"props":303,"children":304},{},[305,307,314,316,323],{"type":144,"value":306},"To see all possible modifiers and their options, check out the ",{"type":139,"tag":147,"props":308,"children":311},{"href":309,"rel":310},"https://uploadcare.com/docs/transformations/image/",[151],[312],{"type":144,"value":313},"image transformations documentation",{"type":144,"value":315}," or the ",{"type":139,"tag":147,"props":317,"children":320},{"href":318,"rel":319},"https://uploadcare.com/api-refs/url-api/",[151],[321],{"type":144,"value":322},"URL API Reference",{"type":144,"value":324},".",{"type":139,"tag":140,"props":326,"children":327},{},[328],{"type":144,"value":329},"Types are provided for the following modifiers:",{"type":139,"tag":176,"props":331,"children":336},{"className":332,"code":333,"filename":334,"language":335,"meta":127,"style":127},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","  // Image Compression\n  format: 'jpeg' | 'png' | 'webp' | 'auto'\n  quality: 'smart' | 'smart_retina' | 'normal' | 'better' | 'best' | 'lighter' | 'lightest'\n  progressive: 'yes' | 'no'\n  strip_meta: 'all' | 'none' | 'sensitive'\n\n  // Image Geometry\n  preview: `${number}x${number}` // Height x Width\n  resize: `${number}x${number}` | `${number}x`| `x${number}` \n  smart_resize: `${number}x${number}`\n  crop: string | string[]\n  scale_crop: string | string[]\n  border_radius: string | string[]\n  setfill: string // 3, 6 or 8 digit hex color\n  zoom_objects: string // 1 to 100\n","src/types/module.ts","ts",[337],{"type":139,"tag":168,"props":338,"children":339},{"__ignoreMap":127},[340,349,431,558,600,659,669,678,730,827,869,896,921,946,968],{"type":139,"tag":187,"props":341,"children":342},{"class":189,"line":190},[343],{"type":139,"tag":187,"props":344,"children":346},{"style":345},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[347],{"type":144,"value":348},"  // Image Compression\n",{"type":139,"tag":187,"props":350,"children":351},{"class":189,"line":206},[352,358,363,368,373,378,383,387,392,396,400,404,409,413,417,421,426],{"type":139,"tag":187,"props":353,"children":355},{"style":354},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[356],{"type":144,"value":357},"  format",{"type":139,"tag":187,"props":359,"children":360},{"style":194},[361],{"type":144,"value":362},":",{"type":139,"tag":187,"props":364,"children":365},{"style":194},[366],{"type":144,"value":367}," '",{"type":139,"tag":187,"props":369,"children":370},{"style":226},[371],{"type":144,"value":372},"jpeg",{"type":139,"tag":187,"props":374,"children":375},{"style":194},[376],{"type":144,"value":377},"'",{"type":139,"tag":187,"props":379,"children":380},{"style":194},[381],{"type":144,"value":382}," |",{"type":139,"tag":187,"props":384,"children":385},{"style":194},[386],{"type":144,"value":367},{"type":139,"tag":187,"props":388,"children":389},{"style":226},[390],{"type":144,"value":391},"png",{"type":139,"tag":187,"props":393,"children":394},{"style":194},[395],{"type":144,"value":377},{"type":139,"tag":187,"props":397,"children":398},{"style":194},[399],{"type":144,"value":382},{"type":139,"tag":187,"props":401,"children":402},{"style":194},[403],{"type":144,"value":367},{"type":139,"tag":187,"props":405,"children":406},{"style":226},[407],{"type":144,"value":408},"webp",{"type":139,"tag":187,"props":410,"children":411},{"style":194},[412],{"type":144,"value":377},{"type":139,"tag":187,"props":414,"children":415},{"style":194},[416],{"type":144,"value":382},{"type":139,"tag":187,"props":418,"children":419},{"style":194},[420],{"type":144,"value":367},{"type":139,"tag":187,"props":422,"children":423},{"style":226},[424],{"type":144,"value":425},"auto",{"type":139,"tag":187,"props":427,"children":428},{"style":194},[429],{"type":144,"value":430},"'\n",{"type":139,"tag":187,"props":432,"children":433},{"class":189,"line":236},[434,439,443,447,452,456,460,464,469,473,477,481,486,490,494,498,503,507,511,515,520,524,528,532,537,541,545,549,554],{"type":139,"tag":187,"props":435,"children":436},{"style":354},[437],{"type":144,"value":438},"  quality",{"type":139,"tag":187,"props":440,"children":441},{"style":194},[442],{"type":144,"value":362},{"type":139,"tag":187,"props":444,"children":445},{"style":194},[446],{"type":144,"value":367},{"type":139,"tag":187,"props":448,"children":449},{"style":226},[450],{"type":144,"value":451},"smart",{"type":139,"tag":187,"props":453,"children":454},{"style":194},[455],{"type":144,"value":377},{"type":139,"tag":187,"props":457,"children":458},{"style":194},[459],{"type":144,"value":382},{"type":139,"tag":187,"props":461,"children":462},{"style":194},[463],{"type":144,"value":367},{"type":139,"tag":187,"props":465,"children":466},{"style":226},[467],{"type":144,"value":468},"smart_retina",{"type":139,"tag":187,"props":470,"children":471},{"style":194},[472],{"type":144,"value":377},{"type":139,"tag":187,"props":474,"children":475},{"style":194},[476],{"type":144,"value":382},{"type":139,"tag":187,"props":478,"children":479},{"style":194},[480],{"type":144,"value":367},{"type":139,"tag":187,"props":482,"children":483},{"style":226},[484],{"type":144,"value":485},"normal",{"type":139,"tag":187,"props":487,"children":488},{"style":194},[489],{"type":144,"value":377},{"type":139,"tag":187,"props":491,"children":492},{"style":194},[493],{"type":144,"value":382},{"type":139,"tag":187,"props":495,"children":496},{"style":194},[497],{"type":144,"value":367},{"type":139,"tag":187,"props":499,"children":500},{"style":226},[501],{"type":144,"value":502},"better",{"type":139,"tag":187,"props":504,"children":505},{"style":194},[506],{"type":144,"value":377},{"type":139,"tag":187,"props":508,"children":509},{"style":194},[510],{"type":144,"value":382},{"type":139,"tag":187,"props":512,"children":513},{"style":194},[514],{"type":144,"value":367},{"type":139,"tag":187,"props":516,"children":517},{"style":226},[518],{"type":144,"value":519},"best",{"type":139,"tag":187,"props":521,"children":522},{"style":194},[523],{"type":144,"value":377},{"type":139,"tag":187,"props":525,"children":526},{"style":194},[527],{"type":144,"value":382},{"type":139,"tag":187,"props":529,"children":530},{"style":194},[531],{"type":144,"value":367},{"type":139,"tag":187,"props":533,"children":534},{"style":226},[535],{"type":144,"value":536},"lighter",{"type":139,"tag":187,"props":538,"children":539},{"style":194},[540],{"type":144,"value":377},{"type":139,"tag":187,"props":542,"children":543},{"style":194},[544],{"type":144,"value":382},{"type":139,"tag":187,"props":546,"children":547},{"style":194},[548],{"type":144,"value":367},{"type":139,"tag":187,"props":550,"children":551},{"style":226},[552],{"type":144,"value":553},"lightest",{"type":139,"tag":187,"props":555,"children":556},{"style":194},[557],{"type":144,"value":430},{"type":139,"tag":187,"props":559,"children":560},{"class":189,"line":262},[561,566,570,574,579,583,587,591,596],{"type":139,"tag":187,"props":562,"children":563},{"style":354},[564],{"type":144,"value":565},"  progressive",{"type":139,"tag":187,"props":567,"children":568},{"style":194},[569],{"type":144,"value":362},{"type":139,"tag":187,"props":571,"children":572},{"style":194},[573],{"type":144,"value":367},{"type":139,"tag":187,"props":575,"children":576},{"style":226},[577],{"type":144,"value":578},"yes",{"type":139,"tag":187,"props":580,"children":581},{"style":194},[582],{"type":144,"value":377},{"type":139,"tag":187,"props":584,"children":585},{"style":194},[586],{"type":144,"value":382},{"type":139,"tag":187,"props":588,"children":589},{"style":194},[590],{"type":144,"value":367},{"type":139,"tag":187,"props":592,"children":593},{"style":226},[594],{"type":144,"value":595},"no",{"type":139,"tag":187,"props":597,"children":598},{"style":194},[599],{"type":144,"value":430},{"type":139,"tag":187,"props":601,"children":602},{"class":189,"line":288},[603,608,612,616,621,625,629,633,638,642,646,650,655],{"type":139,"tag":187,"props":604,"children":605},{"style":354},[606],{"type":144,"value":607},"  strip_meta",{"type":139,"tag":187,"props":609,"children":610},{"style":194},[611],{"type":144,"value":362},{"type":139,"tag":187,"props":613,"children":614},{"style":194},[615],{"type":144,"value":367},{"type":139,"tag":187,"props":617,"children":618},{"style":226},[619],{"type":144,"value":620},"all",{"type":139,"tag":187,"props":622,"children":623},{"style":194},[624],{"type":144,"value":377},{"type":139,"tag":187,"props":626,"children":627},{"style":194},[628],{"type":144,"value":382},{"type":139,"tag":187,"props":630,"children":631},{"style":194},[632],{"type":144,"value":367},{"type":139,"tag":187,"props":634,"children":635},{"style":226},[636],{"type":144,"value":637},"none",{"type":139,"tag":187,"props":639,"children":640},{"style":194},[641],{"type":144,"value":377},{"type":139,"tag":187,"props":643,"children":644},{"style":194},[645],{"type":144,"value":382},{"type":139,"tag":187,"props":647,"children":648},{"style":194},[649],{"type":144,"value":367},{"type":139,"tag":187,"props":651,"children":652},{"style":226},[653],{"type":144,"value":654},"sensitive",{"type":139,"tag":187,"props":656,"children":657},{"style":194},[658],{"type":144,"value":430},{"type":139,"tag":187,"props":660,"children":662},{"class":189,"line":661},6,[663],{"type":139,"tag":187,"props":664,"children":666},{"emptyLinePlaceholder":665},true,[667],{"type":144,"value":668},"\n",{"type":139,"tag":187,"props":670,"children":672},{"class":189,"line":671},7,[673],{"type":139,"tag":187,"props":674,"children":675},{"style":345},[676],{"type":144,"value":677},"  // Image Geometry\n",{"type":139,"tag":187,"props":679,"children":681},{"class":189,"line":680},8,[682,687,691,696,701,706,711,716,720,725],{"type":139,"tag":187,"props":683,"children":684},{"style":354},[685],{"type":144,"value":686},"  preview",{"type":139,"tag":187,"props":688,"children":689},{"style":194},[690],{"type":144,"value":362},{"type":139,"tag":187,"props":692,"children":693},{"style":194},[694],{"type":144,"value":695}," `${",{"type":139,"tag":187,"props":697,"children":698},{"style":292},[699],{"type":144,"value":700},"number",{"type":139,"tag":187,"props":702,"children":703},{"style":194},[704],{"type":144,"value":705},"}",{"type":139,"tag":187,"props":707,"children":708},{"style":226},[709],{"type":144,"value":710},"x",{"type":139,"tag":187,"props":712,"children":713},{"style":194},[714],{"type":144,"value":715},"${",{"type":139,"tag":187,"props":717,"children":718},{"style":292},[719],{"type":144,"value":700},{"type":139,"tag":187,"props":721,"children":722},{"style":194},[723],{"type":144,"value":724},"}`",{"type":139,"tag":187,"props":726,"children":727},{"style":345},[728],{"type":144,"value":729}," // Height x Width\n",{"type":139,"tag":187,"props":731,"children":733},{"class":189,"line":732},9,[734,739,743,747,751,755,759,763,767,771,775,779,783,787,791,796,801,806,810,814,818,822],{"type":139,"tag":187,"props":735,"children":736},{"style":354},[737],{"type":144,"value":738},"  resize",{"type":139,"tag":187,"props":740,"children":741},{"style":194},[742],{"type":144,"value":362},{"type":139,"tag":187,"props":744,"children":745},{"style":194},[746],{"type":144,"value":695},{"type":139,"tag":187,"props":748,"children":749},{"style":292},[750],{"type":144,"value":700},{"type":139,"tag":187,"props":752,"children":753},{"style":194},[754],{"type":144,"value":705},{"type":139,"tag":187,"props":756,"children":757},{"style":226},[758],{"type":144,"value":710},{"type":139,"tag":187,"props":760,"children":761},{"style":194},[762],{"type":144,"value":715},{"type":139,"tag":187,"props":764,"children":765},{"style":292},[766],{"type":144,"value":700},{"type":139,"tag":187,"props":768,"children":769},{"style":194},[770],{"type":144,"value":724},{"type":139,"tag":187,"props":772,"children":773},{"style":194},[774],{"type":144,"value":382},{"type":139,"tag":187,"props":776,"children":777},{"style":194},[778],{"type":144,"value":695},{"type":139,"tag":187,"props":780,"children":781},{"style":292},[782],{"type":144,"value":700},{"type":139,"tag":187,"props":784,"children":785},{"style":194},[786],{"type":144,"value":705},{"type":139,"tag":187,"props":788,"children":789},{"style":226},[790],{"type":144,"value":710},{"type":139,"tag":187,"props":792,"children":793},{"style":194},[794],{"type":144,"value":795},"`",{"type":139,"tag":187,"props":797,"children":798},{"style":194},[799],{"type":144,"value":800},"|",{"type":139,"tag":187,"props":802,"children":803},{"style":194},[804],{"type":144,"value":805}," `",{"type":139,"tag":187,"props":807,"children":808},{"style":226},[809],{"type":144,"value":710},{"type":139,"tag":187,"props":811,"children":812},{"style":194},[813],{"type":144,"value":715},{"type":139,"tag":187,"props":815,"children":816},{"style":292},[817],{"type":144,"value":700},{"type":139,"tag":187,"props":819,"children":820},{"style":194},[821],{"type":144,"value":724},{"type":139,"tag":187,"props":823,"children":824},{"style":292},[825],{"type":144,"value":826}," \n",{"type":139,"tag":187,"props":828,"children":830},{"class":189,"line":829},10,[831,836,840,844,848,852,856,860,864],{"type":139,"tag":187,"props":832,"children":833},{"style":354},[834],{"type":144,"value":835},"  smart_resize",{"type":139,"tag":187,"props":837,"children":838},{"style":194},[839],{"type":144,"value":362},{"type":139,"tag":187,"props":841,"children":842},{"style":194},[843],{"type":144,"value":695},{"type":139,"tag":187,"props":845,"children":846},{"style":292},[847],{"type":144,"value":700},{"type":139,"tag":187,"props":849,"children":850},{"style":194},[851],{"type":144,"value":705},{"type":139,"tag":187,"props":853,"children":854},{"style":226},[855],{"type":144,"value":710},{"type":139,"tag":187,"props":857,"children":858},{"style":194},[859],{"type":144,"value":715},{"type":139,"tag":187,"props":861,"children":862},{"style":292},[863],{"type":144,"value":700},{"type":139,"tag":187,"props":865,"children":866},{"style":194},[867],{"type":144,"value":868},"}`\n",{"type":139,"tag":187,"props":870,"children":872},{"class":189,"line":871},11,[873,878,882,887,891],{"type":139,"tag":187,"props":874,"children":875},{"style":354},[876],{"type":144,"value":877},"  crop",{"type":139,"tag":187,"props":879,"children":880},{"style":194},[881],{"type":144,"value":362},{"type":139,"tag":187,"props":883,"children":884},{"style":292},[885],{"type":144,"value":886}," string ",{"type":139,"tag":187,"props":888,"children":889},{"style":194},[890],{"type":144,"value":800},{"type":139,"tag":187,"props":892,"children":893},{"style":292},[894],{"type":144,"value":895}," string[]\n",{"type":139,"tag":187,"props":897,"children":899},{"class":189,"line":898},12,[900,905,909,913,917],{"type":139,"tag":187,"props":901,"children":902},{"style":354},[903],{"type":144,"value":904},"  scale_crop",{"type":139,"tag":187,"props":906,"children":907},{"style":194},[908],{"type":144,"value":362},{"type":139,"tag":187,"props":910,"children":911},{"style":292},[912],{"type":144,"value":886},{"type":139,"tag":187,"props":914,"children":915},{"style":194},[916],{"type":144,"value":800},{"type":139,"tag":187,"props":918,"children":919},{"style":292},[920],{"type":144,"value":895},{"type":139,"tag":187,"props":922,"children":924},{"class":189,"line":923},13,[925,930,934,938,942],{"type":139,"tag":187,"props":926,"children":927},{"style":354},[928],{"type":144,"value":929},"  border_radius",{"type":139,"tag":187,"props":931,"children":932},{"style":194},[933],{"type":144,"value":362},{"type":139,"tag":187,"props":935,"children":936},{"style":292},[937],{"type":144,"value":886},{"type":139,"tag":187,"props":939,"children":940},{"style":194},[941],{"type":144,"value":800},{"type":139,"tag":187,"props":943,"children":944},{"style":292},[945],{"type":144,"value":895},{"type":139,"tag":187,"props":947,"children":949},{"class":189,"line":948},14,[950,955,959,963],{"type":139,"tag":187,"props":951,"children":952},{"style":354},[953],{"type":144,"value":954},"  setfill",{"type":139,"tag":187,"props":956,"children":957},{"style":194},[958],{"type":144,"value":362},{"type":139,"tag":187,"props":960,"children":961},{"style":292},[962],{"type":144,"value":886},{"type":139,"tag":187,"props":964,"children":965},{"style":345},[966],{"type":144,"value":967},"// 3, 6 or 8 digit hex color\n",{"type":139,"tag":187,"props":969,"children":971},{"class":189,"line":970},15,[972,977,981,985],{"type":139,"tag":187,"props":973,"children":974},{"style":354},[975],{"type":144,"value":976},"  zoom_objects",{"type":139,"tag":187,"props":978,"children":979},{"style":194},[980],{"type":144,"value":362},{"type":139,"tag":187,"props":982,"children":983},{"style":292},[984],{"type":144,"value":886},{"type":139,"tag":187,"props":986,"children":987},{"style":345},[988],{"type":144,"value":989},"// 1 to 100\n",{"type":139,"tag":140,"props":991,"children":992},{},[993],{"type":144,"value":994},"Please feel free to open a PR to improve support for additional operations.",{"type":139,"tag":157,"props":996,"children":998},{"id":997},"configuration",[999],{"type":144,"value":12},{"type":139,"tag":1001,"props":1002,"children":1003},"blockquote",{},[1004],{"type":139,"tag":140,"props":1005,"children":1006},{},[1007,1009,1014,1016,1021],{"type":144,"value":1008},"By default, all file URLs use the ",{"type":139,"tag":168,"props":1010,"children":1011},{"className":127},[1012],{"type":144,"value":1013},"ucarecdn.com",{"type":144,"value":1015}," domain. By setting a custom CDN CNAME, file URLs can use ",{"type":139,"tag":168,"props":1017,"children":1018},{"className":127},[1019],{"type":144,"value":1020},"cdn.mycompany.com",{"type":144,"value":1022}," instead.",{"type":139,"tag":140,"props":1024,"children":1025},{},[1026,1028,1035],{"type":144,"value":1027},"See the ",{"type":139,"tag":147,"props":1029,"children":1032},{"href":1030,"rel":1031},"https://uploadcare.com/docs/delivery/cdn/#custom-cdn-cname",[151],[1033],{"type":144,"value":1034},"Uploadcare documentation",{"type":144,"value":1036}," for how to enable a custom domain in your project. To tell Nuxt Image about the custom CDN name, use the following configuration:",{"type":139,"tag":176,"props":1038,"children":1041},{"className":332,"code":1039,"filename":1040,"language":335,"meta":127,"style":127},"export default defineNuxtConfig({\n  image: {\n    uploadcare: {\n      cdnURL: 'cdn.mycompany.com',\n    }\n  }\n})\n","nuxt.config.ts",[1042],{"type":139,"tag":168,"props":1043,"children":1044},{"__ignoreMap":127},[1045,1075,1092,1108,1137,1145,1153],{"type":139,"tag":187,"props":1046,"children":1047},{"class":189,"line":190},[1048,1054,1059,1065,1070],{"type":139,"tag":187,"props":1049,"children":1051},{"style":1050},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1052],{"type":144,"value":1053},"export",{"type":139,"tag":187,"props":1055,"children":1056},{"style":1050},[1057],{"type":144,"value":1058}," default",{"type":139,"tag":187,"props":1060,"children":1062},{"style":1061},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1063],{"type":144,"value":1064}," defineNuxtConfig",{"type":139,"tag":187,"props":1066,"children":1067},{"style":292},[1068],{"type":144,"value":1069},"(",{"type":139,"tag":187,"props":1071,"children":1072},{"style":194},[1073],{"type":144,"value":1074},"{\n",{"type":139,"tag":187,"props":1076,"children":1077},{"class":189,"line":206},[1078,1083,1087],{"type":139,"tag":187,"props":1079,"children":1080},{"style":200},[1081],{"type":144,"value":1082},"  image",{"type":139,"tag":187,"props":1084,"children":1085},{"style":194},[1086],{"type":144,"value":362},{"type":139,"tag":187,"props":1088,"children":1089},{"style":194},[1090],{"type":144,"value":1091}," {\n",{"type":139,"tag":187,"props":1093,"children":1094},{"class":189,"line":236},[1095,1100,1104],{"type":139,"tag":187,"props":1096,"children":1097},{"style":200},[1098],{"type":144,"value":1099},"    uploadcare",{"type":139,"tag":187,"props":1101,"children":1102},{"style":194},[1103],{"type":144,"value":362},{"type":139,"tag":187,"props":1105,"children":1106},{"style":194},[1107],{"type":144,"value":1091},{"type":139,"tag":187,"props":1109,"children":1110},{"class":189,"line":262},[1111,1116,1120,1124,1128,1132],{"type":139,"tag":187,"props":1112,"children":1113},{"style":200},[1114],{"type":144,"value":1115},"      cdnURL",{"type":139,"tag":187,"props":1117,"children":1118},{"style":194},[1119],{"type":144,"value":362},{"type":139,"tag":187,"props":1121,"children":1122},{"style":194},[1123],{"type":144,"value":367},{"type":139,"tag":187,"props":1125,"children":1126},{"style":226},[1127],{"type":144,"value":1020},{"type":139,"tag":187,"props":1129,"children":1130},{"style":194},[1131],{"type":144,"value":377},{"type":139,"tag":187,"props":1133,"children":1134},{"style":194},[1135],{"type":144,"value":1136},",\n",{"type":139,"tag":187,"props":1138,"children":1139},{"class":189,"line":288},[1140],{"type":139,"tag":187,"props":1141,"children":1142},{"style":194},[1143],{"type":144,"value":1144},"    }\n",{"type":139,"tag":187,"props":1146,"children":1147},{"class":189,"line":661},[1148],{"type":139,"tag":187,"props":1149,"children":1150},{"style":194},[1151],{"type":144,"value":1152},"  }\n",{"type":139,"tag":187,"props":1154,"children":1155},{"class":189,"line":671},[1156,1160],{"type":139,"tag":187,"props":1157,"children":1158},{"style":194},[1159],{"type":144,"value":705},{"type":139,"tag":187,"props":1161,"children":1162},{"style":292},[1163],{"type":144,"value":1164},")\n",{"type":139,"tag":1166,"props":1167,"children":1168},"style",{},[1169],{"type":144,"value":1170},"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 .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.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 .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":127,"searchDepth":206,"depth":206,"links":1172},[1173,1174,1175],{"id":159,"depth":206,"text":21},{"id":298,"depth":206,"text":301},{"id":997,"depth":206,"text":12},"markdown","content:3.providers:uploadcare.md","content","3.providers/uploadcare.md","md",[1182,1342],{"_path":107,"_dir":125,"_draft":126,"_partial":126,"_locale":127,"title":106,"description":1183,"links":1184,"body":1187,"_type":1176,"_id":1340,"_source":1178,"_file":1341,"_extension":1180},"Nuxt Image has first class integration with Unsplash.",[1185],{"label":131,"icon":132,"to":1186,"size":134},"https://github.com/nuxt/image/blob/main/src/runtime/providers/unsplash.ts",{"type":136,"children":1188,"toc":1336},[1189,1210,1216,1221,1226,1237,1243,1248,1323,1328],{"type":139,"tag":140,"props":1190,"children":1191},{},[1192,1193,1199,1201,1208],{"type":144,"value":145},{"type":139,"tag":147,"props":1194,"children":1197},{"href":1195,"rel":1196},"https://unsplash.com/documentation#dynamically-resizable-images",[151],[1198],{"type":144,"value":106},{"type":144,"value":1200}," and the image module. See ",{"type":139,"tag":147,"props":1202,"children":1205},{"href":1203,"rel":1204},"https://unsplash.com/license",[151],[1206],{"type":144,"value":1207},"Unsplash License",{"type":144,"value":1209}," for what usage is permitted.",{"type":139,"tag":157,"props":1211,"children":1213},{"id":1212},"dynamically-resizable-images",[1214],{"type":144,"value":1215},"Dynamically resizable images",{"type":139,"tag":140,"props":1217,"children":1218},{},[1219],{"type":144,"value":1220},"Every image returned by the Unsplash API is a dynamic image URL, which means that it can be manipulated to create new transformations of the image by simply adjusting the query parameters of the image URL.",{"type":139,"tag":140,"props":1222,"children":1223},{},[1224],{"type":144,"value":1225},"This enables resizing, cropping, compression, and changing the format of the image in realtime client-side, without any API calls.",{"type":139,"tag":140,"props":1227,"children":1228},{},[1229,1231,1235],{"type":144,"value":1230},"Under the hood, Unsplash uses ",{"type":139,"tag":147,"props":1232,"children":1233},{"href":77},[1234],{"type":144,"value":76},{"type":144,"value":1236},", a powerful image manipulation service to provide dynamic image URLs.",{"type":139,"tag":157,"props":1238,"children":1240},{"id":1239},"supported-parameters",[1241],{"type":144,"value":1242},"Supported parameters",{"type":139,"tag":140,"props":1244,"children":1245},{},[1246],{"type":144,"value":1247},"Unsplash officially support the parameters:",{"type":139,"tag":1249,"props":1250,"children":1251},"ul",{},[1252,1263,1273,1283,1293,1303,1313],{"type":139,"tag":1253,"props":1254,"children":1255},"li",{},[1256,1261],{"type":139,"tag":168,"props":1257,"children":1258},{"className":127},[1259],{"type":144,"value":1260},"w, h",{"type":144,"value":1262},": for adjusting the width and height of a photo",{"type":139,"tag":1253,"props":1264,"children":1265},{},[1266,1271],{"type":139,"tag":168,"props":1267,"children":1268},{"className":127},[1269],{"type":144,"value":1270},"crop",{"type":144,"value":1272},": for applying cropping to the photo",{"type":139,"tag":1253,"props":1274,"children":1275},{},[1276,1281],{"type":139,"tag":168,"props":1277,"children":1278},{"className":127},[1279],{"type":144,"value":1280},"fm",{"type":144,"value":1282},": for converting image format",{"type":139,"tag":1253,"props":1284,"children":1285},{},[1286,1291],{"type":139,"tag":168,"props":1287,"children":1288},{"className":127},[1289],{"type":144,"value":1290},"auto=format",{"type":144,"value":1292},": for automatically choosing the optimal image format depending on user browser",{"type":139,"tag":1253,"props":1294,"children":1295},{},[1296,1301],{"type":139,"tag":168,"props":1297,"children":1298},{"className":127},[1299],{"type":144,"value":1300},"q",{"type":144,"value":1302},": for changing the compression quality when using lossy file formats",{"type":139,"tag":1253,"props":1304,"children":1305},{},[1306,1311],{"type":139,"tag":168,"props":1307,"children":1308},{"className":127},[1309],{"type":144,"value":1310},"fit",{"type":144,"value":1312},": for changing the fit of the image within the specified dimensions",{"type":139,"tag":1253,"props":1314,"children":1315},{},[1316,1321],{"type":139,"tag":168,"props":1317,"children":1318},{"className":127},[1319],{"type":144,"value":1320},"dpr",{"type":144,"value":1322},": for adjusting the device pixel ratio of the image",{"type":139,"tag":140,"props":1324,"children":1325},{},[1326],{"type":144,"value":1327},"The other parameters offered by Imgix can be used, but we don’t officially support them and may remove support for them at any time in the future.",{"type":139,"tag":1001,"props":1329,"children":1330},{},[1331],{"type":139,"tag":140,"props":1332,"children":1333},{},[1334],{"type":144,"value":1335},"💫 Tip\nThe API returns image URLs containing an ixid parameter. All resizing and manipulations of image URLs must keep this parameter as it allows for your application to report photo views and be compliant with the API Guidelines.",{"title":127,"searchDepth":206,"depth":206,"links":1337},[1338,1339],{"id":1212,"depth":206,"text":1215},{"id":1239,"depth":206,"text":1242},"content:3.providers:unsplash.md","3.providers/unsplash.md",{"_path":113,"_dir":125,"_draft":126,"_partial":126,"_locale":127,"title":112,"description":1343,"links":1344,"body":1347,"_type":1176,"_id":1667,"_source":1178,"_file":1668,"_extension":1180},"Optimize images at Vercel's Edge Network.",[1345],{"label":131,"icon":132,"to":1346,"size":134},"https://github.com/nuxt/image/blob/main/src/runtime/providers/vercel.ts",{"type":136,"children":1348,"toc":1663},[1349,1371,1376,1382,1394,1403,1498,1504,1534,1539,1546,1659],{"type":139,"tag":140,"props":1350,"children":1351},{},[1352,1354,1360,1362,1369],{"type":144,"value":1353},"When deploying your nuxt applications to ",{"type":139,"tag":147,"props":1355,"children":1358},{"href":1356,"rel":1357},"https://vercel.com/",[151],[1359],{"type":144,"value":112},{"type":144,"value":1361}," platform, image module can use Vercel's ",{"type":139,"tag":147,"props":1363,"children":1366},{"href":1364,"rel":1365},"https://vercel.com/docs/edge-network/overview",[151],[1367],{"type":144,"value":1368},"Edge Network",{"type":144,"value":1370}," to optimize images on demand.",{"type":139,"tag":140,"props":1372,"children":1373},{},[1374],{"type":144,"value":1375},"This provider will be enabled by default in vercel deployments.",{"type":139,"tag":157,"props":1377,"children":1379},{"id":1378},"domains",[1380],{"type":144,"value":1381},"Domains",{"type":139,"tag":140,"props":1383,"children":1384},{},[1385,1387,1392],{"type":144,"value":1386},"To use external URLs (images not in ",{"type":139,"tag":168,"props":1388,"children":1389},{"className":127},[1390],{"type":144,"value":1391},"public/",{"type":144,"value":1393}," directory), hostnames should be whitelisted.",{"type":139,"tag":140,"props":1395,"children":1396},{},[1397],{"type":139,"tag":1398,"props":1399,"children":1400},"strong",{},[1401],{"type":144,"value":1402},"Example:",{"type":139,"tag":176,"props":1404,"children":1407},{"className":332,"code":1405,"filename":1406,"language":335,"meta":127,"style":127},"export default {\n  image: {\n    domains: [\n      'avatars0.githubusercontent.com'\n    ]\n  }\n}\n","nuxt.config",[1408],{"type":139,"tag":168,"props":1409,"children":1410},{"__ignoreMap":127},[1411,1426,1441,1458,1475,1483,1490],{"type":139,"tag":187,"props":1412,"children":1413},{"class":189,"line":190},[1414,1418,1422],{"type":139,"tag":187,"props":1415,"children":1416},{"style":1050},[1417],{"type":144,"value":1053},{"type":139,"tag":187,"props":1419,"children":1420},{"style":1050},[1421],{"type":144,"value":1058},{"type":139,"tag":187,"props":1423,"children":1424},{"style":194},[1425],{"type":144,"value":1091},{"type":139,"tag":187,"props":1427,"children":1428},{"class":189,"line":206},[1429,1433,1437],{"type":139,"tag":187,"props":1430,"children":1431},{"style":200},[1432],{"type":144,"value":1082},{"type":139,"tag":187,"props":1434,"children":1435},{"style":194},[1436],{"type":144,"value":362},{"type":139,"tag":187,"props":1438,"children":1439},{"style":194},[1440],{"type":144,"value":1091},{"type":139,"tag":187,"props":1442,"children":1443},{"class":189,"line":236},[1444,1449,1453],{"type":139,"tag":187,"props":1445,"children":1446},{"style":200},[1447],{"type":144,"value":1448},"    domains",{"type":139,"tag":187,"props":1450,"children":1451},{"style":194},[1452],{"type":144,"value":362},{"type":139,"tag":187,"props":1454,"children":1455},{"style":292},[1456],{"type":144,"value":1457}," [\n",{"type":139,"tag":187,"props":1459,"children":1460},{"class":189,"line":262},[1461,1466,1471],{"type":139,"tag":187,"props":1462,"children":1463},{"style":194},[1464],{"type":144,"value":1465},"      '",{"type":139,"tag":187,"props":1467,"children":1468},{"style":226},[1469],{"type":144,"value":1470},"avatars0.githubusercontent.com",{"type":139,"tag":187,"props":1472,"children":1473},{"style":194},[1474],{"type":144,"value":430},{"type":139,"tag":187,"props":1476,"children":1477},{"class":189,"line":288},[1478],{"type":139,"tag":187,"props":1479,"children":1480},{"style":292},[1481],{"type":144,"value":1482},"    ]\n",{"type":139,"tag":187,"props":1484,"children":1485},{"class":189,"line":661},[1486],{"type":139,"tag":187,"props":1487,"children":1488},{"style":194},[1489],{"type":144,"value":1152},{"type":139,"tag":187,"props":1491,"children":1492},{"class":189,"line":671},[1493],{"type":139,"tag":187,"props":1494,"children":1495},{"style":194},[1496],{"type":144,"value":1497},"}\n",{"type":139,"tag":157,"props":1499,"children":1501},{"id":1500},"sizes",[1502],{"type":144,"value":1503},"Sizes",{"type":139,"tag":140,"props":1505,"children":1506},{},[1507,1509,1514,1516,1520,1522,1526,1528,1533],{"type":144,"value":1508},"Specify any custom ",{"type":139,"tag":168,"props":1510,"children":1511},{"className":127},[1512],{"type":144,"value":1513},"width",{"type":144,"value":1515}," property you use in ",{"type":139,"tag":168,"props":1517,"children":1518},{"className":127},[1519],{"type":144,"value":25},{"type":144,"value":1521},", ",{"type":139,"tag":168,"props":1523,"children":1524},{"className":127},[1525],{"type":144,"value":28},{"type":144,"value":1527}," and ",{"type":139,"tag":168,"props":1529,"children":1530},{"className":127},[1531],{"type":144,"value":1532},"$img",{"type":144,"value":324},{"type":139,"tag":140,"props":1535,"children":1536},{},[1537],{"type":144,"value":1538},"If a width is not defined, image will fallback to closest possible width.",{"type":139,"tag":140,"props":1540,"children":1541},{},[1542],{"type":139,"tag":1398,"props":1543,"children":1544},{},[1545],{"type":144,"value":1402},{"type":139,"tag":176,"props":1547,"children":1549},{"className":332,"code":1548,"filename":1406,"language":335,"meta":127,"style":127},"export default {\n  image: {\n    screens: {\n      icon: 40,\n      avatar: 24\n    }\n  }\n}\n",[1550],{"type":139,"tag":168,"props":1551,"children":1552},{"__ignoreMap":127},[1553,1568,1583,1599,1621,1638,1645,1652],{"type":139,"tag":187,"props":1554,"children":1555},{"class":189,"line":190},[1556,1560,1564],{"type":139,"tag":187,"props":1557,"children":1558},{"style":1050},[1559],{"type":144,"value":1053},{"type":139,"tag":187,"props":1561,"children":1562},{"style":1050},[1563],{"type":144,"value":1058},{"type":139,"tag":187,"props":1565,"children":1566},{"style":194},[1567],{"type":144,"value":1091},{"type":139,"tag":187,"props":1569,"children":1570},{"class":189,"line":206},[1571,1575,1579],{"type":139,"tag":187,"props":1572,"children":1573},{"style":200},[1574],{"type":144,"value":1082},{"type":139,"tag":187,"props":1576,"children":1577},{"style":194},[1578],{"type":144,"value":362},{"type":139,"tag":187,"props":1580,"children":1581},{"style":194},[1582],{"type":144,"value":1091},{"type":139,"tag":187,"props":1584,"children":1585},{"class":189,"line":236},[1586,1591,1595],{"type":139,"tag":187,"props":1587,"children":1588},{"style":200},[1589],{"type":144,"value":1590},"    screens",{"type":139,"tag":187,"props":1592,"children":1593},{"style":194},[1594],{"type":144,"value":362},{"type":139,"tag":187,"props":1596,"children":1597},{"style":194},[1598],{"type":144,"value":1091},{"type":139,"tag":187,"props":1600,"children":1601},{"class":189,"line":262},[1602,1607,1611,1617],{"type":139,"tag":187,"props":1603,"children":1604},{"style":200},[1605],{"type":144,"value":1606},"      icon",{"type":139,"tag":187,"props":1608,"children":1609},{"style":194},[1610],{"type":144,"value":362},{"type":139,"tag":187,"props":1612,"children":1614},{"style":1613},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1615],{"type":144,"value":1616}," 40",{"type":139,"tag":187,"props":1618,"children":1619},{"style":194},[1620],{"type":144,"value":1136},{"type":139,"tag":187,"props":1622,"children":1623},{"class":189,"line":288},[1624,1629,1633],{"type":139,"tag":187,"props":1625,"children":1626},{"style":200},[1627],{"type":144,"value":1628},"      avatar",{"type":139,"tag":187,"props":1630,"children":1631},{"style":194},[1632],{"type":144,"value":362},{"type":139,"tag":187,"props":1634,"children":1635},{"style":1613},[1636],{"type":144,"value":1637}," 24\n",{"type":139,"tag":187,"props":1639,"children":1640},{"class":189,"line":661},[1641],{"type":139,"tag":187,"props":1642,"children":1643},{"style":194},[1644],{"type":144,"value":1144},{"type":139,"tag":187,"props":1646,"children":1647},{"class":189,"line":671},[1648],{"type":139,"tag":187,"props":1649,"children":1650},{"style":194},[1651],{"type":144,"value":1152},{"type":139,"tag":187,"props":1653,"children":1654},{"class":189,"line":680},[1655],{"type":139,"tag":187,"props":1656,"children":1657},{"style":194},[1658],{"type":144,"value":1497},{"type":139,"tag":1166,"props":1660,"children":1661},{},[1662],{"type":144,"value":1170},{"title":127,"searchDepth":206,"depth":206,"links":1664},[1665,1666],{"id":1378,"depth":206,"text":1381},{"id":1500,"depth":206,"text":1503},"content:3.providers:vercel.md","3.providers/vercel.md",1700216901142]