Case image saving finally working