{{tag>Function Function_List Images}} ====== IMAGE_DATA ====== ===== Description ===== Returns the type and data of an image as a Base64 data string that can be used as the source of an HTML image element, for example in a document template or an HTML form ===== Syntax ===== ''IMAGE_DATA (picture)'' ===== Parameters ===== An attribute of the Picture type ===== Returns ===== **Text**: the image as a data string (its type and its Base64-encoded data), or undefined if there is no image ===== Example ===== ===== Related ===== [[ref:a_f:f:af:image_width|IMAGE_WIDTH]], [[ref:a_f:f:af:image_height|IMAGE_HEIGHT]], [[ref:a_f:f:af:scale_image|SCALE_IMAGE]]