Switch image variable to slide

Having image and img was confusing (as seen by a change in this
diff which fixes an incidence of confusion).