Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem displaying images with Lasso

Featured Replies

Hi. I have a problem displaying in the Web Browser images stored in the container field of FileMaker using Lasso. They are JPEGs and I use the following syntax: [image_URL:'Products::SmallImage' ,JPEG]. As you can see, the image itself is in related database and it is displayed as a related field in the database I am trying display it from. Didn't have any problems with it when was using CDML.

IS Products::SmallImage in your layout

To display images from FM is wrong in any case. WC is dramatically slowed down with images. BTW WC is serving images to web or to Lasso.

But put the images to your web server and link them from FM database through Absolute URL.

  • Author

Yes, the related field is on the layout. WC is serving images to the web through Lasso (LDML). In the solution I have, all the images are stored in FM and served to the web from it.

But, I will should probably reference images via URL. I noticed myself that they are loading very slow. Thanks to Anatoli, cause I thought it just seemed this way.

Anatoli, will moving images out of databases to the hard drive and reference them from FM, increase overal speed for the entire solution, or just will make images load faster?

Vasilek,

if images will be served by ANY regular web server with full path to the image, then yes, everything might run faster, because when WC is busy with serving 100k image, WC cannot do something else -- get request and server result.

In HTML page I have the CDML (in this case) code like: http://www.server.com/oa/[FMP-field: picturename, URL]

All pictures sit in folder "oa" on that server.

  • Author

Anatoli,

Is the existence of container fields in the database, even if they are not called to be displayed on the web, still slowing down the process?

IMHO no in CDML/WC, yes in Lasso on Lasso serving layout.

I didn't have the time verify Lasso for that, but that was explained on Lassolist.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.