Everything except actually publishing the images works in the ImageSwitcher class