code now saves images to database and loads them back in to an image feed.