It's no longer possible to specify jpg/gif/png etc... to count as page hits in awstats (seems to have been since version 7.0). Overriding the config option in awstats.conf to allow images as pages (specifying their extensions) has no effect.
See this stackoverflow thread for a more detailed description of the issue, followed by a "hack" to make it work again (removing awstats code).
Possible to make this work again? The hack works fine, but gets overwritten every time awstats is updated.