Jump to content
jhoulihan

PDF Previews not displaying after switch from Mac to PC server

Recommended Posts

We recently upgraded our server from a MAC solution to a PC solution and we lost the ability to view our pdf files hosted on this server via our FileMaker solution. Instead, we just see an Adobe PDF icon. Our assumption is that this is related to our Mac server generating our previews and the PC not generating that preview.

The display does work fine for jpg's and some other files hosted on the server, which is why I think it's related to how the PC server is rendering, or lack thereof, a PDF preview.

Share this post


Link to post
Share on other sites

Try creating a calculated container field with:  Base64Decode ( Base64Encode ( TABLE::ORIGINALPDF ) ; fileName )

Share this post


Link to post
Share on other sites

Hi jhoulihan,

Your assumption is correct. PDF previews will only work when running the standalone version of SuperContainer on a Mac. That configuration has access to a Mac only image library called Core Image. That library gives SuperContainer the ability to generate thumbnails of many different kinds of image files. Unfortunately there is not a Windows equivalent to this. SuperContainer on Windows can generate thumbnail previews for jpg and png but will serve the default icon for the file type for anything else. You can alternatively use the RawData URL to serve the actual file instead of a thumbnail preview.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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