Some fixes in the image formatter.
Some fixes in the image formatter.

erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments,erickt/pygments