Images
Verdict Law organizes images under src/assets/images:
attorneysblogofficepractice-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.
Recommended Formats
Section titled “Recommended Formats”- 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.
Dimensions
Section titled “Dimensions”Use consistent ratios:
- Attorney portraits: vertical portraits, commonly around
4:5. - Blog featured images: landscape images, commonly around
16:9or3: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.
Alt Text
Section titled “Alt Text”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.