Jump to content

Image in Web Viewer won't show up in IWP


This topic is 1190 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi I can not fiddle out how to make it work. I have tried several browsers with same result. We are using FM 12 server. I tried this file paths

file:///C:/file.jpg

C:/file.jpg

file://localhost/C:/file.jpg

and few others
 

I'm using this code in the Web Viewer which is working fine in FM client but not in browser

"data:text/html,
<html>
<head>


<style type=text/css>

" & table::style & "

</style>
</head>
<body>
<div class='thumb'>
<span class='helper'></span><img class='thumb' src='" &  table::ThumbnailPath & "'>
</div>
</body>
</html>"

 

If it's caused by fact image is not present in web site folder as stated in document then my question is if it possible use unc network path in filename like file://///other_than_fmserver/networkpath/file.jpg. I wasn't successful either. 

Any help appreciated

 

Thank you

Edited by AlesD
Link to post
Share on other sites

This topic is 1190 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Similar Content

    • By ESpringer
      Dear FMForums folk,
      I'm a long-time personal user, building and working out of my own solutions. (I used to post here often, but for years now have been happily using rather than designing...)
      One of my databases uses FM web viewers as a front-end for my university's moodle (cms platform), tunneling in based on various URLs for students, assignments, etc. 
      In the past, a cms like moodle (and before it we had BlackBoard) would need me to authenticate once, and then all subsequent url queries within a session were served up properly, just as if I were using an ordinary browser.
      With more recent versions of moodle, suddenly authentication fails to survive any transitions at all (from one tab to another, from one record to another, toggling into layout mode and back). It's as if the browser session resets with every step of my workflow. 
      I've just upgraded to FM19 and delayed posting to see if that would help, but I'm still getting the constant authentication roadblocks. 
      What's preventing FileMaker from retaining authentication via PHP in the way that browsers do?
      (I'm running on Mac OS 10.14/Mojave, so it's emulating safari, yes? But Safari itself is having no trouble.)
      Many thanks for any ideas!
       
    • By innodat
      Does anyone know how to fix an image from appearing too small within a container in WebDirect? In FMP it fills the container. Tried to "play" with most settings relating to containers, including margins, frame, etc. - no success. The problem presents itself in Safari in macOS Catalina, as well as Edge on Windows 10

      See image attached.
      I sure hope this isn't a bug! Because if it's a bug then it will get fixed... well, never. 
       

    • By jaboda
      Hi,
      This is a peculiar bug which seems to have appeared with a recent Chrome update.
      Create a Web Viewer control with the following content:
      "data:text/html,<html><body bgcolor=\"#EEEEEE\">HELLO</body></html>" Then view the layout in WebDirect in Chrome. You'll notice it doesn't display anything. Remove the bgcolor and it works as expected. It also works in FileMaker.
      There are numerous workarounds but I can't find out how to fix it.
       
      Anyone else experienced this?
    • By 360Works
      We get excited about adding innovation to the FileMaker platform! Today we are showing you how to use machine learning in FileMaker to detect objects, scenes, and images.

      This can be useful for FileMaker databases that need to be able to identify objects and characteristics within an image file and report on the findings within the solution.
      Joe Martin, Senior Developer and Product Lead at 360Works, is demonstrating the process in the video below. He will be building off of AWS scripts from Jesse Barnum, President of 360Works, from his presentation at the 2018 FileMaker Developer Conference. See Jesse's past presentation and scripts in "Session Materials".
      FileMaker Image Detection Video and Free Demo File
        Download the Free Demo File

      Download the Demo TXT File
      Want more AWS technology in FileMaker, but no time to implement it into your solution? Let us do the work for you. Email us at infobox@360works.com for consulting or questions.
        Stay updated with 360Works
       
    • By jaboda
      This is a bit of a bizarre one which ate 90 minutes of my morning - so I thought I'd share it in case anyone else encounters it.
      One of our FileMaker use cases has an embedded web viewer displaying a Google Sheet (it's a runtime Kiosk app but the same issue applies to FMPro). This worked well and the users could update the spreadsheet (a rota).
       
      However this morning I noticed a strange bluey/grey overlay (see attachment). After quite a bit of digging it seems Adobe Flash is still installed in IE 11 and this was causing some form of issue.
      I disabled Flash in Group Policy (gpedit.msc) and the problem went away. There are other ways of disabling it which should also work.
      This was on Windows 10. I have now tested it on two machines so it should be fairly easily reproducible.
      I assume it's somehow caused by the 2nd October update to the Flash control.
      Anyway hope this helps if others have the same issue.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.