Why would you use a web viewer for this if it is in a field? Why not just place the field on your layout, located behind all the others to show the image?
A cartesian join relationship or global storage may be used to displays the same image regardless of what record is "current" on your layout if that is what you need.
I apologise for not quiet giving enough detail....
i am using a third party plugin to FileMaker called GoDraw (http://www.geistinteractive.com/products/draw-with-filemaker-go-godraw/)
this enables me to draw on my ipad onto an image and save the drawing to the database. This work brilliantly... However I need a background image to draw onto. The whole plugin uses a web viewer and has the capability of adding in a background image - it just asks for its location. I have contacted the developer and they said the image can be stored in the same FileMaker data see and it is just referenced.
The image needs to be encoded into a base64 string which I have done.. This has then been put into a new table containing only 1 field with this string in it. I just need to reference it.
I hope this makes sense... This is the final piece to my puzzle & I would be appreciative of any help.
thanks in advance.
I have not used GoDraw, but maybe this will help?
It looks like if you have this in your webviewer, you would change the "Drawings::DrawingDataUrl" to the field you want to use, it should work.
I suppose you might be looking at this:
which does not reference any FileMaker fields.
If you want to use the encoding, then take the encoded part and concatenate the text in the webviewer, something like "<img src='data:image/png;base64," & Table::encodedTextField & "/>" I'm only guessing, since I really haven't used this before.