Jump to content
Sign in to follow this  
sandbird

Show picture inside CT_HTML dialog

Recommended Posts

I have a dialog box in which i am showing an .html page like this:

class hlp_html: RscHTML_Help
{

idc = 1100;
filename = "custom\rules\help.html";
 text = "";
x = 0.164376 * safezoneW + safezoneX;
y = 0.348684 * safezoneH + safezoneY;
w = 0.677395 * safezoneW;
h = 0.478422 * safezoneH;
};

While i am showing the text i also want to show an image like a normal html file could do. For example, is this possible ?:

<h2><a name="Rules"></a></h2>
<h2><a href="#Main">BACK</a></h2>
<br>
<h3>General Rules:</strong></h3><br>
<p>-<b>NO</b> voice in sidechat!</p>
<p><img image="images\noside.paa" /></p>

of course the above doesnt work... Is there a way i can add a picture inside as well?

-Thanks

Share this post


Link to post
Share on other sites

yeah i've seen that page but doesnt show how to use the img tag inside the CT_HTML.

No errors no nothing :/

Share this post


Link to post
Share on other sites

Try to use this path to picture:

<img image="custom\rules\images\noside.paa" />

Share this post


Link to post
Share on other sites

yeah i tried without <p> tags...basically tried any combination possible...i dont think its possible.

But why does the wiki say pictures as well.

Share this post


Link to post
Share on other sites
i dont think its possible.

I'm sure that it's possible. Try to ask in forum for Arma 3.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×