Added GIF scaling.

There seems to be an issue with the gif images. The image have invalid data, ubuntu refuses to show them, and in FF signifcant black artifacting. jpeg and png do not have this problem