[{"data":1,"prerenderedAt":1417},["ShallowReactive",2],{"navigation":3,"docs-/providers/fastly":136,"docs-/providers/fastly-surround":332},[4,20,33,126],{"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,114,117,120,123],{"title":37,"_path":38},"Aliyun","/providers/aliyun",{"title":40,"_path":41},"AWS Amplify","/providers/aws-amplify",{"title":43,"_path":44},"Bunny","/providers/bunny",{"title":46,"_path":47},"Caisy","/providers/caisy",{"title":49,"_path":50},"Cloudflare","/providers/cloudflare",{"title":52,"_path":53},"Cloudimage","/providers/cloudimage",{"title":55,"_path":56},"Cloudinary","/providers/cloudinary",{"title":58,"_path":59},"Contentful","/providers/contentful",{"title":61,"_path":62},"Directus","/providers/directus",{"title":64,"_path":65},"Fastly","/providers/fastly",{"title":67,"_path":68},"Filerobot","/providers/filerobot",{"title":70,"_path":71},"Glide","/providers/glide",{"title":73,"_path":74},"Gumlet","/providers/gumlet",{"title":76,"_path":77},"Hygraph","/providers/hygraph",{"title":79,"_path":80},"ImageEngine","/providers/imageengine",{"title":82,"_path":83},"ImageKit","/providers/imagekit",{"title":85,"_path":86},"Imgix","/providers/imgix",{"title":88,"_path":89},"IPX","/providers/ipx",{"title":91,"_path":92},"Netlify","/providers/netlify",{"title":94,"_path":95},"Prepr","/providers/prepr",{"title":97,"_path":98},"Prismic","/providers/prismic",{"title":100,"_path":101},"Sanity","/providers/sanity",{"title":103,"_path":104},"Sirv","/providers/sirv",{"title":106,"_path":107},"Storyblok","/providers/storyblok",{"title":109,"_path":110},"Strapi","/providers/strapi",{"title":112,"_path":113},"Twicpics","/providers/twicpics",{"title":115,"_path":116},"Unsplash","/providers/unsplash",{"title":118,"_path":119},"Uploadcare","/providers/uploadcare",{"title":121,"_path":122},"Vercel","/providers/vercel",{"title":124,"_path":125},"Weserv","/providers/weserv",{"title":127,"_path":128,"children":129},"Advanced","/advanced",[130,133],{"title":131,"_path":132},"Custom Provider","/advanced/custom-provider",{"title":134,"_path":135},"Static Images","/advanced/static-images",{"_path":65,"_dir":137,"_draft":138,"_partial":138,"_locale":139,"title":64,"description":140,"links":141,"body":147,"_type":326,"_id":327,"_source":328,"_file":329,"_stem":330,"_extension":331},"providers",false,"","Nuxt Image has first class integration with Fastly.",[142],{"label":143,"icon":144,"to":145,"size":146},"Source","i-simple-icons-github","https://github.com/nuxt/image/blob/main/src/runtime/providers/fastly.ts","xs",{"type":148,"children":149,"toc":324},"root",[150,168,173,318],{"type":151,"tag":152,"props":153,"children":154},"element","p",{},[155,158,166],{"type":156,"value":157},"text","Integration between ",{"type":151,"tag":159,"props":160,"children":164},"a",{"href":161,"rel":162},"https://docs.fastly.com/en/guides/image-optimization-api",[163],"nofollow",[165],{"type":156,"value":64},{"type":156,"value":167}," and the image module.",{"type":151,"tag":152,"props":169,"children":170},{},[171],{"type":156,"value":172},"To use this provider you just need to specify the base URL of your service in Fastly.",{"type":151,"tag":174,"props":175,"children":180},"pre",{"className":176,"code":177,"filename":178,"language":179,"meta":139,"style":139},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  image: {\n    fastly: {\n      baseURL: 'https://www.fastly.io'\n    }\n  }\n})\n","nuxt.config.ts","ts",[181],{"type":151,"tag":182,"props":183,"children":184},"code",{"__ignoreMap":139},[185,220,240,257,286,295,304],{"type":151,"tag":186,"props":187,"children":190},"span",{"class":188,"line":189},"line",1,[191,197,202,208,214],{"type":151,"tag":186,"props":192,"children":194},{"style":193},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[195],{"type":156,"value":196},"export",{"type":151,"tag":186,"props":198,"children":199},{"style":193},[200],{"type":156,"value":201}," default",{"type":151,"tag":186,"props":203,"children":205},{"style":204},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[206],{"type":156,"value":207}," defineNuxtConfig",{"type":151,"tag":186,"props":209,"children":211},{"style":210},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[212],{"type":156,"value":213},"(",{"type":151,"tag":186,"props":215,"children":217},{"style":216},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[218],{"type":156,"value":219},"{\n",{"type":151,"tag":186,"props":221,"children":223},{"class":188,"line":222},2,[224,230,235],{"type":151,"tag":186,"props":225,"children":227},{"style":226},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[228],{"type":156,"value":229},"  image",{"type":151,"tag":186,"props":231,"children":232},{"style":216},[233],{"type":156,"value":234},":",{"type":151,"tag":186,"props":236,"children":237},{"style":216},[238],{"type":156,"value":239}," {\n",{"type":151,"tag":186,"props":241,"children":243},{"class":188,"line":242},3,[244,249,253],{"type":151,"tag":186,"props":245,"children":246},{"style":226},[247],{"type":156,"value":248},"    fastly",{"type":151,"tag":186,"props":250,"children":251},{"style":216},[252],{"type":156,"value":234},{"type":151,"tag":186,"props":254,"children":255},{"style":216},[256],{"type":156,"value":239},{"type":151,"tag":186,"props":258,"children":260},{"class":188,"line":259},4,[261,266,270,275,281],{"type":151,"tag":186,"props":262,"children":263},{"style":226},[264],{"type":156,"value":265},"      baseURL",{"type":151,"tag":186,"props":267,"children":268},{"style":216},[269],{"type":156,"value":234},{"type":151,"tag":186,"props":271,"children":272},{"style":216},[273],{"type":156,"value":274}," '",{"type":151,"tag":186,"props":276,"children":278},{"style":277},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[279],{"type":156,"value":280},"https://www.fastly.io",{"type":151,"tag":186,"props":282,"children":283},{"style":216},[284],{"type":156,"value":285},"'\n",{"type":151,"tag":186,"props":287,"children":289},{"class":188,"line":288},5,[290],{"type":151,"tag":186,"props":291,"children":292},{"style":216},[293],{"type":156,"value":294},"    }\n",{"type":151,"tag":186,"props":296,"children":298},{"class":188,"line":297},6,[299],{"type":151,"tag":186,"props":300,"children":301},{"style":216},[302],{"type":156,"value":303},"  }\n",{"type":151,"tag":186,"props":305,"children":307},{"class":188,"line":306},7,[308,313],{"type":151,"tag":186,"props":309,"children":310},{"style":216},[311],{"type":156,"value":312},"}",{"type":151,"tag":186,"props":314,"children":315},{"style":210},[316],{"type":156,"value":317},")\n",{"type":151,"tag":319,"props":320,"children":321},"style",{},[322],{"type":156,"value":323},"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":139,"searchDepth":222,"depth":222,"links":325},[],"markdown","content:3.providers:fastly.md","content","3.providers/fastly.md","3.providers/fastly","md",[333,1270],{"_path":62,"_dir":137,"_draft":138,"_partial":138,"_locale":139,"title":61,"description":334,"links":335,"body":338,"_type":326,"_id":1267,"_source":328,"_file":1268,"_stem":1269,"_extension":331},"Nuxt Image with Directus integration.",[336],{"label":143,"icon":144,"to":337,"size":146},"https://github.com/nuxt/image/blob/main/src/runtime/providers/directus.ts",{"type":148,"children":339,"toc":1264},[340,351,356,476,481,725,732,746,960,989,1215,1260],{"type":151,"tag":152,"props":341,"children":342},{},[343,344,350],{"type":156,"value":157},{"type":151,"tag":159,"props":345,"children":348},{"href":346,"rel":347},"https://directus.io",[163],[349],{"type":156,"value":61},{"type":156,"value":167},{"type":151,"tag":152,"props":352,"children":353},{},[354],{"type":156,"value":355},"To use this provider you just need to specify the base URL of your project.",{"type":151,"tag":174,"props":357,"children":359},{"className":176,"code":358,"filename":178,"language":179,"meta":139,"style":139},"export default defineNuxtConfig({\n  image: {\n    directus: {\n      // This URL needs to include the final `assets/` directory\n      baseURL: 'http://localhost:8055/assets'\n    }\n  }\n})\n",[360],{"type":151,"tag":182,"props":361,"children":362},{"__ignoreMap":139},[363,386,401,417,426,450,457,464],{"type":151,"tag":186,"props":364,"children":365},{"class":188,"line":189},[366,370,374,378,382],{"type":151,"tag":186,"props":367,"children":368},{"style":193},[369],{"type":156,"value":196},{"type":151,"tag":186,"props":371,"children":372},{"style":193},[373],{"type":156,"value":201},{"type":151,"tag":186,"props":375,"children":376},{"style":204},[377],{"type":156,"value":207},{"type":151,"tag":186,"props":379,"children":380},{"style":210},[381],{"type":156,"value":213},{"type":151,"tag":186,"props":383,"children":384},{"style":216},[385],{"type":156,"value":219},{"type":151,"tag":186,"props":387,"children":388},{"class":188,"line":222},[389,393,397],{"type":151,"tag":186,"props":390,"children":391},{"style":226},[392],{"type":156,"value":229},{"type":151,"tag":186,"props":394,"children":395},{"style":216},[396],{"type":156,"value":234},{"type":151,"tag":186,"props":398,"children":399},{"style":216},[400],{"type":156,"value":239},{"type":151,"tag":186,"props":402,"children":403},{"class":188,"line":242},[404,409,413],{"type":151,"tag":186,"props":405,"children":406},{"style":226},[407],{"type":156,"value":408},"    directus",{"type":151,"tag":186,"props":410,"children":411},{"style":216},[412],{"type":156,"value":234},{"type":151,"tag":186,"props":414,"children":415},{"style":216},[416],{"type":156,"value":239},{"type":151,"tag":186,"props":418,"children":419},{"class":188,"line":259},[420],{"type":151,"tag":186,"props":421,"children":423},{"style":422},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[424],{"type":156,"value":425},"      // This URL needs to include the final `assets/` directory\n",{"type":151,"tag":186,"props":427,"children":428},{"class":188,"line":288},[429,433,437,441,446],{"type":151,"tag":186,"props":430,"children":431},{"style":226},[432],{"type":156,"value":265},{"type":151,"tag":186,"props":434,"children":435},{"style":216},[436],{"type":156,"value":234},{"type":151,"tag":186,"props":438,"children":439},{"style":216},[440],{"type":156,"value":274},{"type":151,"tag":186,"props":442,"children":443},{"style":277},[444],{"type":156,"value":445},"http://localhost:8055/assets",{"type":151,"tag":186,"props":447,"children":448},{"style":216},[449],{"type":156,"value":285},{"type":151,"tag":186,"props":451,"children":452},{"class":188,"line":297},[453],{"type":151,"tag":186,"props":454,"children":455},{"style":216},[456],{"type":156,"value":294},{"type":151,"tag":186,"props":458,"children":459},{"class":188,"line":306},[460],{"type":151,"tag":186,"props":461,"children":462},{"style":216},[463],{"type":156,"value":303},{"type":151,"tag":186,"props":465,"children":467},{"class":188,"line":466},8,[468,472],{"type":151,"tag":186,"props":469,"children":470},{"style":216},[471],{"type":156,"value":312},{"type":151,"tag":186,"props":473,"children":474},{"style":210},[475],{"type":156,"value":317},{"type":151,"tag":152,"props":477,"children":478},{},[479],{"type":156,"value":480},"You can easily override default options:",{"type":151,"tag":174,"props":482,"children":484},{"className":176,"code":483,"filename":178,"language":179,"meta":139,"style":139},"export default defineNuxtConfig({\n  image: {\n    directus: {\n      baseURL: 'http://mydirectus-domain.com/assets',\n      modifiers: {\n        withoutEnlargement: 'true',\n        transforms: [['blur', 4], ['negate']]\n      }\n    }\n  }\n})\n",[485],{"type":151,"tag":182,"props":486,"children":487},{"__ignoreMap":139},[488,511,526,541,571,587,616,689,697,705,713],{"type":151,"tag":186,"props":489,"children":490},{"class":188,"line":189},[491,495,499,503,507],{"type":151,"tag":186,"props":492,"children":493},{"style":193},[494],{"type":156,"value":196},{"type":151,"tag":186,"props":496,"children":497},{"style":193},[498],{"type":156,"value":201},{"type":151,"tag":186,"props":500,"children":501},{"style":204},[502],{"type":156,"value":207},{"type":151,"tag":186,"props":504,"children":505},{"style":210},[506],{"type":156,"value":213},{"type":151,"tag":186,"props":508,"children":509},{"style":216},[510],{"type":156,"value":219},{"type":151,"tag":186,"props":512,"children":513},{"class":188,"line":222},[514,518,522],{"type":151,"tag":186,"props":515,"children":516},{"style":226},[517],{"type":156,"value":229},{"type":151,"tag":186,"props":519,"children":520},{"style":216},[521],{"type":156,"value":234},{"type":151,"tag":186,"props":523,"children":524},{"style":216},[525],{"type":156,"value":239},{"type":151,"tag":186,"props":527,"children":528},{"class":188,"line":242},[529,533,537],{"type":151,"tag":186,"props":530,"children":531},{"style":226},[532],{"type":156,"value":408},{"type":151,"tag":186,"props":534,"children":535},{"style":216},[536],{"type":156,"value":234},{"type":151,"tag":186,"props":538,"children":539},{"style":216},[540],{"type":156,"value":239},{"type":151,"tag":186,"props":542,"children":543},{"class":188,"line":259},[544,548,552,556,561,566],{"type":151,"tag":186,"props":545,"children":546},{"style":226},[547],{"type":156,"value":265},{"type":151,"tag":186,"props":549,"children":550},{"style":216},[551],{"type":156,"value":234},{"type":151,"tag":186,"props":553,"children":554},{"style":216},[555],{"type":156,"value":274},{"type":151,"tag":186,"props":557,"children":558},{"style":277},[559],{"type":156,"value":560},"http://mydirectus-domain.com/assets",{"type":151,"tag":186,"props":562,"children":563},{"style":216},[564],{"type":156,"value":565},"'",{"type":151,"tag":186,"props":567,"children":568},{"style":216},[569],{"type":156,"value":570},",\n",{"type":151,"tag":186,"props":572,"children":573},{"class":188,"line":288},[574,579,583],{"type":151,"tag":186,"props":575,"children":576},{"style":226},[577],{"type":156,"value":578},"      modifiers",{"type":151,"tag":186,"props":580,"children":581},{"style":216},[582],{"type":156,"value":234},{"type":151,"tag":186,"props":584,"children":585},{"style":216},[586],{"type":156,"value":239},{"type":151,"tag":186,"props":588,"children":589},{"class":188,"line":297},[590,595,599,603,608,612],{"type":151,"tag":186,"props":591,"children":592},{"style":226},[593],{"type":156,"value":594},"        withoutEnlargement",{"type":151,"tag":186,"props":596,"children":597},{"style":216},[598],{"type":156,"value":234},{"type":151,"tag":186,"props":600,"children":601},{"style":216},[602],{"type":156,"value":274},{"type":151,"tag":186,"props":604,"children":605},{"style":277},[606],{"type":156,"value":607},"true",{"type":151,"tag":186,"props":609,"children":610},{"style":216},[611],{"type":156,"value":565},{"type":151,"tag":186,"props":613,"children":614},{"style":216},[615],{"type":156,"value":570},{"type":151,"tag":186,"props":617,"children":618},{"class":188,"line":306},[619,624,628,633,637,642,646,651,657,662,666,671,675,680,684],{"type":151,"tag":186,"props":620,"children":621},{"style":226},[622],{"type":156,"value":623},"        transforms",{"type":151,"tag":186,"props":625,"children":626},{"style":216},[627],{"type":156,"value":234},{"type":151,"tag":186,"props":629,"children":630},{"style":210},[631],{"type":156,"value":632}," [[",{"type":151,"tag":186,"props":634,"children":635},{"style":216},[636],{"type":156,"value":565},{"type":151,"tag":186,"props":638,"children":639},{"style":277},[640],{"type":156,"value":641},"blur",{"type":151,"tag":186,"props":643,"children":644},{"style":216},[645],{"type":156,"value":565},{"type":151,"tag":186,"props":647,"children":648},{"style":216},[649],{"type":156,"value":650},",",{"type":151,"tag":186,"props":652,"children":654},{"style":653},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[655],{"type":156,"value":656}," 4",{"type":151,"tag":186,"props":658,"children":659},{"style":210},[660],{"type":156,"value":661},"]",{"type":151,"tag":186,"props":663,"children":664},{"style":216},[665],{"type":156,"value":650},{"type":151,"tag":186,"props":667,"children":668},{"style":210},[669],{"type":156,"value":670}," [",{"type":151,"tag":186,"props":672,"children":673},{"style":216},[674],{"type":156,"value":565},{"type":151,"tag":186,"props":676,"children":677},{"style":277},[678],{"type":156,"value":679},"negate",{"type":151,"tag":186,"props":681,"children":682},{"style":216},[683],{"type":156,"value":565},{"type":151,"tag":186,"props":685,"children":686},{"style":210},[687],{"type":156,"value":688},"]]\n",{"type":151,"tag":186,"props":690,"children":691},{"class":188,"line":466},[692],{"type":151,"tag":186,"props":693,"children":694},{"style":216},[695],{"type":156,"value":696},"      }\n",{"type":151,"tag":186,"props":698,"children":700},{"class":188,"line":699},9,[701],{"type":151,"tag":186,"props":702,"children":703},{"style":216},[704],{"type":156,"value":294},{"type":151,"tag":186,"props":706,"children":708},{"class":188,"line":707},10,[709],{"type":151,"tag":186,"props":710,"children":711},{"style":216},[712],{"type":156,"value":303},{"type":151,"tag":186,"props":714,"children":716},{"class":188,"line":715},11,[717,721],{"type":151,"tag":186,"props":718,"children":719},{"style":216},[720],{"type":156,"value":312},{"type":151,"tag":186,"props":722,"children":723},{"style":210},[724],{"type":156,"value":317},{"type":151,"tag":726,"props":727,"children":729},"h2",{"id":728},"modifiers",[730],{"type":156,"value":731},"Modifiers",{"type":151,"tag":152,"props":733,"children":734},{},[735,737,744],{"type":156,"value":736},"All the default modifiers from ",{"type":151,"tag":159,"props":738,"children":741},{"href":739,"rel":740},"https://docs.directus.io/reference/files.html#requesting-a-thumbnail",[163],[742],{"type":156,"value":743},"Directus documentation",{"type":156,"value":745}," are available.",{"type":151,"tag":174,"props":747,"children":751},{"className":748,"code":749,"language":750,"meta":139,"style":139},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CNuxtImg\n  provider=\"directus\"\n  src=\"ad514db1-eb90-4523-8183-46781437e7ee\"\n  height=\"512\"\n  fit=\"inside\"\n  quality=\"20\"\n  :modifiers=\"{ withoutEnlargement: 'true' }\"\n/>\n","vue",[752],{"type":151,"tag":182,"props":753,"children":754},{"__ignoreMap":139},[755,768,797,822,847,872,897,952],{"type":151,"tag":186,"props":756,"children":757},{"class":188,"line":189},[758,763],{"type":151,"tag":186,"props":759,"children":760},{"style":216},[761],{"type":156,"value":762},"\u003C",{"type":151,"tag":186,"props":764,"children":765},{"style":226},[766],{"type":156,"value":767},"NuxtImg\n",{"type":151,"tag":186,"props":769,"children":770},{"class":188,"line":222},[771,777,782,787,792],{"type":151,"tag":186,"props":772,"children":774},{"style":773},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[775],{"type":156,"value":776},"  provider",{"type":151,"tag":186,"props":778,"children":779},{"style":216},[780],{"type":156,"value":781},"=",{"type":151,"tag":186,"props":783,"children":784},{"style":216},[785],{"type":156,"value":786},"\"",{"type":151,"tag":186,"props":788,"children":789},{"style":277},[790],{"type":156,"value":791},"directus",{"type":151,"tag":186,"props":793,"children":794},{"style":216},[795],{"type":156,"value":796},"\"\n",{"type":151,"tag":186,"props":798,"children":799},{"class":188,"line":242},[800,805,809,813,818],{"type":151,"tag":186,"props":801,"children":802},{"style":773},[803],{"type":156,"value":804},"  src",{"type":151,"tag":186,"props":806,"children":807},{"style":216},[808],{"type":156,"value":781},{"type":151,"tag":186,"props":810,"children":811},{"style":216},[812],{"type":156,"value":786},{"type":151,"tag":186,"props":814,"children":815},{"style":277},[816],{"type":156,"value":817},"ad514db1-eb90-4523-8183-46781437e7ee",{"type":151,"tag":186,"props":819,"children":820},{"style":216},[821],{"type":156,"value":796},{"type":151,"tag":186,"props":823,"children":824},{"class":188,"line":259},[825,830,834,838,843],{"type":151,"tag":186,"props":826,"children":827},{"style":773},[828],{"type":156,"value":829},"  height",{"type":151,"tag":186,"props":831,"children":832},{"style":216},[833],{"type":156,"value":781},{"type":151,"tag":186,"props":835,"children":836},{"style":216},[837],{"type":156,"value":786},{"type":151,"tag":186,"props":839,"children":840},{"style":277},[841],{"type":156,"value":842},"512",{"type":151,"tag":186,"props":844,"children":845},{"style":216},[846],{"type":156,"value":796},{"type":151,"tag":186,"props":848,"children":849},{"class":188,"line":288},[850,855,859,863,868],{"type":151,"tag":186,"props":851,"children":852},{"style":773},[853],{"type":156,"value":854},"  fit",{"type":151,"tag":186,"props":856,"children":857},{"style":216},[858],{"type":156,"value":781},{"type":151,"tag":186,"props":860,"children":861},{"style":216},[862],{"type":156,"value":786},{"type":151,"tag":186,"props":864,"children":865},{"style":277},[866],{"type":156,"value":867},"inside",{"type":151,"tag":186,"props":869,"children":870},{"style":216},[871],{"type":156,"value":796},{"type":151,"tag":186,"props":873,"children":874},{"class":188,"line":297},[875,880,884,888,893],{"type":151,"tag":186,"props":876,"children":877},{"style":773},[878],{"type":156,"value":879},"  quality",{"type":151,"tag":186,"props":881,"children":882},{"style":216},[883],{"type":156,"value":781},{"type":151,"tag":186,"props":885,"children":886},{"style":216},[887],{"type":156,"value":786},{"type":151,"tag":186,"props":889,"children":890},{"style":277},[891],{"type":156,"value":892},"20",{"type":151,"tag":186,"props":894,"children":895},{"style":216},[896],{"type":156,"value":796},{"type":151,"tag":186,"props":898,"children":899},{"class":188,"line":306},[900,905,909,913,917,922,927,931,935,939,943,948],{"type":151,"tag":186,"props":901,"children":902},{"style":216},[903],{"type":156,"value":904},"  :",{"type":151,"tag":186,"props":906,"children":907},{"style":773},[908],{"type":156,"value":728},{"type":151,"tag":186,"props":910,"children":911},{"style":216},[912],{"type":156,"value":781},{"type":151,"tag":186,"props":914,"children":915},{"style":216},[916],{"type":156,"value":786},{"type":151,"tag":186,"props":918,"children":919},{"style":216},[920],{"type":156,"value":921},"{",{"type":151,"tag":186,"props":923,"children":924},{"style":226},[925],{"type":156,"value":926}," withoutEnlargement",{"type":151,"tag":186,"props":928,"children":929},{"style":216},[930],{"type":156,"value":234},{"type":151,"tag":186,"props":932,"children":933},{"style":216},[934],{"type":156,"value":274},{"type":151,"tag":186,"props":936,"children":937},{"style":277},[938],{"type":156,"value":607},{"type":151,"tag":186,"props":940,"children":941},{"style":216},[942],{"type":156,"value":565},{"type":151,"tag":186,"props":944,"children":945},{"style":216},[946],{"type":156,"value":947}," }",{"type":151,"tag":186,"props":949,"children":950},{"style":216},[951],{"type":156,"value":796},{"type":151,"tag":186,"props":953,"children":954},{"class":188,"line":466},[955],{"type":151,"tag":186,"props":956,"children":957},{"style":210},[958],{"type":156,"value":959},"/>\n",{"type":151,"tag":152,"props":961,"children":962},{},[963,965,972,974,980,982,987],{"type":156,"value":964},"Since Directus exposes the full ",{"type":151,"tag":159,"props":966,"children":969},{"href":967,"rel":968},"https://sharp.pixelplumbing.com/api-operation",[163],[970],{"type":156,"value":971},"sharp API",{"type":156,"value":973}," through the ",{"type":151,"tag":182,"props":975,"children":977},{"className":976},[],[978],{"type":156,"value":979},"transforms",{"type":156,"value":981}," parameter, we can use it inside our ",{"type":151,"tag":182,"props":983,"children":985},{"className":984},[],[986],{"type":156,"value":728},{"type":156,"value":988}," prop:",{"type":151,"tag":174,"props":990,"children":992},{"className":748,"code":991,"language":750,"meta":139,"style":139},"\u003CNuxtImg\n  provider=\"directus\"\n  src=\"ad514db1-eb90-4523-8183-46781437e7ee\"\n  :modifiers=\"{\n    height: '512',\n    withoutEnlargement: 'true',\n    transforms: [['blur', 4], ['negate']]\n  }\"\n/>\n",[993],{"type":151,"tag":182,"props":994,"children":995},{"__ignoreMap":139},[996,1007,1030,1053,1076,1104,1132,1196,1208],{"type":151,"tag":186,"props":997,"children":998},{"class":188,"line":189},[999,1003],{"type":151,"tag":186,"props":1000,"children":1001},{"style":216},[1002],{"type":156,"value":762},{"type":151,"tag":186,"props":1004,"children":1005},{"style":226},[1006],{"type":156,"value":767},{"type":151,"tag":186,"props":1008,"children":1009},{"class":188,"line":222},[1010,1014,1018,1022,1026],{"type":151,"tag":186,"props":1011,"children":1012},{"style":773},[1013],{"type":156,"value":776},{"type":151,"tag":186,"props":1015,"children":1016},{"style":216},[1017],{"type":156,"value":781},{"type":151,"tag":186,"props":1019,"children":1020},{"style":216},[1021],{"type":156,"value":786},{"type":151,"tag":186,"props":1023,"children":1024},{"style":277},[1025],{"type":156,"value":791},{"type":151,"tag":186,"props":1027,"children":1028},{"style":216},[1029],{"type":156,"value":796},{"type":151,"tag":186,"props":1031,"children":1032},{"class":188,"line":242},[1033,1037,1041,1045,1049],{"type":151,"tag":186,"props":1034,"children":1035},{"style":773},[1036],{"type":156,"value":804},{"type":151,"tag":186,"props":1038,"children":1039},{"style":216},[1040],{"type":156,"value":781},{"type":151,"tag":186,"props":1042,"children":1043},{"style":216},[1044],{"type":156,"value":786},{"type":151,"tag":186,"props":1046,"children":1047},{"style":277},[1048],{"type":156,"value":817},{"type":151,"tag":186,"props":1050,"children":1051},{"style":216},[1052],{"type":156,"value":796},{"type":151,"tag":186,"props":1054,"children":1055},{"class":188,"line":259},[1056,1060,1064,1068,1072],{"type":151,"tag":186,"props":1057,"children":1058},{"style":216},[1059],{"type":156,"value":904},{"type":151,"tag":186,"props":1061,"children":1062},{"style":773},[1063],{"type":156,"value":728},{"type":151,"tag":186,"props":1065,"children":1066},{"style":216},[1067],{"type":156,"value":781},{"type":151,"tag":186,"props":1069,"children":1070},{"style":216},[1071],{"type":156,"value":786},{"type":151,"tag":186,"props":1073,"children":1074},{"style":216},[1075],{"type":156,"value":219},{"type":151,"tag":186,"props":1077,"children":1078},{"class":188,"line":288},[1079,1084,1088,1092,1096,1100],{"type":151,"tag":186,"props":1080,"children":1081},{"style":226},[1082],{"type":156,"value":1083},"    height",{"type":151,"tag":186,"props":1085,"children":1086},{"style":216},[1087],{"type":156,"value":234},{"type":151,"tag":186,"props":1089,"children":1090},{"style":216},[1091],{"type":156,"value":274},{"type":151,"tag":186,"props":1093,"children":1094},{"style":277},[1095],{"type":156,"value":842},{"type":151,"tag":186,"props":1097,"children":1098},{"style":216},[1099],{"type":156,"value":565},{"type":151,"tag":186,"props":1101,"children":1102},{"style":216},[1103],{"type":156,"value":570},{"type":151,"tag":186,"props":1105,"children":1106},{"class":188,"line":297},[1107,1112,1116,1120,1124,1128],{"type":151,"tag":186,"props":1108,"children":1109},{"style":226},[1110],{"type":156,"value":1111},"    withoutEnlargement",{"type":151,"tag":186,"props":1113,"children":1114},{"style":216},[1115],{"type":156,"value":234},{"type":151,"tag":186,"props":1117,"children":1118},{"style":216},[1119],{"type":156,"value":274},{"type":151,"tag":186,"props":1121,"children":1122},{"style":277},[1123],{"type":156,"value":607},{"type":151,"tag":186,"props":1125,"children":1126},{"style":216},[1127],{"type":156,"value":565},{"type":151,"tag":186,"props":1129,"children":1130},{"style":216},[1131],{"type":156,"value":570},{"type":151,"tag":186,"props":1133,"children":1134},{"class":188,"line":306},[1135,1140,1144,1148,1152,1156,1160,1164,1168,1172,1176,1180,1184,1188,1192],{"type":151,"tag":186,"props":1136,"children":1137},{"style":226},[1138],{"type":156,"value":1139},"    transforms",{"type":151,"tag":186,"props":1141,"children":1142},{"style":216},[1143],{"type":156,"value":234},{"type":151,"tag":186,"props":1145,"children":1146},{"style":210},[1147],{"type":156,"value":632},{"type":151,"tag":186,"props":1149,"children":1150},{"style":216},[1151],{"type":156,"value":565},{"type":151,"tag":186,"props":1153,"children":1154},{"style":277},[1155],{"type":156,"value":641},{"type":151,"tag":186,"props":1157,"children":1158},{"style":216},[1159],{"type":156,"value":565},{"type":151,"tag":186,"props":1161,"children":1162},{"style":216},[1163],{"type":156,"value":650},{"type":151,"tag":186,"props":1165,"children":1166},{"style":653},[1167],{"type":156,"value":656},{"type":151,"tag":186,"props":1169,"children":1170},{"style":210},[1171],{"type":156,"value":661},{"type":151,"tag":186,"props":1173,"children":1174},{"style":216},[1175],{"type":156,"value":650},{"type":151,"tag":186,"props":1177,"children":1178},{"style":210},[1179],{"type":156,"value":670},{"type":151,"tag":186,"props":1181,"children":1182},{"style":216},[1183],{"type":156,"value":565},{"type":151,"tag":186,"props":1185,"children":1186},{"style":277},[1187],{"type":156,"value":679},{"type":151,"tag":186,"props":1189,"children":1190},{"style":216},[1191],{"type":156,"value":565},{"type":151,"tag":186,"props":1193,"children":1194},{"style":210},[1195],{"type":156,"value":688},{"type":151,"tag":186,"props":1197,"children":1198},{"class":188,"line":466},[1199,1204],{"type":151,"tag":186,"props":1200,"children":1201},{"style":216},[1202],{"type":156,"value":1203},"  }",{"type":151,"tag":186,"props":1205,"children":1206},{"style":216},[1207],{"type":156,"value":796},{"type":151,"tag":186,"props":1209,"children":1210},{"class":188,"line":699},[1211],{"type":151,"tag":186,"props":1212,"children":1213},{"style":210},[1214],{"type":156,"value":959},{"type":151,"tag":1216,"props":1217,"children":1218},"callout",{},[1219],{"type":151,"tag":152,"props":1220,"children":1221},{},[1222,1224,1229,1231,1237,1239,1250,1252,1258],{"type":156,"value":1223},"Note that the ",{"type":151,"tag":182,"props":1225,"children":1227},{"className":1226},[],[1228],{"type":156,"value":979},{"type":156,"value":1230}," parameter, as stated in the ",{"type":151,"tag":159,"props":1232,"children":1235},{"href":1233,"rel":1234},"https://docs.directus.io/reference/files.html#advanced-transformations",[163],[1236],{"type":156,"value":743},{"type":156,"value":1238},", is basically a list of lists. This is to facilitate the use of those sharp functions, like ",{"type":151,"tag":159,"props":1240,"children":1243},{"href":1241,"rel":1242},"https://sharp.pixelplumbing.com/api-operation#normalise",[163],[1244],{"type":151,"tag":182,"props":1245,"children":1247},{"className":1246},[],[1248],{"type":156,"value":1249},"normalise",{"type":156,"value":1251},", that would need multiple values in input: ",{"type":151,"tag":182,"props":1253,"children":1255},{"className":1254},[],[1256],{"type":156,"value":1257},"transforms: [['normalise', 1, 99], ['blur', 4], ['negate']]",{"type":156,"value":1259},".",{"type":151,"tag":319,"props":1261,"children":1262},{},[1263],{"type":156,"value":323},{"title":139,"searchDepth":222,"depth":222,"links":1265},[1266],{"id":728,"depth":222,"text":731},"content:3.providers:directus.md","3.providers/directus.md","3.providers/directus",{"_path":68,"_dir":137,"_draft":138,"_partial":138,"_locale":139,"title":67,"description":1271,"links":1272,"body":1275,"_type":326,"_id":1414,"_source":328,"_file":1415,"_stem":1416,"_extension":331},"Nuxt Image with Filerobot integration.",[1273],{"label":143,"icon":144,"to":1274,"size":146},"https://github.com/nuxt/image/blob/main/src/runtime/providers/filerobot.ts",{"type":148,"children":1276,"toc":1412},[1277,1289,1293,1408],{"type":151,"tag":152,"props":1278,"children":1279},{},[1280,1282,1288],{"type":156,"value":1281},"Integration between Scaleflex ",{"type":151,"tag":159,"props":1283,"children":1286},{"href":1284,"rel":1285},"https://www.scaleflex.com/digital-asset-management-filerobot",[163],[1287],{"type":156,"value":67},{"type":156,"value":167},{"type":151,"tag":152,"props":1290,"children":1291},{},[1292],{"type":156,"value":355},{"type":151,"tag":174,"props":1294,"children":1296},{"className":176,"code":1295,"filename":178,"language":179,"meta":139,"style":139},"export default defineNuxtConfig({\n  image: {\n    filerobot: {\n      baseURL: 'https://\u003Cslug>.filerobot.com/',\n    },\n  }\n})\n",[1297],{"type":151,"tag":182,"props":1298,"children":1299},{"__ignoreMap":139},[1300,1323,1338,1354,1382,1390,1397],{"type":151,"tag":186,"props":1301,"children":1302},{"class":188,"line":189},[1303,1307,1311,1315,1319],{"type":151,"tag":186,"props":1304,"children":1305},{"style":193},[1306],{"type":156,"value":196},{"type":151,"tag":186,"props":1308,"children":1309},{"style":193},[1310],{"type":156,"value":201},{"type":151,"tag":186,"props":1312,"children":1313},{"style":204},[1314],{"type":156,"value":207},{"type":151,"tag":186,"props":1316,"children":1317},{"style":210},[1318],{"type":156,"value":213},{"type":151,"tag":186,"props":1320,"children":1321},{"style":216},[1322],{"type":156,"value":219},{"type":151,"tag":186,"props":1324,"children":1325},{"class":188,"line":222},[1326,1330,1334],{"type":151,"tag":186,"props":1327,"children":1328},{"style":226},[1329],{"type":156,"value":229},{"type":151,"tag":186,"props":1331,"children":1332},{"style":216},[1333],{"type":156,"value":234},{"type":151,"tag":186,"props":1335,"children":1336},{"style":216},[1337],{"type":156,"value":239},{"type":151,"tag":186,"props":1339,"children":1340},{"class":188,"line":242},[1341,1346,1350],{"type":151,"tag":186,"props":1342,"children":1343},{"style":226},[1344],{"type":156,"value":1345},"    filerobot",{"type":151,"tag":186,"props":1347,"children":1348},{"style":216},[1349],{"type":156,"value":234},{"type":151,"tag":186,"props":1351,"children":1352},{"style":216},[1353],{"type":156,"value":239},{"type":151,"tag":186,"props":1355,"children":1356},{"class":188,"line":259},[1357,1361,1365,1369,1374,1378],{"type":151,"tag":186,"props":1358,"children":1359},{"style":226},[1360],{"type":156,"value":265},{"type":151,"tag":186,"props":1362,"children":1363},{"style":216},[1364],{"type":156,"value":234},{"type":151,"tag":186,"props":1366,"children":1367},{"style":216},[1368],{"type":156,"value":274},{"type":151,"tag":186,"props":1370,"children":1371},{"style":277},[1372],{"type":156,"value":1373},"https://\u003Cslug>.filerobot.com/",{"type":151,"tag":186,"props":1375,"children":1376},{"style":216},[1377],{"type":156,"value":565},{"type":151,"tag":186,"props":1379,"children":1380},{"style":216},[1381],{"type":156,"value":570},{"type":151,"tag":186,"props":1383,"children":1384},{"class":188,"line":288},[1385],{"type":151,"tag":186,"props":1386,"children":1387},{"style":216},[1388],{"type":156,"value":1389},"    },\n",{"type":151,"tag":186,"props":1391,"children":1392},{"class":188,"line":297},[1393],{"type":151,"tag":186,"props":1394,"children":1395},{"style":216},[1396],{"type":156,"value":303},{"type":151,"tag":186,"props":1398,"children":1399},{"class":188,"line":306},[1400,1404],{"type":151,"tag":186,"props":1401,"children":1402},{"style":216},[1403],{"type":156,"value":312},{"type":151,"tag":186,"props":1405,"children":1406},{"style":210},[1407],{"type":156,"value":317},{"type":151,"tag":319,"props":1409,"children":1410},{},[1411],{"type":156,"value":323},{"title":139,"searchDepth":222,"depth":222,"links":1413},[],"content:3.providers:filerobot.md","3.providers/filerobot.md","3.providers/filerobot",1743508156672]