setId to replace one image with another