support for images and animations on light box