what I don't like with this is that you _actually_ display the rendered icon in this function. (`img.src = ...`). That's why I thought that everything could be done in `displayRenderedIcon`.

So the name is very misleading and I don't want that it stays like that. But I'm ok with having 2 functions as long as we find correct names for them. (and I guess we should try to keep `displayRenderedIcon` with this name because it is used in a lot of places)