Added support for .gif images