Thread:Extension talk:Title Icon/Love the Concept, but need it to work in the Foreground skin/reply (20)

We use $wgAllowImageTag, too, and it does not cause any trouble.

As far as I can tell, there's some JavaScript that comes along after TitleIcon has inserted the image and removes the size attribute. Although it is clearly present in the HTML at one point, it then is not used for the computed layout. It could be that the code is part of the skin.

The only other fix I can think of might be a pretty sizable rewrite - using the MediaWiki mechanism to generate a resized image, which may actually have some other advantages. I will look into that.