grandelemental 21 Posted January 24, 2017 I've been trying to get an image gotten from config to display in a bigger form. parseText allows resizing images, but I can't get it to recognize image path as a variable, not string. The following doesn't work, as it probably recognizes the variable as a basic string. _imgPath = getText(_config >> "picture"); parseText "<img size='7' image=_imgPath/>"; I've been messing around with format command, also, but with no success. =/ Is there any way you can resize images gotten directly from config? Share this post Link to post Share on other sites
theend3r 83 Posted January 24, 2017 parseText ("<img size='7' image=" + _imgPath + "/>"); Share this post Link to post Share on other sites
grandelemental 21 Posted January 24, 2017 2 hours ago, theend3r said: parseText ("<img size='7' image=" + _imgPath + "/>"); Thanks! =) Share this post Link to post Share on other sites
killzone_kid 1330 Posted January 24, 2017 parseText format ["<img size='7' image='%1'/>", _imgPath]; Share this post Link to post Share on other sites