Limited type of file to jpeg or png for upload

Closes https://github.com/myfossil/myfossil-theme/issues/102