change http to gif