comments, images to and from database