Jump to content
Sign in to follow this  
D3VL3R

No image in brief

Recommended Posts

Hi, in my mission folder I have a stringtable.csv where is for exmpl.:

STR_BRIEF_8,	"BLABLA.<br/><img src='Images\test.jpg' width='256' height='256'/>", "BLABLA.<br/><img src='Images\test.jpg' width='256' height='256'/>",

in Images folder is pic test.jpg with size 256x256px, result is, that in briefing I see just BLABLA and I dont know, where is problem :(

Share this post


Link to post
Share on other sites

I spent a lot of fruitless effort trying to get the folder paths to work with briefing images, but in the end I've just ended throwing them to the mission folder's root, because at least that works.

It should still display a message that the image wasn't found, though.

Share this post


Link to post
Share on other sites

Only problem I've had like that has been the file path to image being correct. Try to download a briefing template off armaholic, perhaps it can show you your errors

Share this post


Link to post
Share on other sites

Magirot:

Thanks man!

Solution:

<img image='test.jpg' width='256' height='256'/>

Share this post


Link to post
Share on other sites

D3VL3R, there are not apostrophes :). Correctly is:

<img image=""[b]test.jpg[/b]"" width=""256"" height=""256"" />

Why you have in your stringtable.csv defined the pic ? :confused:

STR_BRIEF_8,    "BLABLA.<br/><img src='Images\test.jpg' width='256' height='256'/>", "BLABLA.<br/><img src='Images\test.jpg' width='256' height='256'/>",

Corrected stringtable:

LANGUAGE,"English","Czech"
STR_BRIEF_8, "BLAHBLAHBLAH", "BLABLABLA"

If you want to see your image and the pic in your briefing, use this (for the example in the init.sqf):

taskName setSimpleTaskDescription [localize "[color=#333333]STR_BRIEF_8[/color]"; "<img image=""test.jpg"" width=""256"" height=""256"" /> ", "TaskTitle", "TaskWaypoint"];

Edited by [CSLA]LUKI

Share this post


Link to post
Share on other sites

[CSLA]LUKI, it was just example. I have all texts on one place.

There are two ways how to use apostrophes ' and "" as Magirot told you, but I still dont know, why source cant be "Images\test.jpg", but "test.jpg". Engine logic or bug?

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  

×