Removed theme stuff -- this belongs in the theme.
Added image file type.