Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Container field: PDF Optimize for Image will not work if data comes from offline device


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

Recommended Posts

Posted (edited)

User inserts pdf on the offline device.

The container is set to Optimize for Images

User can see the first page of the pdf in the container (as an image)

After the user synced, the same container field on the server will display the file name instead of the image of the first page.

Is there a way to fix this ?

P.S.

Mirrorsync 4

 

Edited by sfpx
Posted (edited)

A little more info about the issue

When the pdf file is inserted in the device you can see this info in the container attributes

[General]
Filename: .pdf
Storage Type: Embedded
MD5: FAE885A65D413D76CE03826013DCA437
File Size: 24038
Internal Size: 235318
External Size: 0
External Files: 0

[Image]
Width: 792
Height: 612 

If I take the .fmp12 from the device and load it in filemaker pro, I still can see the same attributes and the container preview.

On the server, after a sync, the container [image] attributes are no longer there and the container will not preview the pdf file . 

I guess it's related to the fact that mirrorsync is using base64 instead of the filemaker insert file function.

I would say that it's more a filemaker problem than a mirrorsync one.

Now, if someone has an idea how to get back those attributes I would not mind adding  code post sync to fix this.

 

 

Edited by sfpx

This topic is 1560 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
×
×
  • Create New...

Important Information

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