AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Loading picture gif3/21/2024 ![]() ![]() Maybe give it a go and see what happens? Be sure to check your browser’s JavaScript console (inside developer tools) for any errors. Image = document.getElementById("imageToUpdate") I haven’t tested it myself, but I feel like something like the below might work: You should make sure that the function you define actually gets called.I don’t think that document.id does anything useful. The way to do that is document.getElementById(id). You should give the image an id (not a name), and then use that id to refer to it in the JavaScript.As I mentioned, your HTML should not include tags the Grafana web page already has a body and you can’t nest another one inside it.A couple of points regarding the last few versions you shared: Hi I’m afraid it looks like you’re stabbing in the dark here. ![]() ![]() If you have a folder called Views where you have a View that will show the image, to get back up to Images, youd have to use 2 dots: imgBox.ImageLocation './Images/my.gif'. My URL loads perfectly via the Text panel in Grafana when I have justīut like the original poster here, my image (which is a still image from a video camera) does not refresh. ImageLocation works off the root of the Visual Studio project, so say you have an Images folder, your path is then imgBox.ImageLocation '/Images/my.gif'. Images are all based on the loseless vector format SVG to optimize the image quality and file size. I have tried as many ways as I can to get my image to refresh WITHOUT clicking the refresh button on the browser, but none have worked, so maybe you could help a brother out (even though this is the Grafana forum)… 52518929 Service for making ajax loaders / loading gifs / preloaders and animated icons, live background, animated text in GIF / SVG / APNG / CSS. Animation for infographics, web, app, game interface. You can choose the most popular free loading GIFs to your phone or computer. We regularly add new GIF animations about and. Find the GIFs, Clips, and Stickers that make your conversations more positive, more expressive, and more you. - Circular (Spinners) loading GIF, SVG & APNG animations (AJAX loaders) Half circle. Most discussions of this ‘refresh image with a new one’ topic are ~10 years old, so obviously this is a well studied problem. Loading.io is brought to you by: PlotDB Ltd. The best GIFs of loading on the GIFER website. GIPHY is the platform that animates your world. I am a total klutz when it comes to HTML or Javascript. ![]()
0 Comments
Read More
Leave a Reply. |