Switches image class around.