def body_block_image_content(tag):
image_content = OrderedDict()<EOL>if tag:<EOL><INDENT>copy_attribute(tag.attrs, '<STR_LIT>', image_content, '<STR_LIT>')<EOL>if "<STR_LIT>" in image_content:<EOL><INDENT>set_if_value(image_content, "<STR_LIT>", "<STR_LIT>")<EOL><DEDENT><DEDENT>return image_content<EOL>
format a graphic or inline-graphic into a body block json format