Page 1 of 1

Replacing variables in text with StiImage

Posted: Fri Oct 07, 2022 12:09 pm
by mswierczynski
Hello,
Im struggling with replacing variables in template with StiImage

I put the text in the report like this:
download/file.php?mode=view&id=28091

TextVariable example content is "some example text {graphics} more text ...."

So far I have checked the following solution from post: viewtopic.php?p=164299
The "replace" method works for replacing occurences with text variables , but it is not possible to replace the text with an image variable.
How can I insert an image in place of the occurrence of the phrase {graphics} in the text of TextVariable?

Thank you

Re: Replacing variables in text with StiImage

Posted: Sun Oct 09, 2022 8:51 am
by Lech Kulikowski
Hello,

It is not possible to insert an image in the Text component. You should use the Image component.

Thank you.