Adding methods to retrieve the automatically generated preview images and updating the preview image.