Skip to content

Images

Verdict Law organizes images under src/assets/images:

  • attorneys
  • blog
  • office
  • practice-areas

Images in src/assets can be imported and optimized by Astro. Files in public are served unchanged and are best for assets that need a fixed URL.

  • Use AVIF or WebP for production photography when possible.
  • Keep original source files outside the final repository if they are very large.
  • Use SVG for simple logos or icons when appropriate.
  • Use JPEG for photography when compatibility or editing workflows require it.

Use consistent ratios:

  • Attorney portraits: vertical portraits, commonly around 4:5.
  • Blog featured images: landscape images, commonly around 16:9 or 3:2.
  • Practice-area heroes: wide landscape images, commonly around 16:9.
  • Office imagery: wide and medium crops that work in responsive layouts.

These are recommendations, not guaranteed theme constraints. Check the relevant component before final cropping.

Write alt text that describes the image meaning. For attorney portraits, use the attorney name. For decorative office imagery, use concise contextual text or leave empty alt text only when the image is truly decorative in the implementation.