select mimetype, image from table where rowid=nn #### print header(-type => mimetype,-Content_Length =>length(image)),image;