Displaying 1 result from an estimated 1 matches for "base_64_encoded_data".
2008 Feb 18
3
Displaying a base64-encoded image within an rhtml template
I''m working on generating FedEx labels for quick & easy shipping.
FedEx returns the label as a base64-encoded string. Assuming that
''match'' is the base64 string containing the label data, here is what I
have to display the image:
send_data image, :filename => ''fedex_shipping_label.png'', :type =>
''image/png'', :disposition