Added swapImage