iam trying to load image from resource inside image htmlTag as example
<img src="'+ Resourceimage +'">
i tried to do something like this
function getFullHTML(res:string):string;
var
sURL : string;
resorceimg : TResourceStream;
begin
resorceimg := TResourceStream.Create(HInstance, res, RT_RCDATA);
sURL := 'res://'+ resorceimg +'';
end;
then i call the function like this
<img src="'+ getFullHTML('imagename') +'">
but i cannot use a TResourceStream
into string i think iam doing it in horrible way how exactly i can load image from resource into html image ?