This function returns a Block with an MJML image tag. For local files, the image bytes are stored and later converted to CID references by mjml_to_email().
Parameters
file:str
Path to local image file or HTTP(S) URL. Local files are automatically read and embedded. URLs (http://, https://, or //) are used directly.
alt:str=''
Alt text for accessibility. Default is empty string.
width:Union[int, str]=520
Image width. Can be an integer (interpreted as pixels, e.g., 520 → “520px”) or a CSS string (e.g., “600px”, “50%”). Default is 520 (pixels).