Add css to document, not head.  Fix extension on images