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
  5b821eb6_095c_71bc_bf4e_58f9ccff5ebc["images.loader()"]
  6701f32e_5f47_2ad2_aaa6_e72b4a79cbcc["content.config.ts"]
  5b821eb6_095c_71bc_bf4e_58f9ccff5ebc -->|defined in| 6701f32e_5f47_2ad2_aaa6_e72b4a79cbcc
  style 5b821eb6_095c_71bc_bf4e_58f9ccff5ebc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/fixtures/content-layer/src/content.config.ts lines 215–224

	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/test/fixtures/content-layer/src/content.config.ts.
Where is images.loader() defined?
images.loader() is defined in packages/astro/test/fixtures/content-layer/src/content.config.ts at line 215.

Analyze Your Own Codebase

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

Try Supermodel Free