Jump to content
UBot Underground

Trouble with images in ui html panel


Recommended Posts

I've found the best way to work with images is to upload them someplace... they will need to be uploaded eventually if you plan on distributing the bot anyway, so usually I do it that way.

 

Seems I had trouble with local images in the past which is why I started doing it this way, it was a while ago...

 

:rolleyes:

  • Like 1
Link to post
Share on other sites

I've had the most success uploading them elsewhere... for mulitple reasons.

 

#1... I can change the graphic without deploying a new version.

 

#2... I can see who is hitting the graphic and therefore, who is using my bot

 

#3... It keeps the size of the bot lower

Link to post
Share on other sites
  • 9 months later...

I know it's an old thread but I thought that this may help someone. I have converted my images to Base64 (there are many free online tools) and then used the Base64 encoding of the picture instead of the actual file. I did this also for some background images at my UI Panels.

Link to post
Share on other sites
  • 2 weeks later...

The best way is to think about the end in mind. Learn a good installer packaging program and insert the support files into it from square one. This way it works in development and on the customer pc. Little more work but worth it for long term success.

 

Frank

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...