add gif to allowed formats
add gif to allowed formats