Changed the Caption GIF image logic