How to display image in original quality?
I'm trying to display some charts made in excel (because ninox chart making is way too complicated) with an image field in a form view set up as a dashboard. However, whatever I do, whatever setting I set, the images are always fuzzy low quality previews. If I click on it, it shows full quality, but I need it to be visible as the image field, all of them next to each other. I will be updating these images weekly with a fresh one.
I'm willing to go the HTML way if there is no other, but I have yet to figure out how to display an image that is uploaded to Ninox, with HTML.
Any help will be much appreciated!
5 replies
-
https://forum.ninox.com/t/y4hcxn7/no-plot-null-values#g9hcxcw
Maybe help, Filip.
-
Filip Serica said:
I'm willing to go the HTML way if there is no other, but I have yet to figure out how to display an image that is uploaded to Ninox, with HTML.I wasn't going to say anything about this, but damn it grinds my gears when I've spent time putting together a reply, accidentally swipe right and the browser (Safari) moves to the previous page and my reply is lost!!
Here we go again. You can use the html() function in a Formula field. I had to look at some old code to refresh my memory and I modified it to make a simple example. This was done with the Mac app and used a local image.
html(" <img src=""/Users/seansullivan/Library/Containers/de.ninoxdb.ninox-mac.Ninox/Data/Documents/data/Forum Scraper - Test/files/D/78/5f16cb6def3f87342f32dd60.jpeg"" style=""margin: 25px 0 0 25px;width: 650px;height: 452;""> ")
For the web version, I think you need to Share the image file and use that address for src. For the image dimensions, I figured out the maximum width mainly by trial and error. I modified the width until it fit inside my Formula field without causing a horizontal scroll bar. I divided that width by the actual image width to get a percentage for calculating the height.
Actual image dimensions: 2002 x 1390
Maximum width for an image in my Formula field: 650
Percentage (rounded): .325
Height: 452
The margin is set for top and left offset.
Content aside
- 1 yr agoLast active
- 5Replies
- 219Views
-
5
Following