render gif in page