[{"data":1,"prerenderedAt":2683},["ShallowReactive",2],{"navigation_docs":3,"-docs-core-content-modeling-fields-image":478,"-docs-core-content-modeling-fields-image-surround":2448,"mdc--x3lu8g-key":2453,"mdc--5ugjsa-key":2465,"mdc--evu2iu-key":2474,"mdc-rlfo-key":2483,"mdc--dmjfhf-key":2500,"mdc--sz1000-key":2516,"mdc--z504j2-key":2532,"mdc-of2q3a-key":2548,"mdc--vl48ac-key":2557,"mdc--j75b70-key":2572,"mdc--rb8zmg-key":2593,"mdc-od5rku-key":2607,"mdc--bg6odx-key":2616,"mdc-qrsd8t-key":2625,"mdc--z84m0w-key":2641,"mdc-7oq4f5-key":2650,"mdc--ptzd4t-key":2667},[4,352,446],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Docs",false,"\u002Fdocs\u002Fcore","docs\u002F1.core",[10,35,141,174,195,212,242,318],{"title":11,"icon":6,"path":12,"stem":13,"children":14,"page":6},"Getting Started","\u002Fdocs\u002Fcore\u002Fgetting-started","docs\u002F1.core\u002F1.getting-started",[15,19,23,27,31],{"title":16,"path":17,"stem":18},"Introduction","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fintroduction","docs\u002F1.core\u002F1.getting-started\u002F1.introduction",{"title":20,"path":21,"stem":22},"Quick Start","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fquick-start","docs\u002F1.core\u002F1.getting-started\u002F2.quick-start",{"title":24,"path":25,"stem":26},"Add to an Existing Site","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fexisting-site","docs\u002F1.core\u002F1.getting-started\u002F3.existing-site",{"title":28,"path":29,"stem":30},"Configuration","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fconfiguration","docs\u002F1.core\u002F1.getting-started\u002F4.configuration",{"title":32,"path":33,"stem":34},"How Tenon works","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fhow-tenon-works","docs\u002F1.core\u002F1.getting-started\u002F5.how-tenon-works",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Content Modeling","\u002Fdocs\u002Fcore\u002Fcontent-modeling","docs\u002F1.core\u002F2.content-modeling",[40,44,111,115,119],{"title":41,"path":42,"stem":43},"Collections and Globals","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fcollections-and-globals","docs\u002F1.core\u002F2.content-modeling\u002F1.collections-and-globals",{"title":45,"icon":6,"path":46,"stem":47,"children":48},"Fields","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002Findex",[49,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Array","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Farray","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F01.array",{"title":56,"path":57,"stem":58},"Blocks","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fblocks","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F02.blocks",{"title":60,"path":61,"stem":62},"Boolean","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fboolean","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F03.boolean",{"title":64,"path":65,"stem":66},"Date","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fdate","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F04.date",{"title":68,"path":69,"stem":70},"File","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ffile","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F05.file",{"title":72,"path":73,"stem":74},"Group","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fgroup","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F06.group",{"title":76,"path":77,"stem":78},"Image","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fimage","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F07.image",{"title":80,"path":81,"stem":82},"Link","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Flink","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F08.link",{"title":84,"path":85,"stem":86},"Number","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fnumber","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F09.number",{"title":88,"path":89,"stem":90},"Relation","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frelation","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F10.relation",{"title":92,"path":93,"stem":94},"Rich text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frich-text","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F11.rich-text",{"title":96,"path":97,"stem":98},"Select","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fselect","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F12.select",{"title":100,"path":101,"stem":102},"Size","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fsize","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F13.size",{"title":104,"path":105,"stem":106},"Slug","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fslug","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F14.slug",{"title":108,"path":109,"stem":110},"Text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ftext","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F15.text",{"title":112,"path":113,"stem":114},"Relations","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Frelations","docs\u002F1.core\u002F2.content-modeling\u002F3.relations",{"title":116,"path":117,"stem":118},"Media","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fmedia","docs\u002F1.core\u002F2.content-modeling\u002F4.media",{"title":120,"icon":6,"path":121,"stem":122,"children":123},"Presets","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002Findex",[124,125,129,133,137],{"title":50,"path":121,"stem":122},{"title":126,"path":127,"stem":128},"Menu","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fmenu","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F1.menu",{"title":130,"path":131,"stem":132},"Pages","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fpages","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F2.pages",{"title":134,"path":135,"stem":136},"Settings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fsettings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F3.settings",{"title":138,"path":139,"stem":140},"Strings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fstrings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F4.strings",{"title":142,"icon":6,"path":143,"stem":144,"children":145,"page":6},"Working with Content","\u002Fdocs\u002Fcore\u002Fworking-with-content","docs\u002F1.core\u002F3.working-with-content",[146,150,154,158,162,166,170],{"title":147,"path":148,"stem":149},"Reading","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Freading","docs\u002F1.core\u002F3.working-with-content\u002F1.reading",{"title":151,"path":152,"stem":153},"Writing and Drafts","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fwriting","docs\u002F1.core\u002F3.working-with-content\u002F2.writing",{"title":155,"path":156,"stem":157},"Scheduled publishing","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fscheduled-publishing","docs\u002F1.core\u002F3.working-with-content\u002F3.scheduled-publishing",{"title":159,"path":160,"stem":161},"HTTP API and Client","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhttp-api-and-client","docs\u002F1.core\u002F3.working-with-content\u002F4.http-api-and-client",{"title":163,"path":164,"stem":165},"Headless","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fheadless","docs\u002F1.core\u002F3.working-with-content\u002F5.headless",{"title":167,"path":168,"stem":169},"Localization","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Flocalization","docs\u002F1.core\u002F3.working-with-content\u002F6.localization",{"title":171,"path":172,"stem":173},"Hooks","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhooks","docs\u002F1.core\u002F3.working-with-content\u002F7.hooks",{"title":175,"icon":6,"path":176,"stem":177,"children":178,"page":6},"Building Your Site","\u002Fdocs\u002Fcore\u002Fbuilding-your-site","docs\u002F1.core\u002F4.building-your-site",[179,183,187,191],{"title":180,"path":181,"stem":182},"Pages and SEO","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fpages-and-seo","docs\u002F1.core\u002F4.building-your-site\u002F1.pages-and-seo",{"title":184,"path":185,"stem":186},"Components","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fcomponents","docs\u002F1.core\u002F4.building-your-site\u002F2.components",{"title":188,"path":189,"stem":190},"Menus","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fmenus","docs\u002F1.core\u002F4.building-your-site\u002F3.menus",{"title":192,"path":193,"stem":194},"Live Preview","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Flive-preview","docs\u002F1.core\u002F4.building-your-site\u002F4.live-preview",{"title":196,"icon":6,"path":197,"stem":198,"children":199,"page":6},"Users and Access","\u002Fdocs\u002Fcore\u002Fusers-and-access","docs\u002F1.core\u002F5.users-and-access",[200,204,208],{"title":201,"path":202,"stem":203},"Authentication","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fauthentication","docs\u002F1.core\u002F5.users-and-access\u002F1.authentication",{"title":205,"path":206,"stem":207},"Access Control","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Faccess-control","docs\u002F1.core\u002F5.users-and-access\u002F2.access-control",{"title":209,"path":210,"stem":211},"API Keys","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fapi-keys","docs\u002F1.core\u002F5.users-and-access\u002F3.api-keys",{"title":213,"icon":6,"path":214,"stem":215,"children":216},"Customization","\u002Fdocs\u002Fcore\u002Fcustomization","docs\u002F1.core\u002F6.customization\u002Findex",[217,218,222,226,230,234,238],{"title":50,"path":214,"stem":215},{"title":219,"path":220,"stem":221},"Admin","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fadmin","docs\u002F1.core\u002F6.customization\u002F1.admin",{"title":223,"path":224,"stem":225},"Custom Fields","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-fields","docs\u002F1.core\u002F6.customization\u002F2.custom-fields",{"title":227,"path":228,"stem":229},"Custom Pages and Actions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-pages-and-actions","docs\u002F1.core\u002F6.customization\u002F3.custom-pages-and-actions",{"title":231,"path":232,"stem":233},"Styles and UI Libraries","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fstyles-and-ui-libraries","docs\u002F1.core\u002F6.customization\u002F4.styles-and-ui-libraries",{"title":235,"path":236,"stem":237},"Rich Text Extensions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Frich-text-extensions","docs\u002F1.core\u002F6.customization\u002F5.rich-text-extensions",{"title":239,"path":240,"stem":241},"Plugins","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fplugins","docs\u002F1.core\u002F6.customization\u002F6.plugins",{"title":243,"icon":6,"path":244,"stem":245,"children":246},"Operations","\u002Fdocs\u002Fcore\u002Foperations","docs\u002F1.core\u002F7.operations\u002Findex",[247,248,266,288,306,310,314],{"title":50,"path":244,"stem":245},{"title":249,"icon":6,"path":250,"stem":251,"children":252},"Email","\u002Fdocs\u002Fcore\u002Foperations\u002Femail","docs\u002F1.core\u002F7.operations\u002F1.email\u002Findex",[253,254,258,262],{"title":50,"path":250,"stem":251},{"title":255,"path":256,"stem":257},"SMTP","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fsmtp","docs\u002F1.core\u002F7.operations\u002F1.email\u002F1.smtp",{"title":259,"path":260,"stem":261},"Cloudflare","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcloudflare","docs\u002F1.core\u002F7.operations\u002F1.email\u002F2.cloudflare",{"title":263,"path":264,"stem":265},"Custom adapter","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcustom-adapter","docs\u002F1.core\u002F7.operations\u002F1.email\u002F3.custom-adapter",{"title":267,"icon":6,"path":268,"stem":269,"children":270},"Jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002Findex",[271,272,276,280,284],{"title":50,"path":268,"stem":269},{"title":273,"path":274,"stem":275},"Queue jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fqueue-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F1.queue-jobs",{"title":277,"path":278,"stem":279},"Recurring jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Frecurring-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F2.recurring-jobs",{"title":281,"path":282,"stem":283},"The clock","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fclock","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F3.clock",{"title":285,"path":286,"stem":287},"Manage jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fmanage-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F4.manage-jobs",{"title":289,"icon":6,"path":290,"stem":291,"children":292},"Webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002Findex",[293,294,298,302],{"title":50,"path":290,"stem":291},{"title":295,"path":296,"stem":297},"Send webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Fsend-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F1.send-webhooks",{"title":299,"path":300,"stem":301},"Receive webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Freceive-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F2.receive-webhooks",{"title":303,"path":304,"stem":305},"Rebuild on publish","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Frebuild-on-publish","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F3.rebuild-on-publish",{"title":307,"path":308,"stem":309},"Backup and Restore","\u002Fdocs\u002Fcore\u002Foperations\u002Fbackup-and-restore","docs\u002F1.core\u002F7.operations\u002F4.backup-and-restore",{"title":311,"path":312,"stem":313},"Lifecycle Hooks","\u002Fdocs\u002Fcore\u002Foperations\u002Flifecycle-hooks","docs\u002F1.core\u002F7.operations\u002F5.lifecycle-hooks",{"title":315,"path":316,"stem":317},"Upgrades and Schema Changes","\u002Fdocs\u002Fcore\u002Foperations\u002Fupgrades-and-schema-changes","docs\u002F1.core\u002F7.operations\u002F6.upgrades-and-schema-changes",{"title":319,"icon":6,"path":320,"stem":321,"children":322,"page":6},"Reference","\u002Fdocs\u002Fcore\u002Freference","docs\u002F1.core\u002F8.reference",[323,326,344,348],{"title":28,"path":324,"stem":325},"\u002Fdocs\u002Fcore\u002Freference\u002Fconfiguration","docs\u002F1.core\u002F8.reference\u002F1.configuration",{"title":327,"icon":6,"path":328,"stem":329,"children":330},"API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi","docs\u002F1.core\u002F8.reference\u002F2.api\u002Findex",[331,332,336,340],{"title":50,"path":328,"stem":329},{"title":333,"path":334,"stem":335},"Local API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Flocal-api","docs\u002F1.core\u002F8.reference\u002F2.api\u002F1.local-api",{"title":337,"path":338,"stem":339},"Client","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fclient","docs\u002F1.core\u002F8.reference\u002F2.api\u002F2.client",{"title":341,"path":342,"stem":343},"HTTP routes","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fhttp-routes","docs\u002F1.core\u002F8.reference\u002F2.api\u002F3.http-routes",{"title":345,"path":346,"stem":347},"Errors and types","\u002Fdocs\u002Fcore\u002Freference\u002Ferrors-and-types","docs\u002F1.core\u002F8.reference\u002F3.errors-and-types",{"title":349,"path":350,"stem":351},"Package exports","\u002Fdocs\u002Fcore\u002Freference\u002Fpackage-exports","docs\u002F1.core\u002F8.reference\u002F4.package-exports",{"title":353,"icon":6,"path":354,"stem":355,"children":356,"page":6},"Guide","\u002Fdocs\u002Fguide","docs\u002F2.guide",[357,383,400,417],{"title":358,"icon":6,"path":359,"stem":360,"children":361},"Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks","docs\u002F2.guide\u002F1.frameworks\u002Findex",[362,363,367,371,375,379],{"title":50,"path":359,"stem":360},{"title":364,"path":365,"stem":366},"Astro","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fastro","docs\u002F2.guide\u002F1.frameworks\u002F1.astro",{"title":368,"path":369,"stem":370},"Nuxt","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fnuxt","docs\u002F2.guide\u002F1.frameworks\u002F2.nuxt",{"title":372,"path":373,"stem":374},"TanStack Start","\u002Fdocs\u002Fguide\u002Fframeworks\u002Ftanstack-start","docs\u002F2.guide\u002F1.frameworks\u002F3.tanstack-start",{"title":376,"path":377,"stem":378},"Standalone","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fstandalone","docs\u002F2.guide\u002F1.frameworks\u002F4.standalone",{"title":380,"path":381,"stem":382},"Other Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fother-frameworks","docs\u002F2.guide\u002F1.frameworks\u002F5.other-frameworks",{"title":384,"icon":6,"path":385,"stem":386,"children":387},"Deployment","\u002Fdocs\u002Fguide\u002Fdeployment","docs\u002F2.guide\u002F2.deployment\u002Findex",[388,389,393,397],{"title":50,"path":385,"stem":386},{"title":390,"path":391,"stem":392},"Node","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fnode","docs\u002F2.guide\u002F2.deployment\u002F1.node",{"title":394,"path":395,"stem":396},"Vercel","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fvercel","docs\u002F2.guide\u002F2.deployment\u002F2.vercel",{"title":259,"path":398,"stem":399},"\u002Fdocs\u002Fguide\u002Fdeployment\u002Fcloudflare","docs\u002F2.guide\u002F2.deployment\u002F3.cloudflare",{"title":401,"icon":6,"path":402,"stem":403,"children":404,"page":6},"Databases and Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage","docs\u002F2.guide\u002F3.databases-and-storage",[405,409,413],{"title":406,"path":407,"stem":408},"Databases","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fdatabases","docs\u002F2.guide\u002F3.databases-and-storage\u002F1.databases",{"title":410,"path":411,"stem":412},"Media Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fmedia-storage","docs\u002F2.guide\u002F3.databases-and-storage\u002F2.media-storage",{"title":414,"path":415,"stem":416},"Image Providers","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers","docs\u002F2.guide\u002F3.databases-and-storage\u002F3.image-providers",{"title":418,"icon":6,"path":419,"stem":420,"children":421,"page":6},"Recipes","\u002Fdocs\u002Fguide\u002Frecipes","docs\u002F2.guide\u002F4.recipes",[422,426,430,434,438,442],{"title":423,"path":424,"stem":425},"Seed Content","\u002Fdocs\u002Fguide\u002Frecipes\u002Fseed-content","docs\u002F2.guide\u002F4.recipes\u002F1.seed-content",{"title":427,"path":428,"stem":429},"Tracking and Consent","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftracking-and-consent","docs\u002F2.guide\u002F4.recipes\u002F2.tracking-and-consent",{"title":431,"path":432,"stem":433},"Build a Custom Field","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-custom-field","docs\u002F2.guide\u002F4.recipes\u002F3.build-a-custom-field",{"title":435,"path":436,"stem":437},"Write a Plugin","\u002Fdocs\u002Fguide\u002Frecipes\u002Fwrite-a-plugin","docs\u002F2.guide\u002F4.recipes\u002F4.write-a-plugin",{"title":439,"path":440,"stem":441},"Build a Headless Site with Next.js","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-headless-site-with-nextjs","docs\u002F2.guide\u002F4.recipes\u002F5.build-a-headless-site-with-nextjs",{"title":443,"path":444,"stem":445},"Troubleshooting","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftroubleshooting","docs\u002F2.guide\u002F4.recipes\u002F6.troubleshooting",{"title":447,"icon":6,"path":448,"stem":449,"children":450,"page":6},"CLI","\u002Fdocs\u002Fcli","docs\u002F3.cli",[451,454,458,462,466,470,474],{"title":50,"path":452,"stem":453},"\u002Fdocs\u002Fcli\u002Foverview","docs\u002F3.cli\u002F1.overview",{"title":455,"path":456,"stem":457},"create-tenoncms","\u002Fdocs\u002Fcli\u002Fcreate-tenoncms","docs\u002F3.cli\u002F2.create-tenoncms",{"title":459,"path":460,"stem":461},"tenon backup","\u002Fdocs\u002Fcli\u002Fbackup","docs\u002F3.cli\u002F3.backup",{"title":463,"path":464,"stem":465},"tenon users","\u002Fdocs\u002Fcli\u002Fusers","docs\u002F3.cli\u002F4.users",{"title":467,"path":468,"stem":469},"tenon media","\u002Fdocs\u002Fcli\u002Fmedia","docs\u002F3.cli\u002F5.media",{"title":471,"path":472,"stem":473},"tenon upgrade","\u002Fdocs\u002Fcli\u002Fupgrade","docs\u002F3.cli\u002F6.upgrade",{"title":475,"path":476,"stem":477},"tenon login","\u002Fdocs\u002Fcli\u002Flogin","docs\u002F3.cli\u002F7.login",{"id":479,"title":76,"body":480,"description":2442,"extension":2443,"links":2444,"meta":2445,"navigation":1022,"path":77,"seo":2446,"stem":78,"__hash__":2447},"docs\u002Fdocs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F07.image.md",{"type":481,"value":482,"toc":2432},"minimark",[483,504,507,512,713,719,922,947,952,972,1411,1425,1429,1435,1491,1545,1549,1560,1726,1733,1737,1752,1757,2132,2135,2290,2324,2328,2339,2343,2425,2428],[484,485,486,487,491,492,496,497,503],"p",{},"An ",[488,489,490],"code",{},"image"," field holds an image from the ",[493,494,495],"a",{"href":117},"media library",". For PDFs and other files, use a ",[493,498,499,502],{"href":69},[488,500,501],{},"file"," field",".",[505,506],"field-preview",{"name":490},[508,509,511],"h2",{"id":510},"example","Example",[513,514,520],"pre",{"className":515,"code":516,"filename":517,"language":518,"meta":519,"style":519},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export const posts = defineCollection({\n  fields: {\n    hero: { type: \"image\", required: true },\n    gallery: { type: \"image\", many: true },\n    avatar: { type: \"image\", maxSize: 2 * 1024 ** 2, folder: \"avatars\" },\n  },\n});\n","cms\u002Fcollections\u002Fposts.ts","ts","",[488,521,522,553,566,606,637,695,701],{"__ignoreMap":519},[523,524,527,531,535,539,543,547,550],"span",{"class":525,"line":526},"line",1,[523,528,530],{"class":529},"s7zQu","export",[523,532,534],{"class":533},"spNyl"," const",[523,536,538],{"class":537},"sTEyZ"," posts ",[523,540,542],{"class":541},"sMK4o","=",[523,544,546],{"class":545},"s2Zo4"," defineCollection",[523,548,549],{"class":537},"(",[523,551,552],{"class":541},"{\n",[523,554,556,560,563],{"class":525,"line":555},2,[523,557,559],{"class":558},"swJcz","  fields",[523,561,562],{"class":541},":",[523,564,565],{"class":541}," {\n",[523,567,569,572,574,577,580,582,585,588,591,594,597,599,603],{"class":525,"line":568},3,[523,570,571],{"class":558},"    hero",[523,573,562],{"class":541},[523,575,576],{"class":541}," {",[523,578,579],{"class":558}," type",[523,581,562],{"class":541},[523,583,584],{"class":541}," \"",[523,586,490],{"class":587},"sfazB",[523,589,590],{"class":541},"\"",[523,592,593],{"class":541},",",[523,595,596],{"class":558}," required",[523,598,562],{"class":541},[523,600,602],{"class":601},"sfNiH"," true",[523,604,605],{"class":541}," },\n",[523,607,609,612,614,616,618,620,622,624,626,628,631,633,635],{"class":525,"line":608},4,[523,610,611],{"class":558},"    gallery",[523,613,562],{"class":541},[523,615,576],{"class":541},[523,617,579],{"class":558},[523,619,562],{"class":541},[523,621,584],{"class":541},[523,623,490],{"class":587},[523,625,590],{"class":541},[523,627,593],{"class":541},[523,629,630],{"class":558}," many",[523,632,562],{"class":541},[523,634,602],{"class":601},[523,636,605],{"class":541},[523,638,640,643,645,647,649,651,653,655,657,659,662,664,668,671,674,677,679,681,684,686,688,691,693],{"class":525,"line":639},5,[523,641,642],{"class":558},"    avatar",[523,644,562],{"class":541},[523,646,576],{"class":541},[523,648,579],{"class":558},[523,650,562],{"class":541},[523,652,584],{"class":541},[523,654,490],{"class":587},[523,656,590],{"class":541},[523,658,593],{"class":541},[523,660,661],{"class":558}," maxSize",[523,663,562],{"class":541},[523,665,667],{"class":666},"sbssI"," 2",[523,669,670],{"class":541}," *",[523,672,673],{"class":666}," 1024",[523,675,676],{"class":541}," **",[523,678,667],{"class":666},[523,680,593],{"class":541},[523,682,683],{"class":558}," folder",[523,685,562],{"class":541},[523,687,584],{"class":541},[523,689,690],{"class":587},"avatars",[523,692,590],{"class":541},[523,694,605],{"class":541},[523,696,698],{"class":525,"line":697},6,[523,699,700],{"class":541},"  },\n",[523,702,704,707,710],{"class":525,"line":703},7,[523,705,706],{"class":541},"}",[523,708,709],{"class":537},")",[523,711,712],{"class":541},";\n",[484,714,715,716,562],{},"A read loads the image, like a ",[493,717,718],{"href":89},"relation",[513,720,722],{"className":515,"code":721,"language":518,"meta":519,"style":519},"{\n  id: \"m1\",\n  url: \"\u002F_tenon\u002Fmedia\u002Ffiles\u002Fblog\u002Fhero.jpg\",\n  src: \"\u002F_tenon\u002Fmedia\u002Fimg\u002Fw_1920&f_webp&q_85\u002Fblog\u002Fhero.jpg\",\n  srcset: \"\u002F_tenon\u002Fmedia\u002Fimg\u002Fw_320&f_webp&q_85\u002Fblog\u002Fhero.jpg 320w, …\",\n  width: 2400,\n  height: 1600,\n  alt: \"Harbour at dusk\",\n  mimeType: \"image\u002Fjpeg\",\n  size: 482133,\n  folder: \"blog\",\n  filename: \"hero.jpg\",\n  key: \"blog\u002Fhero.jpg\",\n}\n",[488,723,724,728,746,762,778,794,806,818,835,852,865,882,899,916],{"__ignoreMap":519},[523,725,726],{"class":525,"line":526},[523,727,552],{"class":541},[523,729,730,734,736,738,741,743],{"class":525,"line":555},[523,731,733],{"class":732},"sBMFI","  id",[523,735,562],{"class":541},[523,737,584],{"class":541},[523,739,740],{"class":587},"m1",[523,742,590],{"class":541},[523,744,745],{"class":541},",\n",[523,747,748,751,753,755,758,760],{"class":525,"line":568},[523,749,750],{"class":732},"  url",[523,752,562],{"class":541},[523,754,584],{"class":541},[523,756,757],{"class":587},"\u002F_tenon\u002Fmedia\u002Ffiles\u002Fblog\u002Fhero.jpg",[523,759,590],{"class":541},[523,761,745],{"class":541},[523,763,764,767,769,771,774,776],{"class":525,"line":608},[523,765,766],{"class":732},"  src",[523,768,562],{"class":541},[523,770,584],{"class":541},[523,772,773],{"class":587},"\u002F_tenon\u002Fmedia\u002Fimg\u002Fw_1920&f_webp&q_85\u002Fblog\u002Fhero.jpg",[523,775,590],{"class":541},[523,777,745],{"class":541},[523,779,780,783,785,787,790,792],{"class":525,"line":639},[523,781,782],{"class":732},"  srcset",[523,784,562],{"class":541},[523,786,584],{"class":541},[523,788,789],{"class":587},"\u002F_tenon\u002Fmedia\u002Fimg\u002Fw_320&f_webp&q_85\u002Fblog\u002Fhero.jpg 320w, …",[523,791,590],{"class":541},[523,793,745],{"class":541},[523,795,796,799,801,804],{"class":525,"line":697},[523,797,798],{"class":732},"  width",[523,800,562],{"class":541},[523,802,803],{"class":666}," 2400",[523,805,745],{"class":541},[523,807,808,811,813,816],{"class":525,"line":703},[523,809,810],{"class":732},"  height",[523,812,562],{"class":541},[523,814,815],{"class":666}," 1600",[523,817,745],{"class":541},[523,819,821,824,826,828,831,833],{"class":525,"line":820},8,[523,822,823],{"class":732},"  alt",[523,825,562],{"class":541},[523,827,584],{"class":541},[523,829,830],{"class":587},"Harbour at dusk",[523,832,590],{"class":541},[523,834,745],{"class":541},[523,836,838,841,843,845,848,850],{"class":525,"line":837},9,[523,839,840],{"class":732},"  mimeType",[523,842,562],{"class":541},[523,844,584],{"class":541},[523,846,847],{"class":587},"image\u002Fjpeg",[523,849,590],{"class":541},[523,851,745],{"class":541},[523,853,855,858,860,863],{"class":525,"line":854},10,[523,856,857],{"class":732},"  size",[523,859,562],{"class":541},[523,861,862],{"class":666}," 482133",[523,864,745],{"class":541},[523,866,868,871,873,875,878,880],{"class":525,"line":867},11,[523,869,870],{"class":732},"  folder",[523,872,562],{"class":541},[523,874,584],{"class":541},[523,876,877],{"class":587},"blog",[523,879,590],{"class":541},[523,881,745],{"class":541},[523,883,885,888,890,892,895,897],{"class":525,"line":884},12,[523,886,887],{"class":732},"  filename",[523,889,562],{"class":541},[523,891,584],{"class":541},[523,893,894],{"class":587},"hero.jpg",[523,896,590],{"class":541},[523,898,745],{"class":541},[523,900,902,905,907,909,912,914],{"class":525,"line":901},13,[523,903,904],{"class":732},"  key",[523,906,562],{"class":541},[523,908,584],{"class":541},[523,910,911],{"class":587},"blog\u002Fhero.jpg",[523,913,590],{"class":541},[523,915,745],{"class":541},[523,917,919],{"class":525,"line":918},14,[523,920,921],{"class":541},"}\n",[923,924,925,940],"ul",{},[926,927,928,931,932,935,936,939],"li",{},[488,929,930],{},"url"," is the original. ",[488,933,934],{},"src"," and ",[488,937,938],{},"srcset"," are the resized copies.",[926,941,942,943,946],{},"With ",[488,944,945],{},"populate: false",", the field holds the id.",[948,949,951],"h3",{"id":950},"render-it","Render it",[484,953,954,955,957,958,960,961,960,963,960,966,935,969,562],{},"The ",[488,956,76],{}," component writes ",[488,959,934],{},", ",[488,962,938],{},[488,964,965],{},"width",[488,967,968],{},"height",[488,970,971],{},"alt",[973,974,976,1128,1264],"code-group",{"sync":975},"framework",[513,977,981],{"className":978,"code":979,"filename":364,"language":980,"meta":519,"style":519},"language-astro shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","---\nimport { Image } from \"tenoncms\u002Fastro\u002Fcomponents\";\n---\n\n\u003CImage image={post.hero} sizes=\"(min-width: 720px) 720px, 100vw\" \u002F>\n\n{post.gallery?.map((image) => \u003CImage image={image} sizes=\"33vw\" \u002F>)}\n","astro",[488,982,983,989,1014,1018,1024,1063,1067],{"__ignoreMap":519},[523,984,985],{"class":525,"line":526},[523,986,988],{"class":987},"sHwdD","---\n",[523,990,991,994,996,999,1002,1005,1007,1010,1012],{"class":525,"line":555},[523,992,993],{"class":529},"import",[523,995,576],{"class":541},[523,997,998],{"class":537}," Image",[523,1000,1001],{"class":541}," }",[523,1003,1004],{"class":529}," from",[523,1006,584],{"class":541},[523,1008,1009],{"class":587},"tenoncms\u002Fastro\u002Fcomponents",[523,1011,590],{"class":541},[523,1013,712],{"class":541},[523,1015,1016],{"class":525,"line":568},[523,1017,988],{"class":987},[523,1019,1020],{"class":525,"line":608},[523,1021,1023],{"emptyLinePlaceholder":1022},true,"\n",[523,1025,1026,1029,1031,1034,1037,1040,1042,1045,1048,1051,1053,1055,1058,1060],{"class":525,"line":639},[523,1027,1028],{"class":541},"\u003C",[523,1030,76],{"class":732},[523,1032,1033],{"class":533}," image",[523,1035,1036],{"class":541},"={",[523,1038,1039],{"class":537},"post",[523,1041,503],{"class":541},[523,1043,1044],{"class":537},"hero",[523,1046,1047],{"class":541},"} ",[523,1049,1050],{"class":533},"sizes",[523,1052,542],{"class":541},[523,1054,590],{"class":541},[523,1056,1057],{"class":587},"(min-width: 720px) 720px, 100vw",[523,1059,590],{"class":541},[523,1061,1062],{"class":541}," \u002F>\n",[523,1064,1065],{"class":525,"line":697},[523,1066,1023],{"emptyLinePlaceholder":1022},[523,1068,1069,1072,1074,1076,1079,1082,1085,1087,1089,1092,1094,1097,1100,1102,1104,1106,1108,1110,1112,1114,1116,1119,1121,1124,1126],{"class":525,"line":703},[523,1070,1071],{"class":541},"{",[523,1073,1039],{"class":537},[523,1075,503],{"class":541},[523,1077,1078],{"class":537},"gallery",[523,1080,1081],{"class":541},"?.",[523,1083,1084],{"class":545},"map",[523,1086,549],{"class":537},[523,1088,549],{"class":541},[523,1090,490],{"class":1091},"sHdIc",[523,1093,709],{"class":541},[523,1095,1096],{"class":533}," =>",[523,1098,1099],{"class":541}," \u003C",[523,1101,76],{"class":732},[523,1103,1033],{"class":533},[523,1105,1036],{"class":541},[523,1107,490],{"class":537},[523,1109,1047],{"class":541},[523,1111,1050],{"class":533},[523,1113,542],{"class":541},[523,1115,590],{"class":541},[523,1117,1118],{"class":587},"33vw",[523,1120,590],{"class":541},[523,1122,1123],{"class":541}," \u002F>",[523,1125,709],{"class":537},[523,1127,921],{"class":541},[513,1129,1133],{"className":1130,"code":1131,"filename":368,"language":1132,"meta":519,"style":519},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CTenonImage :image=\"post.hero\" sizes=\"(min-width: 720px) 720px, 100vw\" \u002F>\n\n  \u003CTenonImage v-for=\"image in post.gallery\" :key=\"image.id\" :image=\"image\" sizes=\"33vw\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[488,1134,1135,1145,1183,1187,1255],{"__ignoreMap":519},[523,1136,1137,1139,1142],{"class":525,"line":526},[523,1138,1028],{"class":541},[523,1140,1141],{"class":558},"template",[523,1143,1144],{"class":541},">\n",[523,1146,1147,1150,1153,1156,1158,1160,1162,1164,1166,1168,1170,1173,1175,1177,1179,1181],{"class":525,"line":555},[523,1148,1149],{"class":541},"  \u003C",[523,1151,1152],{"class":558},"TenonImage",[523,1154,1155],{"class":541}," :",[523,1157,490],{"class":533},[523,1159,542],{"class":541},[523,1161,590],{"class":541},[523,1163,1039],{"class":537},[523,1165,503],{"class":541},[523,1167,1044],{"class":537},[523,1169,590],{"class":541},[523,1171,1172],{"class":533}," sizes",[523,1174,542],{"class":541},[523,1176,590],{"class":541},[523,1178,1057],{"class":587},[523,1180,590],{"class":541},[523,1182,1062],{"class":541},[523,1184,1185],{"class":525,"line":568},[523,1186,1023],{"emptyLinePlaceholder":1022},[523,1188,1189,1191,1193,1196,1198,1200,1202,1205,1207,1209,1211,1213,1215,1218,1220,1222,1224,1226,1229,1231,1233,1235,1237,1239,1241,1243,1245,1247,1249,1251,1253],{"class":525,"line":608},[523,1190,1149],{"class":541},[523,1192,1152],{"class":558},[523,1194,1195],{"class":529}," v-for",[523,1197,542],{"class":541},[523,1199,590],{"class":541},[523,1201,490],{"class":537},[523,1203,1204],{"class":541}," in ",[523,1206,1039],{"class":537},[523,1208,503],{"class":541},[523,1210,1078],{"class":537},[523,1212,590],{"class":541},[523,1214,1155],{"class":541},[523,1216,1217],{"class":533},"key",[523,1219,542],{"class":541},[523,1221,590],{"class":541},[523,1223,490],{"class":537},[523,1225,503],{"class":541},[523,1227,1228],{"class":537},"id",[523,1230,590],{"class":541},[523,1232,1155],{"class":541},[523,1234,490],{"class":533},[523,1236,542],{"class":541},[523,1238,590],{"class":541},[523,1240,490],{"class":537},[523,1242,590],{"class":541},[523,1244,1172],{"class":533},[523,1246,542],{"class":541},[523,1248,590],{"class":541},[523,1250,1118],{"class":587},[523,1252,590],{"class":541},[523,1254,1062],{"class":541},[523,1256,1257,1260,1262],{"class":525,"line":639},[523,1258,1259],{"class":541},"\u003C\u002F",[523,1261,1141],{"class":558},[523,1263,1144],{"class":541},[513,1265,1269],{"className":1266,"code":1267,"filename":372,"language":1268,"meta":519,"style":519},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Image } from \"tenoncms\u002Freact\";\n\n\u003C>\n  \u003CImage image={post.hero} sizes=\"(min-width: 720px) 720px, 100vw\" \u002F>\n  {post.gallery?.map((image) => (\n    \u003CImage key={image.id} image={image} sizes=\"33vw\" \u002F>\n  ))}\n\u003C\u002F>;\n","tsx",[488,1270,1271,1292,1296,1301,1331,1359,1399,1406],{"__ignoreMap":519},[523,1272,1273,1275,1277,1279,1281,1283,1285,1288,1290],{"class":525,"line":526},[523,1274,993],{"class":529},[523,1276,576],{"class":541},[523,1278,998],{"class":537},[523,1280,1001],{"class":541},[523,1282,1004],{"class":529},[523,1284,584],{"class":541},[523,1286,1287],{"class":587},"tenoncms\u002Freact",[523,1289,590],{"class":541},[523,1291,712],{"class":541},[523,1293,1294],{"class":525,"line":555},[523,1295,1023],{"emptyLinePlaceholder":1022},[523,1297,1298],{"class":525,"line":568},[523,1299,1300],{"class":541},"\u003C>\n",[523,1302,1303,1305,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,1329],{"class":525,"line":608},[523,1304,1149],{"class":541},[523,1306,76],{"class":732},[523,1308,1033],{"class":533},[523,1310,1036],{"class":541},[523,1312,1039],{"class":537},[523,1314,503],{"class":541},[523,1316,1044],{"class":537},[523,1318,1047],{"class":541},[523,1320,1050],{"class":533},[523,1322,542],{"class":541},[523,1324,590],{"class":541},[523,1326,1057],{"class":587},[523,1328,590],{"class":541},[523,1330,1062],{"class":541},[523,1332,1333,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354,1356],{"class":525,"line":639},[523,1334,1335],{"class":541},"  {",[523,1337,1039],{"class":537},[523,1339,503],{"class":541},[523,1341,1078],{"class":537},[523,1343,1081],{"class":541},[523,1345,1084],{"class":545},[523,1347,549],{"class":537},[523,1349,549],{"class":541},[523,1351,490],{"class":1091},[523,1353,709],{"class":541},[523,1355,1096],{"class":533},[523,1357,1358],{"class":537}," (\n",[523,1360,1361,1364,1366,1369,1371,1373,1375,1377,1379,1381,1383,1385,1387,1389,1391,1393,1395,1397],{"class":525,"line":697},[523,1362,1363],{"class":541},"    \u003C",[523,1365,76],{"class":732},[523,1367,1368],{"class":533}," key",[523,1370,1036],{"class":541},[523,1372,490],{"class":537},[523,1374,503],{"class":541},[523,1376,1228],{"class":537},[523,1378,1047],{"class":541},[523,1380,490],{"class":533},[523,1382,1036],{"class":541},[523,1384,490],{"class":537},[523,1386,1047],{"class":541},[523,1388,1050],{"class":533},[523,1390,542],{"class":541},[523,1392,590],{"class":541},[523,1394,1118],{"class":587},[523,1396,590],{"class":541},[523,1398,1062],{"class":541},[523,1400,1401,1404],{"class":525,"line":703},[523,1402,1403],{"class":537},"  ))",[523,1405,921],{"class":541},[523,1407,1408],{"class":525,"line":820},[523,1409,1410],{"class":541},"\u003C\u002F>;\n",[484,1412,1413,1415,1416,1418,1419,1421,1422,503],{},[488,1414,1050],{}," tells the browser how wide the image shows, so it picks the right copy from ",[488,1417,938],{},". See ",[493,1420,184],{"href":185}," for ",[488,1423,1424],{},"Picture",[508,1426,1428],{"id":1427},"with-or-without-an-image-provider","With or without an image provider",[484,1430,486,1431,1434],{},[493,1432,1433],{"href":415},"image provider"," makes the resized copies. You do not have to use one.",[1436,1437,1438,1459],"table",{},[1439,1440,1441],"thead",{},[1442,1443,1444,1448,1452,1456],"tr",{},[1445,1446,1447],"th",{},"Setup",[1445,1449,1450],{},[488,1451,934],{},[1445,1453,1454],{},[488,1455,938],{},[1445,1457,1458],{},"Use it when",[1460,1461,1462,1477],"tbody",{},[1442,1463,1464,1468,1471,1474],{},[1465,1466,1467],"td",{},"No provider",[1465,1469,1470],{},"The original",[1465,1472,1473],{},"Empty",[1465,1475,1476],{},"The images are small, or the framework resizes them for you",[1442,1478,1479,1482,1485,1488],{},[1465,1480,1481],{},"With a provider",[1465,1483,1484],{},"A resized WebP copy",[1465,1486,1487],{},"One per width",[1465,1489,1490],{},"You want responsive images without another tool",[923,1492,1493,1506,1534],{},[926,1494,1495,1496,1498,1499,960,1501,935,1503,1505],{},"Without a provider, the ",[488,1497,76],{}," component still renders ",[488,1500,965],{},[488,1502,968],{},[488,1504,971],{},". The browser loads the original.",[926,1507,1508,1509,1512,1513,1517,1518,960,1521,960,1524,960,1527,960,1530,1533],{},"With a provider, set ",[488,1510,1511],{},"media.images"," in the ",[493,1514,1516],{"href":1515},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fmedia#responsive-images","media config",". Tenon supports ",[488,1519,1520],{},"ipx",[488,1522,1523],{},"cloudflare",[488,1525,1526],{},"vercel",[488,1528,1529],{},"netlify",[488,1531,1532],{},"imgix"," and more.",[926,1535,1536,1537,935,1541,503],{},"To pick one, see ",[493,1538,1540],{"href":1539},"\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers#do-you-need-one","Do you need one?",[493,1542,1544],{"href":1543},"\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers#providers","Providers",[508,1546,1548],{"id":1547},"image-sizes","Image sizes",[484,1550,1551,1552,1554,1555,935,1557,1559],{},"With an image provider, ",[488,1553,490],{}," sets how a read builds ",[488,1556,934],{},[488,1558,938],{},". Use a named preset, or set the options on the field:",[513,1561,1563],{"className":515,"code":1562,"language":518,"meta":519,"style":519},"avatar: { type: \"image\", image: { preset: \"avatar\" } },\ncover: { type: \"image\", image: { sizes: [800, 1600], quality: 70 } },\nbanner: { type: \"image\", image: { width: 1600, height: 600, fit: \"cover\" } },\n",[488,1564,1565,1607,1665],{"__ignoreMap":519},[523,1566,1567,1570,1572,1574,1576,1578,1580,1582,1584,1586,1588,1590,1592,1595,1597,1599,1601,1603,1605],{"class":525,"line":526},[523,1568,1569],{"class":732},"avatar",[523,1571,562],{"class":541},[523,1573,576],{"class":541},[523,1575,579],{"class":732},[523,1577,562],{"class":541},[523,1579,584],{"class":541},[523,1581,490],{"class":587},[523,1583,590],{"class":541},[523,1585,593],{"class":541},[523,1587,1033],{"class":732},[523,1589,562],{"class":541},[523,1591,576],{"class":541},[523,1593,1594],{"class":732}," preset",[523,1596,562],{"class":541},[523,1598,584],{"class":541},[523,1600,1569],{"class":587},[523,1602,590],{"class":541},[523,1604,1001],{"class":541},[523,1606,605],{"class":541},[523,1608,1609,1612,1614,1616,1618,1620,1622,1624,1626,1628,1630,1632,1634,1636,1638,1641,1644,1646,1648,1651,1653,1656,1658,1661,1663],{"class":525,"line":555},[523,1610,1611],{"class":732},"cover",[523,1613,562],{"class":541},[523,1615,576],{"class":541},[523,1617,579],{"class":732},[523,1619,562],{"class":541},[523,1621,584],{"class":541},[523,1623,490],{"class":587},[523,1625,590],{"class":541},[523,1627,593],{"class":541},[523,1629,1033],{"class":732},[523,1631,562],{"class":541},[523,1633,576],{"class":541},[523,1635,1172],{"class":732},[523,1637,562],{"class":541},[523,1639,1640],{"class":558}," [",[523,1642,1643],{"class":666},"800",[523,1645,593],{"class":541},[523,1647,815],{"class":666},[523,1649,1650],{"class":558},"]",[523,1652,593],{"class":541},[523,1654,1655],{"class":732}," quality",[523,1657,562],{"class":541},[523,1659,1660],{"class":666}," 70",[523,1662,1001],{"class":541},[523,1664,605],{"class":541},[523,1666,1667,1670,1672,1674,1676,1678,1680,1682,1684,1686,1688,1690,1692,1695,1697,1699,1701,1704,1706,1709,1711,1714,1716,1718,1720,1722,1724],{"class":525,"line":568},[523,1668,1669],{"class":732},"banner",[523,1671,562],{"class":541},[523,1673,576],{"class":541},[523,1675,579],{"class":732},[523,1677,562],{"class":541},[523,1679,584],{"class":541},[523,1681,490],{"class":587},[523,1683,590],{"class":541},[523,1685,593],{"class":541},[523,1687,1033],{"class":732},[523,1689,562],{"class":541},[523,1691,576],{"class":541},[523,1693,1694],{"class":732}," width",[523,1696,562],{"class":541},[523,1698,815],{"class":666},[523,1700,593],{"class":541},[523,1702,1703],{"class":732}," height",[523,1705,562],{"class":541},[523,1707,1708],{"class":666}," 600",[523,1710,593],{"class":541},[523,1712,1713],{"class":732}," fit",[523,1715,562],{"class":541},[523,1717,584],{"class":541},[523,1719,1611],{"class":587},[523,1721,590],{"class":541},[523,1723,1001],{"class":541},[523,1725,605],{"class":541},[484,1727,1728,1729,503],{},"The field's own options override the preset's. Sizes and presets are set with the provider. See ",[493,1730,1732],{"href":1731},"\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers#sizes-and-presets","Sizes and presets",[508,1734,1736],{"id":1735},"use-your-frameworks-image-component","Use your framework's image component",[484,1738,1739,1740,1742,1743,960,1745,960,1747,935,1749,1751],{},"Instead of a provider, you can let the framework resize the image. Leave ",[488,1741,1511],{}," off and pass ",[488,1744,930],{},[488,1746,965],{},[488,1748,968],{},[488,1750,971],{}," to the framework's own component.",[484,1753,1754,1756],{},[488,1755,930],{}," is a path on your site. The framework's optimizer MUST get the full URL, and it MUST allow your site's host.",[973,1758,1759,1918,2123],{"sync":975},[513,1760,1762],{"className":978,"code":1761,"filename":364,"language":980,"meta":519,"style":519},"---\nimport { Image } from \"astro:assets\";\n\nconst hero = post.hero;\nconst src = new URL(hero.url, Astro.site).href;\n---\n\n\u003CImage src={src} width={hero.width} height={hero.height} alt={hero.alt ?? \"\"} \u002F>\n",[488,1763,1764,1768,1789,1793,1812,1851,1855,1859],{"__ignoreMap":519},[523,1765,1766],{"class":525,"line":526},[523,1767,988],{"class":987},[523,1769,1770,1772,1774,1776,1778,1780,1782,1785,1787],{"class":525,"line":555},[523,1771,993],{"class":529},[523,1773,576],{"class":541},[523,1775,998],{"class":537},[523,1777,1001],{"class":541},[523,1779,1004],{"class":529},[523,1781,584],{"class":541},[523,1783,1784],{"class":587},"astro:assets",[523,1786,590],{"class":541},[523,1788,712],{"class":541},[523,1790,1791],{"class":525,"line":568},[523,1792,1023],{"emptyLinePlaceholder":1022},[523,1794,1795,1798,1801,1803,1806,1808,1810],{"class":525,"line":608},[523,1796,1797],{"class":533},"const",[523,1799,1800],{"class":537}," hero ",[523,1802,542],{"class":541},[523,1804,1805],{"class":537}," post",[523,1807,503],{"class":541},[523,1809,1044],{"class":537},[523,1811,712],{"class":541},[523,1813,1814,1816,1819,1821,1824,1827,1830,1832,1834,1836,1839,1841,1844,1846,1849],{"class":525,"line":639},[523,1815,1797],{"class":533},[523,1817,1818],{"class":537}," src ",[523,1820,542],{"class":541},[523,1822,1823],{"class":541}," new",[523,1825,1826],{"class":545}," URL",[523,1828,1829],{"class":537},"(hero",[523,1831,503],{"class":541},[523,1833,930],{"class":537},[523,1835,593],{"class":541},[523,1837,1838],{"class":537}," Astro",[523,1840,503],{"class":541},[523,1842,1843],{"class":537},"site)",[523,1845,503],{"class":541},[523,1847,1848],{"class":537},"href",[523,1850,712],{"class":541},[523,1852,1853],{"class":525,"line":697},[523,1854,988],{"class":987},[523,1856,1857],{"class":525,"line":703},[523,1858,1023],{"emptyLinePlaceholder":1022},[523,1860,1861,1863,1865,1868,1870,1872,1874,1876,1878,1880,1882,1884,1886,1888,1890,1892,1894,1896,1898,1900,1902,1904,1906,1909,1912,1915],{"class":525,"line":820},[523,1862,1028],{"class":541},[523,1864,76],{"class":732},[523,1866,1867],{"class":533}," src",[523,1869,1036],{"class":541},[523,1871,934],{"class":537},[523,1873,1047],{"class":541},[523,1875,965],{"class":533},[523,1877,1036],{"class":541},[523,1879,1044],{"class":537},[523,1881,503],{"class":541},[523,1883,965],{"class":537},[523,1885,1047],{"class":541},[523,1887,968],{"class":533},[523,1889,1036],{"class":541},[523,1891,1044],{"class":537},[523,1893,503],{"class":541},[523,1895,968],{"class":537},[523,1897,1047],{"class":541},[523,1899,971],{"class":533},[523,1901,1036],{"class":541},[523,1903,1044],{"class":537},[523,1905,503],{"class":541},[523,1907,1908],{"class":537},"alt ",[523,1910,1911],{"class":541},"??",[523,1913,1914],{"class":541}," \"\"",[523,1916,1917],{"class":541},"} \u002F>\n",[513,1919,1921],{"className":1130,"code":1920,"filename":368,"language":1132,"meta":519,"style":519},"\u003Cscript setup lang=\"ts\">\nconst { origin } = useRequestURL();\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CNuxtImg\n    :src=\"`${origin}${post.hero.url}`\"\n    :width=\"post.hero.width\"\n    :height=\"post.hero.height\"\n    :alt=\"post.hero.alt ?? ''\"\n    sizes=\"(min-width: 720px) 720px, 100vw\"\n  \u002F>\n\u003C\u002Ftemplate>\n",[488,1922,1923,1946,1968,1976,1980,1988,1995,2026,2049,2071,2097,2110,2115],{"__ignoreMap":519},[523,1924,1925,1927,1930,1933,1936,1938,1940,1942,1944],{"class":525,"line":526},[523,1926,1028],{"class":541},[523,1928,1929],{"class":558},"script",[523,1931,1932],{"class":533}," setup",[523,1934,1935],{"class":533}," lang",[523,1937,542],{"class":541},[523,1939,590],{"class":541},[523,1941,518],{"class":587},[523,1943,590],{"class":541},[523,1945,1144],{"class":541},[523,1947,1948,1950,1952,1955,1957,1960,1963,1966],{"class":525,"line":555},[523,1949,1797],{"class":533},[523,1951,576],{"class":541},[523,1953,1954],{"class":537}," origin ",[523,1956,706],{"class":541},[523,1958,1959],{"class":541}," =",[523,1961,1962],{"class":545}," useRequestURL",[523,1964,1965],{"class":537},"()",[523,1967,712],{"class":541},[523,1969,1970,1972,1974],{"class":525,"line":568},[523,1971,1259],{"class":541},[523,1973,1929],{"class":558},[523,1975,1144],{"class":541},[523,1977,1978],{"class":525,"line":608},[523,1979,1023],{"emptyLinePlaceholder":1022},[523,1981,1982,1984,1986],{"class":525,"line":639},[523,1983,1028],{"class":541},[523,1985,1141],{"class":558},[523,1987,1144],{"class":541},[523,1989,1990,1992],{"class":525,"line":697},[523,1991,1149],{"class":541},[523,1993,1994],{"class":558},"NuxtImg\n",[523,1996,1997,2000,2002,2004,2007,2010,2013,2015,2017,2019,2021,2023],{"class":525,"line":703},[523,1998,1999],{"class":541},"    :",[523,2001,934],{"class":533},[523,2003,542],{"class":541},[523,2005,2006],{"class":541},"\"`${",[523,2008,2009],{"class":537},"origin",[523,2011,2012],{"class":541},"}${",[523,2014,1039],{"class":537},[523,2016,503],{"class":541},[523,2018,1044],{"class":537},[523,2020,503],{"class":541},[523,2022,930],{"class":537},[523,2024,2025],{"class":541},"}`\"\n",[523,2027,2028,2030,2032,2034,2036,2038,2040,2042,2044,2046],{"class":525,"line":820},[523,2029,1999],{"class":541},[523,2031,965],{"class":533},[523,2033,542],{"class":541},[523,2035,590],{"class":541},[523,2037,1039],{"class":537},[523,2039,503],{"class":541},[523,2041,1044],{"class":537},[523,2043,503],{"class":541},[523,2045,965],{"class":537},[523,2047,2048],{"class":541},"\"\n",[523,2050,2051,2053,2055,2057,2059,2061,2063,2065,2067,2069],{"class":525,"line":837},[523,2052,1999],{"class":541},[523,2054,968],{"class":533},[523,2056,542],{"class":541},[523,2058,590],{"class":541},[523,2060,1039],{"class":537},[523,2062,503],{"class":541},[523,2064,1044],{"class":537},[523,2066,503],{"class":541},[523,2068,968],{"class":537},[523,2070,2048],{"class":541},[523,2072,2073,2075,2077,2079,2081,2083,2085,2087,2089,2091,2094],{"class":525,"line":854},[523,2074,1999],{"class":541},[523,2076,971],{"class":533},[523,2078,542],{"class":541},[523,2080,590],{"class":541},[523,2082,1039],{"class":537},[523,2084,503],{"class":541},[523,2086,1044],{"class":537},[523,2088,503],{"class":541},[523,2090,971],{"class":537},[523,2092,2093],{"class":541}," ?? ",[523,2095,2096],{"class":541},"''\"\n",[523,2098,2099,2102,2104,2106,2108],{"class":525,"line":867},[523,2100,2101],{"class":533},"    sizes",[523,2103,542],{"class":541},[523,2105,590],{"class":541},[523,2107,1057],{"class":587},[523,2109,2048],{"class":541},[523,2111,2112],{"class":525,"line":884},[523,2113,2114],{"class":541},"  \u002F>\n",[523,2116,2117,2119,2121],{"class":525,"line":901},[523,2118,1259],{"class":541},[523,2120,1141],{"class":558},[523,2122,1144],{"class":541},[513,2124,2126],{"className":1266,"code":2125,"filename":372,"language":1268,"meta":519,"style":519},"\u002F\u002F TanStack Start has no built-in image component. Use the `Image` from `tenoncms\u002Freact` with a provider, or an image library of your choice.\n",[488,2127,2128],{"__ignoreMap":519},[523,2129,2130],{"class":525,"line":526},[523,2131,2125],{"class":987},[484,2133,2134],{},"Allow the host in the framework config:",[973,2136,2137,2210,2281],{"sync":975},[513,2138,2141],{"className":515,"code":2139,"filename":2140,"language":518,"meta":519,"style":519},"export default defineConfig({\n  site: \"https:\u002F\u002Fexample.com\",\n  image: { domains: [\"example.com\"] },\n});\n","astro.config.ts",[488,2142,2143,2157,2173,2202],{"__ignoreMap":519},[523,2144,2145,2147,2150,2153,2155],{"class":525,"line":526},[523,2146,530],{"class":529},[523,2148,2149],{"class":529}," default",[523,2151,2152],{"class":545}," defineConfig",[523,2154,549],{"class":537},[523,2156,552],{"class":541},[523,2158,2159,2162,2164,2166,2169,2171],{"class":525,"line":555},[523,2160,2161],{"class":558},"  site",[523,2163,562],{"class":541},[523,2165,584],{"class":541},[523,2167,2168],{"class":587},"https:\u002F\u002Fexample.com",[523,2170,590],{"class":541},[523,2172,745],{"class":541},[523,2174,2175,2178,2180,2182,2185,2187,2189,2191,2194,2196,2199],{"class":525,"line":568},[523,2176,2177],{"class":558},"  image",[523,2179,562],{"class":541},[523,2181,576],{"class":541},[523,2183,2184],{"class":558}," domains",[523,2186,562],{"class":541},[523,2188,1640],{"class":537},[523,2190,590],{"class":541},[523,2192,2193],{"class":587},"example.com",[523,2195,590],{"class":541},[523,2197,2198],{"class":537},"] ",[523,2200,2201],{"class":541},"},\n",[523,2203,2204,2206,2208],{"class":525,"line":608},[523,2205,706],{"class":541},[523,2207,709],{"class":537},[523,2209,712],{"class":541},[513,2211,2214],{"className":515,"code":2212,"filename":2213,"language":518,"meta":519,"style":519},"export default defineNuxtConfig({\n  modules: [\"@nuxt\u002Fimage\"],\n  image: { domains: [\"example.com\"] },\n});\n","nuxt.config.ts",[488,2215,2216,2229,2249,2273],{"__ignoreMap":519},[523,2217,2218,2220,2222,2225,2227],{"class":525,"line":526},[523,2219,530],{"class":529},[523,2221,2149],{"class":529},[523,2223,2224],{"class":545}," defineNuxtConfig",[523,2226,549],{"class":537},[523,2228,552],{"class":541},[523,2230,2231,2234,2236,2238,2240,2243,2245,2247],{"class":525,"line":555},[523,2232,2233],{"class":558},"  modules",[523,2235,562],{"class":541},[523,2237,1640],{"class":537},[523,2239,590],{"class":541},[523,2241,2242],{"class":587},"@nuxt\u002Fimage",[523,2244,590],{"class":541},[523,2246,1650],{"class":537},[523,2248,745],{"class":541},[523,2250,2251,2253,2255,2257,2259,2261,2263,2265,2267,2269,2271],{"class":525,"line":568},[523,2252,2177],{"class":558},[523,2254,562],{"class":541},[523,2256,576],{"class":541},[523,2258,2184],{"class":558},[523,2260,562],{"class":541},[523,2262,1640],{"class":537},[523,2264,590],{"class":541},[523,2266,2193],{"class":587},[523,2268,590],{"class":541},[523,2270,2198],{"class":537},[523,2272,2201],{"class":541},[523,2274,2275,2277,2279],{"class":525,"line":608},[523,2276,706],{"class":541},[523,2278,709],{"class":537},[523,2280,712],{"class":541},[513,2282,2284],{"className":515,"code":2283,"filename":372,"language":518,"meta":519,"style":519},"\u002F\u002F No setup. TanStack Start has no image component.\n",[488,2285,2286],{"__ignoreMap":519},[523,2287,2288],{"class":525,"line":526},[523,2289,2283],{"class":987},[923,2291,2292,2307,2318],{},[926,2293,2294,2295,2298,2299,935,2301,2303,2304,503],{},"Astro needs ",[488,2296,2297],{},"site"," set, so it can build the full URL. Without ",[488,2300,965],{},[488,2302,968],{},", add ",[488,2305,2306],{},"inferSize",[926,2308,2309,2310,2317],{},"Nuxt needs the ",[493,2311,2315],{"href":2312,"rel":2313},"https:\u002F\u002Fimage.nuxt.com",[2314],"nofollow",[488,2316,2242],{}," module.",[926,2319,2320,2321,2323],{},"The field preset and ",[488,2322,490],{}," options do not apply, because Tenon makes no copies.",[508,2325,2327],{"id":2326},"deleting-an-image","Deleting an image",[484,2329,2330,2331,2334,2335,2338],{},"An image that a field uses cannot be deleted. The delete fails with a ",[488,2332,2333],{},"409"," and lists the documents that use it. Set ",[488,2336,2337],{},"onDelete: \"set-null\""," to clear the field instead.",[508,2340,2342],{"id":2341},"options","Options",[2344,2345,2346,2352,2364,2373,2381,2396,2411],"field-group",{},[2347,2348],"field",{"name":2349,"type":2350,":required":2351},"type","\"image\"","true",[2347,2353,2356,2357,2360,2361,503],{"name":2354,"type":2355},"many","boolean","Store a list of images instead of one. With ",[488,2358,2359],{},"required",", at least one. Default ",[488,2362,2363],{},"false",[2347,2365,2368,2369,2372],{"name":2366,"type":2367},"accept","string[]","The allowed image types, like ",[488,2370,2371],{},"[\"image\u002Fpng\", \"image\u002Fwebp\"]",". Default: all images.",[2347,2374,2377,2378,503],{"name":2375,"type":2376},"maxSize","number","The largest file in bytes. It narrows ",[488,2379,2380],{},"media.maxSize",[2347,2382,2386,2387,2391,2392,2395],{"name":2383,"type":2384,":badges":2385},"folder","string","[{\"label\":\"Admin only\",\"color\":\"note\"}]","The folder that ",[2388,2389,2390],"strong",{},"Upload new"," in the field puts the image in, like ",[488,2393,2394],{},"\"avatars\"",". Default: the root.",[2347,2397,2400,2401,2404,2405,2407,2408,503],{"name":2398,"type":2399},"onDelete","\"restrict\" | \"set-null\"","What happens when the image is deleted. Default ",[488,2402,2403],{},"\"restrict\"",". A ",[488,2406,2359],{}," field cannot use ",[488,2409,2410],{},"\"set-null\"",[2347,2412,2414,2415,935,2417,2419,2420,1418,2422,503],{"name":490,"type":2413},"{ preset, sizes, width, height, fit, format, quality, background, blur }","How reads build ",[488,2416,934],{},[488,2418,938],{},". Needs ",[488,2421,1511],{},[493,2423,1548],{"href":2424},"#image-sizes",[2426,2427],"field-common-options",{},[2429,2430,2431],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}",{"title":519,"searchDepth":555,"depth":555,"links":2433},[2434,2437,2438,2439,2440,2441],{"id":510,"depth":555,"text":511,"children":2435},[2436],{"id":950,"depth":568,"text":951},{"id":1427,"depth":555,"text":1428},{"id":1547,"depth":555,"text":1548},{"id":1735,"depth":555,"text":1736},{"id":2326,"depth":555,"text":2327},{"id":2341,"depth":555,"text":2342},"An image from the media library, with responsive sizes.","md",null,{},{"title":76,"description":2442},"aEaf9jv9tZnE9_d9BQYyGsgIAHUcSw24xhT_UsAdmj4",[2449,2451],{"title":72,"path":73,"stem":74,"description":2450,"children":-1},"Fields nested under one key, shown as one section in the admin.",{"title":80,"path":81,"stem":82,"description":2452,"children":-1},"A link to a page, a URL or a media file, that keeps working when the page moves.",{"data":2454,"body":2455},{},{"type":2456,"children":2457},"root",[2458],{"type":2459,"tag":484,"props":2460,"children":2461},"element",{},[2462],{"type":2463,"value":2464},"text","The label in the admin. Defaults to the key. Pass an object to translate it.",{"data":2466,"body":2467},{},{"type":2456,"children":2468},[2469],{"type":2459,"tag":484,"props":2470,"children":2471},{},[2472],{"type":2463,"value":2473},"Help text below the input.",{"data":2475,"body":2476},{},{"type":2456,"children":2477},[2478],{"type":2459,"tag":484,"props":2479,"children":2480},{},[2481],{"type":2463,"value":2482},"The value MUST be present. A list needs at least one item.",{"data":2484,"body":2485},{},{"type":2456,"children":2486},[2487],{"type":2459,"tag":484,"props":2488,"children":2489},{},[2490,2492,2498],{"type":2463,"value":2491},"The value of a new document, when the field is missing. A plain value also fills the new form in the admin. A function, like ",{"type":2459,"tag":488,"props":2493,"children":2495},{"className":2494},[],[2496],{"type":2463,"value":2497},"({ user }) => user?.id",{"type":2463,"value":2499},", runs on the server only.",{"data":2501,"body":2502},{},{"type":2456,"children":2503},[2504],{"type":2459,"tag":484,"props":2505,"children":2506},{},[2507,2509,2515],{"type":2463,"value":2508},"No other document of the collection has the same value. See ",{"type":2459,"tag":493,"props":2510,"children":2512},{"href":2511},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#validation",[2513],{"type":2463,"value":2514},"Validation",{"type":2463,"value":503},{"data":2517,"body":2518},{},{"type":2456,"children":2519},[2520],{"type":2459,"tag":484,"props":2521,"children":2522},{},[2523,2525,2531],{"type":2463,"value":2524},"Your own check. See ",{"type":2459,"tag":493,"props":2526,"children":2528},{"href":2527},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#your-own-checks",[2529],{"type":2463,"value":2530},"Your own checks",{"type":2463,"value":503},{"data":2533,"body":2534},{},{"type":2456,"children":2535},[2536],{"type":2459,"tag":484,"props":2537,"children":2538},{},[2539,2541,2547],{"type":2463,"value":2540},"Show the field only when other values match. See ",{"type":2459,"tag":493,"props":2542,"children":2544},{"href":2543},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#conditions",[2545],{"type":2463,"value":2546},"Conditions",{"type":2463,"value":503},{"data":2549,"body":2550},{},{"type":2456,"children":2551},[2552],{"type":2459,"tag":484,"props":2553,"children":2554},{},[2555],{"type":2463,"value":2556},"Public reads leave the value out. Signed-in users and server code see it.",{"data":2558,"body":2559},{},{"type":2456,"children":2560},[2561],{"type":2459,"tag":484,"props":2562,"children":2563},{},[2564,2566,2571],{"type":2463,"value":2565},"Who can read and write this field. See ",{"type":2459,"tag":493,"props":2567,"children":2568},{"href":206},[2569],{"type":2463,"value":2570},"Access control",{"type":2463,"value":503},{"data":2573,"body":2574},{},{"type":2456,"children":2575},[2576],{"type":2459,"tag":484,"props":2577,"children":2578},{},[2579,2581,2586,2588,2592],{"type":2463,"value":2580},"In a localized collection, every field is stored per language. ",{"type":2459,"tag":488,"props":2582,"children":2584},{"className":2583},[],[2585],{"type":2463,"value":2363},{"type":2463,"value":2587}," shares this field between languages. Only on top-level fields. See ",{"type":2459,"tag":493,"props":2589,"children":2590},{"href":168},[2591],{"type":2463,"value":167},{"type":2463,"value":503},{"data":2594,"body":2595},{},{"type":2456,"children":2596},[2597],{"type":2459,"tag":484,"props":2598,"children":2599},{},[2600,2602,2606],{"type":2463,"value":2601},"Functions that run for this field on every write and read, before the collection's hooks. See ",{"type":2459,"tag":493,"props":2603,"children":2604},{"href":172},[2605],{"type":2463,"value":171},{"type":2463,"value":503},{"data":2608,"body":2609},{},{"type":2456,"children":2610},[2611],{"type":2459,"tag":484,"props":2612,"children":2613},{},[2614],{"type":2463,"value":2615},"The admin does not show the input. The value still saves. Use it for values a hook sets.",{"data":2617,"body":2618},{},{"type":2456,"children":2619},[2620],{"type":2459,"tag":484,"props":2621,"children":2622},{},[2623],{"type":2463,"value":2624},"The admin shows the input disabled. Code and hooks can still write it.",{"data":2626,"body":2627},{},{"type":2456,"children":2628},[2629],{"type":2459,"tag":484,"props":2630,"children":2631},{},[2632,2634,2640],{"type":2463,"value":2633},"The share of the row the field takes. Fields next to each other fill a row. In a narrow form, every field takes the full width. Default ",{"type":2459,"tag":488,"props":2635,"children":2637},{"className":2636},[],[2638],{"type":2463,"value":2639},"\"full\"",{"type":2463,"value":503},{"data":2642,"body":2643},{},{"type":2456,"children":2644},[2645],{"type":2459,"tag":484,"props":2646,"children":2647},{},[2648],{"type":2463,"value":2649},"A line above the field, to break up a long form. A string adds a heading above the line.",{"data":2651,"body":2652},{},{"type":2456,"children":2653},[2654],{"type":2459,"tag":484,"props":2655,"children":2656},{},[2657,2659,2665],{"type":2463,"value":2658},"The tab that shows this field. Define the tabs with ",{"type":2459,"tag":488,"props":2660,"children":2662},{"className":2661},[],[2663],{"type":2463,"value":2664},"tabs",{"type":2463,"value":2666}," on the collection, global, group or list item.",{"data":2668,"body":2669},{},{"type":2456,"children":2670},[2671],{"type":2459,"tag":484,"props":2672,"children":2673},{},[2674,2676,2682],{"type":2463,"value":2675},"The box that holds this field. Define the boxes with ",{"type":2459,"tag":488,"props":2677,"children":2679},{"className":2678},[],[2680],{"type":2463,"value":2681},"fieldsets",{"type":2463,"value":503},1795884700122]