fix gif images upload