Jump to content

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

Recommended Posts

Hi everyone

i'm new in filemaker, i'm using filemaker 17 and currently i'm involve in a proyect but i have a problem that i can't resolve, maybe someone of you have had the same problem.  

I'm saving images in base64 format in a database to show them in a layout with web viewer,that doesn't has any problem, the problem is that i'm using a portal and i didn't know that portals don't support web viewer. I have to display those images but i can't remove the portal since i didn't do that layout and it has scripts using it along with the portal, is there a way to show images saved in base64 without use web viewer? (I've already tried to use container field but it only show a "?" image 😓 )

 

My English is not the best but I tried my best ,Thanks for your help
 

Link to post
Share on other sites

I am afraid I don't understand your explanation. You should have a text field containing base64 encoded image data. Then a calculation field (result is Container) =

Base64Decode ( YourTextField ; "name.png" )

should display the reconstructed image (assuming it was a .png image originally).

Link to post
Share on other sites

sorry for my explanation, yes you right i've done that, but I want to show the image itself, and with this code, the container shows me a png icon and not the content of the text field containing base64 encoded image data. I don't know whether  I 'm doing something wrong when I pass the data to that command or my data in base64 is bad encoded or damaged.

Base64Decode ( YourTextField ; "name.png" )

Thank you for your help, I've figured out a way to resolve this problem, I've save the images that i need to show directly in the container field without use the text encoded in base64.

Link to post
Share on other sites
7 minutes ago, Jhon Doe said:

I don't know whether  I 'm doing something wrong when I pass the data to that command or my data in base64 is bad encoded or damaged.

I don't know that either. But it does work for me, so you can paste your data into the attached file and see what you get.

 

Base64Decode.fmp12

Link to post
Share on other sites

 

4 minutes ago, comment said:

I am not aware of any such restriction, and I doubt it exists. A text field can contain up to 10 million characters - and the specs say nothing about any limits when processing it (except, of course, available memory).

yes, I was on mistake that was the first thing I thought because i didn't realize what  the error was. 

Edited by Jhon Doe
Link to post
Share on other sites

This topic is 670 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 ggt667
      I can ping my PDF document server from Terminal, I can connect to the PDF document server from all browsers apart from Safari, my default web browser is FireFox, I also tried to change to Chromium and Opera as the default web browser. WebViewer has the same symptoms as Safari, server not found.
      $ ping -nc 1 document PING document (10.0.0.7): 56 data bytes 64 bytes from 10.0.0.7: icmp_seq=0 ttl=64 time=0.002 ms --- document ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.002/0.002/0.002/0.000 ms FileMaker says ’Couldnot connect to the server.’
       
      The issues is easily solved by creating a new MacOS X user, and log in to that user, however I would rather like to fix the current user not having to migrate all other application settings. Is there some dns cache specific to Web Viewer and Safari?
    • By fluffy
      Hi Group  is it possible to have a memo field on a form or in a portal so that when you click on it the memo field pops up in a window as a bigger field so it can be edited and read easier?
    • By JMW
      We have a Filemaker 17 Server set up and running on a mac mini (sorry, I can't get on right now to find out which OS it is running).  We have set up everything so Web Direct can be used to access a web page for making appointments and filling out forms.  We have several different versions running on several different servers (eye doctor's offices) but this one won't work.
      We have ... 
      Set up web direct on the server, installed the certificate, gotten an external ip address, forwarded the ports, turned off all firewalls and it still doesn't seem to work.
      I have used fmsadmin to see if web direct is running.  When I try to start it, fmsadmin says it's running.
      Yesterday when I was comparing the processes running on the mac mini FM Server is running on to a different mac mini running FM Server I noticed there are a lot fewer processes related to web direct running on the computer that the web page won't open on.

      Does anyone have any ideas that can help me figure out what is causing this?  And, if you need more information, let me know
    • By DR. ALI BAHAR
      I have been having some installation difficulty with getting my FMS 17 onto our Windows 2012 R2 box.  
      When it installs, it gives me the well known dialog about ports 80 & 443 being required.  It says port 80 is in use.
      When I called Filemaker Developer, my friend in Usa, they walked me through a netstat -ab | more command.  
       
      Ran Windows PowerShell as an administrator
      typed:
      net stop http /y
      hit enter
      wait for all services to finish/close down
      Tried installing again. and it was successful.
       
       
      I suggest through this Forum to please the Installation ports be manual if possible.
      because previously i have been trying for few days and fresh installations of windows server also have issued if restarted once...
      Thanks.
    • By 360Works
      Scribe 4 - FileMaker OCR: Extract Text from Select Areas of Documents and Files Automatically
      We are back with a new demo for 360Works Scribe 4 featuring OCR in FileMaker!

      This time our focus is on extracting text from select areas of your PDF document or image file. If you have a stack of files (i.e., forms, receipts, photographs) with text in the same select area and you need to pull this text into FileMaker, you can easily automate this process with Scribe.
      Watch the Video
      In this demo video, we will show how you can use the new drag-and-drop and coordinates functionality in Scribe to extract text from documents and images in select areas, to then store the data in FileMaker automatically.
        Watch the Video   Stay updated with 360Works
       

×
×
  • Create New...

Important Information

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