Added callback for JPG data as a data URI