0

html() function not showing images

I'm using the html() function to display images held on local web server. This I am sure was working, until I changed the image filenames and now I am unable to get it to work.

I am also unable to display a local image file, so my first thought is that the html() function is foobar'd in version 3.18.3 of the MacOS app.

I see exactly this happened about 5 years ago and was subsequently fixed, but has anyone noticed this problem rearing its ugly head again?

My understanding is that this should work:-

html("<img src=""http://server:port/local/images/channeLogos/Radio.png"">")

I've tried with all combinations of quotes I can think of, but nothing is able to return that image, despite the actual URL working perfectly and e.g. Safari immediately displays the image.

Has the html() function changed in some way or is it simply broken again?

3 replies

null
    • UKenGB
    • 3 days ago
    • Reported - view

    Been playing with this some more and by changing the actual image filename to all lowercase and also in the function above, it then was actually displayed.

    Then I changed back to mixed case and although by clearing the cache of the browser, that accurately responds to what does or does not exist, Ninox however insists on displaying the image (lowercase name) that does NOT exist. I've switched records, tables, shutdown Ninox and restarted it but still showing the file that no longer exists by that name. So caching is getting in the way of troubleshooting.

    I've tried with a local file but no matter what I do, Ninox will not display it.

    So all a bit odd really and very strange that simply changing to all lowercase for the filename made it work, even though the full path is mixed case.

    Reached something of an impasse now. Anyone having success with trying to use the html() function to fetch an image?

      • Rafael Sanchis
      • Rafael_Sanchis
      • 2 days ago
      • Reported - view

       

      Look

      https://forum.ninox.com/t/60ypc12

      • UKenGB
      • 2 days ago
      • Reported - view

      Thanks, but um, not sure what sorting a list has to do with the html() function not able to find and display an image file?

Content aside

  • 2 days agoLast active
  • 3Replies
  • 31Views
  • 2 Following