Added gif support for web-resources