replaces iframes with gif animations