Fix gif upload