modify imageshow and slideshow.