read mms text and images from db