Convert base 64 image to media object

A post was split to a new topic: Jpeg corrupts when adding to data table