Patrick_ 4 Posted June 12, 2014 Report Share Posted June 12, 2014 I had tons of help from this community and learned so much from you guys, so i thought maybe i can give something back once a while Special thanks to a2mateit For this tutorial you need Aymen's HTTP plugin that can be found here :http://www.ubotstudio.com/forum/index.php?/topic/12837-sell-http-post-plugin-crazy-bonuses-inside/ And you need a basic base64 converter :http://webcodertools.com/imagetobase64converter First convert your image with webcodertools and copy the image tag : http://i.imgur.com/LfMVMf8.png Then copy it into $html decode from Aymen's HTTP plugin : http://i.imgur.com/dmkFqXj.png ui stat monitor("", #status) set(#image01, " {$plugin function("HTTP post.dll", "$html decode", "<img alt=\"\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuFJREFUeNp0U11IU2EYfjadTtLNqVNRpzKn0xWJf8uwzJoJJhphPyqCeFHgpRASOZSJ2oWXBmYX2YWYltoPGv6GIZgLLRUctJzW3Oa24zb3U+lRWOdMkaX2wsPL937v85yH834vw+12wzuaX1WEUOkeBSmFDAo+FOYP0CG/1UN49zO8BRS9dx75swIepMSkIZwbjTBOJBgMJjYdGyAoqNbnsU3+bmss66s7JtDQXaoQ8EUNl8+WQK2bw/rmKmwuK+h7XmAIokLjcDo2G9PLI1g1qhqbKgeaDgUedl1XxEeIG7LEFzC19A5RISlIiT2H6NAEMCkHeosGav0XrBnncSm1GIuaOWgMyy2t1W/ljPudhdH+fgG6kvMVGJvrh1RchILMShwNgiCwsD6OmeU3uCa9jWFlP35tO2KYuyRZIxGk4+v3DxBGpp9IViqVqK2tRXZiMdIS8jGrGkVi9BnQXCa5Qxax/XyhNxmRJb56Irm9vR1yuRxBQUHITMqHwWzCKbY/KO4N2oHkz54VNrsVkSHx/yUnJyd7auE8AaxbFjh3CNqBiHZAWuwm7O7sAUfehMvlApPJ9HzZO3Z3SGw5CdoBaIEVu8NBWeLAQKz90yiTyVBVVYX6+nqQJOmpbRA/qF4u7E47LaD1EUuDBf5sdq4gIgEbZh0yJHn/iAiFQuTk5IDD4XjOQx+fg8lyw2Izwmqx9tAOOnRaPVgBbswujeLl6ONjP5LP53vy4EQnxmZeIJDLhvanjnbQ4fPt85bzWX8ra9O6kVskK8f7yR6YLTqE8SIRzNkn6owaDIw9wdBUF0oKyjE+PQi7zd4y3LHed/iU86v59bwwbnNp4V1otWtYWP4E86bBcxfKC0eqJBuJohT0jzyFxWSrm+gi2o4tU14lT+HL8m0QJSZBmnoFcVH7o9ObNFAuTkKtVtHTaprqtjWeuI10XCwLiqVSDYWbFEQHZXo8r+l1nu51rnj3/xVgAILtTWuORi/NAAAAAElFTkSuQmCC\" />")}", "Global") set(#status, "{#image01} Connecting to the server", "Global") And your done! http://i.imgur.com/i9Siaw4.gif For CSS monitors make sure to use the "Innerhtml" to pick up the image http://i.imgur.com/vPOc8y8.gif So far i only can do it with aymen's http plugin, wondering if its possible with ubot standard resources.If there is a other way, please post in comments, thank you! 2 Quote Link to post Share on other sites
a2mateit 395 Posted June 12, 2014 Report Share Posted June 12, 2014 Hey Patrick, Great tutorial! Nice to see you giving back to the community. Wishing you lots of success in your ubot journey! Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted July 2, 2014 Report Share Posted July 2, 2014 Thanks for the Tutorial Patrick You can do this with the File Management Plugin and if you must html decode it you can use the String Management Plugin both, are free and provided by Aymen as well. set(#file path, $plugin function("File Management.dll", "$open file dialog"), "Global")set(#b64, $plugin function("File Management.dll", "$image 2 base64", #file path), "Global")set(#image01, "<img alt=\"\" src=\"{#b64}\"", "Global")ui stat monitor("", #image01) File Management Plugin http://www.ubotstudio.com/forum/index.php?/topic/13237-free-file-management-plugin-multiple-commands-and-functions/ String Management Plugin http://www.ubotstudio.com/forum/index.php?/topic/16039-free-string-management-plugin/ TC 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted July 8, 2014 Report Share Posted July 8, 2014 This just popped up too http://www.ubotstudio.com/forum/index.php?/topic/16607-loading-gif-when-clicking-a-functions/ Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.