Reject gif images as profile pics.

Also added support for bmp as that is what the backend supports