Ok…
Been following global array threads, and now am loading a global with an array (set as media).
The data is going in, and I can see its there.
Question:
Now, is there a way to reference the elements of the array with a blob loader or other method to display and print within servoy?
ie,
var fs_numb = globals.fs_temp_print.length
for (var i = 1; i <= fs_numb; i++ ) {
globals.fs_temp_print2 = globals.fs_temp_print2 + '<TD><img src= "media:///servoy_blobloader?global="'+fs_temp_print[i]+'"></TD>'
}
or
var fs_numb = globals.fs_temp_print.length
for (var i = 1; i <= fs_numb; i++ ) {
globals.fs_temp_print2 = globals.fs_temp_print2 + '<TD><img src= "media:///servoy_blobloader?global=fs_temp_print[i]"></TD>'
}
Neither of the above work. Can’t seem to reference the elements of the global array to show the images contained in them using the blobloader.
Is this possible? Any other method for dynamically generating an array of images to display in HTML?
The reason:
Our servoy application utilized chemical structures. The text data (mol format) is minimal to save in a db. We can display these in servoy itself using beans, but can’t print them very well (ie, getImage is very low resolution).
Our chemical beans have ways to generate nice, printable images BUT we don’t want to save these in the DB (ie, 1-15MB per image for a high resolution image of a large chemical structure - 300dpi).
We’re able to generate the images, store them in a global array (type media) but can’t get servoy to display this array to actually print.
Any ideas?
We could create a temp table for this, but would prefer to keep it in memory so that DB writes / deletes are avoided for these large, generated files and its kept on the client machine.
I read that in 3.1 + you can reference a global using the blobloader. Can this be updated to reference an array element of a global if its an array?
Or is there another method to do this? 
Thanks!
NCM
FSCI