add support for imageswitcher