add support for gif upload