1 of 1 people found this helpful
You can add a Web Viewer to your layout and have the Web Viewer Setup use a Cutom Web Address which pulls from your field which has the URL in it.
You then have addtitional options which you will need to decide on (allow interaction, encode URL. diplay progress bar etc etc.
Thanks for the suggestion. I just tried this, but the image is loading really slowly. The image URL field is in text format. Could that be the problem? Also, Is there a way to adjust the size of the image?
You can put in a bit of HTML/CSS magic into a calculated "page" that Web Viewer will display:
Notice the "data:..." at the bottom?
Use the HTML call to the image as if it is a web page. An you might create a calculation field something like:
the style will be where you set the size you need.
Then in the web viewer:
"data:text/html," & yourCalculatedHTML
You may or may not need other styling, but see if that helps.
Sorry, I'm new to all of this!
I created a new layout in Filemaker 13. I inserted a web viewer, then double clicked on it. For the settings, I put in custom web address, and then put in my image field. This seems to work now, but the image is too large. Can you explain where I would go from here if I just want to see the image on filemaker, not on a web site? Thanks!
I don't see where to put the html you are suggesting. Thanks!
<center><img src='" & tablename::filelocation & "' & 'width=100 height=125' "& " & '''></center>
Change width and height to desire size.
Sample file Dropbox - ViewImagePDFwebviewer.fmp12
your syntax is incorrect for 'width=__ height=__' this should be in the style attribute of the img tag:
or use the style tag in the head, as I showed.
Not the way you wrote it.
Good link. The old HTML does have width & height attributes. The new HTML has deprecated these in favor of style attribute or tag.
Sent from miPhone