Fix preview of some gif URLs (like tenor.com). Contributed by Philippe Daouadi.