updated controllers, views, and models associated with retrieving the image id of the main image and checking the correct radio button