Jump to content
UBot Underground

Using image variables


Recommended Posts

GRRRR, I have spent all day on this one thing that I know is just a little something I need to add or change, but I can't figure it out. I had this working before in another bot, but I can't remember how I did it and I don't know what happened to that bot.

 

Ok, I'm trying to set a variable to reflect an image. I'm doing this for a ui panel stat monitor (instead of displaying text in the monitor I want to display images).

 

set(#status, "<img src=\"status.gif\">", "Global")

I also tried

set(#status, "<img src=\'status.gif\'>", "Global")

 

And then in the UI html panel I followed the instructions on John's youtube tutorial. In the UI panel display it's showing the full html of the img tag.

Link to post
Share on other sites

For images I usually upload them someplace and access them remotely rather than locally...

Yeah, I did that. I just didn't want to post the entire URL here. it's really something like

set(#status, "<img src=\"http://mydomain.com/status.gif\">", "Global")

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...