HTMLText image (<img>) coloroverlay or background color
Posted: Sun Mar 07, 2010 2:17 am
I am using a project I found called "XML Tree". Working great for my project.
My question pertains to the <img> tag for inserting icons. I understand that RR has a "rudimentary" version of html built in for styling text and inserting graphics with text in a field. What I would like to do is to change the overlay color of an image inserted into the field. Can a single image referenced multiple times in a field have it's background color or overlay color changed? If so how do I know which one is which?
Basically what I'm doing is loading this icon for attributes in an xml file. Each of these attributes has an rgb color value I can extract. I would like to apply that rgb color to the image used as an icon for that line of the xml tree in the field. The code used to apply the icon is very simple:
Is there a way in that spot to apply the foreground or color overlay value? At this point in the processing I would have access to the color value in an array and can easily pull it out and "stick it in there"... uh... if I knew how.
IT seems that the HTMLText doesn't have that kind of styling? Is there a way to access an "ID" of that image? The tricky part for me is that it's just one image I want to change for each tag in a specific section of the xml or html text in a field.
My question pertains to the <img> tag for inserting icons. I understand that RR has a "rudimentary" version of html built in for styling text and inserting graphics with text in a field. What I would like to do is to change the overlay color of an image inserted into the field. Can a single image referenced multiple times in a field have it's background color or overlay color changed? If so how do I know which one is which?
Basically what I'm doing is loading this icon for attributes in an xml file. Each of these attributes has an rgb color value I can extract. I would like to apply that rgb color to the image used as an icon for that line of the xml tree in the field. The code used to apply the icon is very simple:
Code: Select all
"<img src=" & quote & imageVariable & quote & ">"
