pass the images to images_controller