Chrome extension icon not appearing?

google-chrome, google-chrome-extension, icons

Solution

The manifest key that controls the icon in chrome://extensions/ is `icons.48`.

So, make sure your file "icon48.png" exists and is in the right place.

Also, documentation mentions:

You may provide icons of any other size you wish, and Chrome will attempt to use the best size where appropriate.

You can also provide icons that are not of the "announced" size, e.g. a 128x128 icon for a 48x48. It will be scaled as necessary; but it's best to create a scaled version yourself.

It should be of an appropriate format.

Static images can be in any format WebKit can display, including BMP, GIF, ICO, JPEG, or PNG. For unpacked extensions, images must be in the PNG format.

Finally, make sure you reloaded your extension after making those changes.

Problem

I'm trying to get an icon to appear for an extension at chrome://extensions/ page. My manifest is as follows: ``` { "name":"Hello World", "version" : "1.0", "description":"Hello World", "icons": { "19": "icon19.png", "38": "icon38.png", "48": "icon48.png", "128": "icon128.png" }, "browser_action": { "default_icon": { "19": "icon19.png", "38": "icon38.png", "48": "icon48.png", "128": "icon128.png" } }, "manifest_version": 2 } ``` As you can tell, I've tried putting icons all over. They are all the corresponding size, but I simply cannot get an icon to appear in the extensions menu. Thanks in advance.

Original source