Skip to content

Implement Astro Image component for optimization #3537

@dannon

Description

@dannon

Description

Astro provides a built-in Image component that automatically optimizes images (resizing, format conversion, lazy loading). Currently images are served as-is.

Benefits

  • Automatic WebP/AVIF conversion
  • Responsive image generation
  • Lazy loading
  • Reduced bandwidth and faster page loads

Implementation

  1. Update image handling in ArticleLayout and other components to use Astro's <Image> component
  2. Configure image optimization settings in astro.config.mjs
  3. Handle both local and remote images appropriately

Reference

https://docs.astro.build/en/guides/images/

Metadata

Metadata

Assignees

No one assigned

    Labels

    astro-migrationIssues related to the Gridsome to Astro migration

    Type

    No type

    Projects

    Status

    REPORT HERE

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions