Modified routes in order to take in new images and process thumbnails