How to declare multiple app icons in a web manifest
Answer in brief
Give each manifest icon a valid src and accurate sizes and type values when supplied. Provide files whose real pixels match the declared dimensions.
Verify install assets
Declare separate 192-by-192 and 512-by-512 PNG files for a project that exports both. Open each resolved URL and measure its intrinsic dimensions. Check that manifest-relative paths still resolve after deployment under a subdirectory.
Verify relative paths from the manifest location
A manifest at /assets/site.webmanifest with an icon src of icons/app.png resolves the image below /assets/icons/. Request the resolved address directly after moving the manifest. A working icon URL written relative to the document can mask an incorrect relative reference in the manifest.
Sources
- [1] Web Application Manifest — W3C, accessed November 23, 2026
Frequently asked questions
Can I list 512x512 for a 192-pixel file?
Declare the actual available dimensions. Editing the metadata does not create a higher-resolution asset.