We recently worked on a project where a container field contained a detailed image and thought it would be useful if the user could zoom in on some areas.

With a FileMaker web viewer you can make use of JavaScript to add funtionality in FileMaker that doesn’t exist. With a quick Google Search we found a library that allowed magnification of images. We then created a test HTML document that magnified an image. That text was copied into a global template field and we replaced the image URLs with slugs. We then created a calc field in FileMaker to replace the slugs with container data encoded as Base64. In the video below, you can see how we went thru the process of adding the calculation.

Download Sample File

5/2/2023 – Sample file link has has been updated

7/6/2021 – Sample file has been updated so that the image is scaled to fit the webviewer size in the calc field.