add gif and jpeg