Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Hello @Birbeck, Julie , and thank you for reaching out.
.NET 8 does not impose specific pixel dimensions for images displayed on a website. The appropriate dimensions generally depend on the intended layout and target screen sizes.
Depending on what you're trying to achieve:
1. Recommended image dimensions
For a full-width image, common starting widths include:
- Smaller screens: 640–960 px
- Laptops and desktops: 1280–1600 px
- Larger or high-density displays: 1920–2560 px
The aspect ratio also depends on the intended layout. For example:
- 3:1 (1920 × 640): Wide banner
- 16:9 (1920 × 1080): Taller image
These are examples rather than fixed requirements.
2. Text readability
If your image contains embedded text, keep in mind that it scales along with the image and may become difficult to read on smaller screens.
Common approaches include:
- HTML/CSS: Render text separately from the image.
- Responsive images: Use different image versions for different screen sizes.
As some parts of the original question are unclear, I've provided general guidance based on a few possible interpretations. If this doesn't address your question, please feel free to clarify what you're referring to and what you're trying to achieve so we can provide more specific guidance.
If you found my response helpful or informative, I would greatly appreciate it if you could follow this guide for your confirmation. Thank you.