Merge pull request #324 from houqp/houqp-master

add pic document type for jpeg
Nicer close button, solves #321.
Merge pull request #325 from giorgio130/master

Nicer close button, solves #321.