Home / Function/ images.loader() — astro Function Reference

images.loader() — astro Function Reference

Architecture documentation for the images.loader() function in content.config.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  8265bd9a_d33e_8155_ab80_8430b4f5f57d["images.loader()"]
  417a2168_7db3_8ba7_a451_05ede087524a["content.config.ts"]
  8265bd9a_d33e_8155_ab80_8430b4f5f57d -->|defined in| 417a2168_7db3_8ba7_a451_05ede087524a
  style 8265bd9a_d33e_8155_ab80_8430b4f5f57d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/e2e/fixtures/cloudflare/src/content.config.ts lines 183–192

	loader: () => [
		{
			id: '1',
			image: '@images/shuttle.jpg',
		},
		{
			id: '2',
			image: 'https://images.unsplash.com/photo-1457364887197-9150188c107b?w=800&fm=jpg&fit=crop',
		},
	],

Subdomains

Frequently Asked Questions

What does images.loader() do?
images.loader() is a function in the astro codebase, defined in packages/astro/e2e/fixtures/cloudflare/src/content.config.ts.
Where is images.loader() defined?
images.loader() is defined in packages/astro/e2e/fixtures/cloudflare/src/content.config.ts at line 183.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free