Adding the image controller