Re-testing code to compute the base64 of the form image.