works for some gif images now