make gif link relative