{"name":"image","title":"image","type":"command","url":"https://community.bistudio.com/wiki/image","revid":379425,"updated":"2026-10-31T00:04:49Z","groups":["Strings","GUI Control","Structured Text"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"Creates a structured text containing the given image. Use setAttributes to set additional attributes on the image.","syntaxes":[{"syntax":"image filename","params":[{"name":"filename","type":"String","type_expr":"String"}],"returns":{"type":"Structured Text","type_expr":"Structured Text"},"form":"unary","right":{"text":"filename"}}],"examples":[{"code":["hint composeText [\"Image: \", image \"\\a3\\Data_f\\Flags\\flag_Altis_co.paa\"];"]},{"code":["hint str (composeText [\"Image: \", image \"\\a3\\Data_f\\Flags\\flag_Altis_co.paa\"] == parseText \"Image: <img image='\\a3\\Data_f\\Flags\\flag_Altis_co.paa'/>\"); // true"]}],"see_also":["setAttributes","parseText","text","composeText","lineBreak"],"notes":[{"user":"Spooner","date":"2009-03-21T00:00:00Z","text":"Although there is a dedicated image command, parseText gives more options:\n\n```sqf\n_imageText = parseText \"<img size='5' color='#ff0000' image='fish.paa'/>\"\n```"}]}