HiI have a script library that computes an html file using HTML with Lotusscript. Is it possible to call an image resources so that when the HTML is created in displays the image as part of the HTML file?
Many thanks.
Coll
HiI have a script library that computes an html file using HTML with Lotusscript. Is it possible to call an image resources so that when the HTML is created in displays the image as part of the HTML file?
Many thanks.
Coll
Subject: Image in HTML
myhref := @If(Form = “Response”;“. . “;””) + “a href="” +
@Text(@DocumentUniqueID) + “?OpenDocument">”;
myend := “”;
@ReplaceSubstring(
@ReplaceSubstring(
@Implode(ThreadMap; @NewLine);
myhref; “img src="/icons/vwicn118">” + @Right(myhref;“[”) + “”
);
myend; " <img src="/icons/vwicn118">"
)
Subject: RE: Image in HTML
HiThanks for the help. How do I insert this code into LotusScript and HTML…here is an example of my code:
'//heading
html = html + _
{<b>Quotation</b><hr noshade size=1>}
Dim IENCompanyName
Dim IENCompanyAddress
IENCompanyName = doc.IENCompanyName(0)
IENCompanyAddress = Evaluate({@ReplaceSubstring(IENCompanyAddress ; @NewLine ; "<br>")} , doc)
'//company info
html = html + _
{<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0>} + _
{<TR VALIGN=top>} + _
{<TD WIDTH="100%">} + _
{<b><DIV ALIGN=right><font size=5>} + IENCompanyName + {</font><BR>} + IENCompanyAddress(0) + {<BR><BR></DIV></b>} + _
{</TD>} + _
{</TR>} + _
Many thanks.
Coll