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.
Juggernaut

Viewing Picture over Web...

Featured Replies

I have a db with pictures referenced. How can I have them viewable over a webpage? I'm using Claris Homepage to do the connection to the db. It looks like I have to have the image imbedded in the db for it to be viewable. I know I should be able to do it, I just don't have the knowledge.

Thanks!

Store pictures out of FM if possible and store in FM just reference – the absolute URL.

Check the FileMaker Reference library in homepage, check the [FMP-Image] tag. Or look in the cdml refrence guide. This is how you get any image stored in a container field on the web. (except repeating container fields)

It will work, but it will be slow. WebCompanion is great for serving text data, but pictures makes WC slow.

Hi, I agree with Anatoli, just store your images in a single directory and have a field in the database with the image name. If you only have Filemaker running on the server, use a relative path from where the html page is. If you're running it on a web server, let the web server do the work and write an absolute path.

The HTML will look like:

<IMG SRC="imagefolder/[FMP-FIELD:image_name]" BORDER=0 ALIGN=bottom>

or, if you're using a webserver:

<IMG SRC="http://www.mydomain.com/imagefolder/[FMP-FIELD:image_name]." BORDER=0 ALIGN=bottom>

regards, jeff

  • 4 weeks later...
  • Newbies

Novice here. Building web sites using FM databases for the first time. I work with Dreamweaver mostly to build my html.

All I wanna do is export my db, which has a field referencing a names of my jpgs. I'd like to be able to put html code into the fields, but FM doesn't do it. All my htlm gets tweaked. I know I can go in after I've exported and do it all by hand (add links, mailto's, img src, etc), but doesn't it seem silly that FM doesn't do this easily? Is there something I don't know?

I've read all the postings I can find here having to do with this, but either I don't understand the posts or I'm missing something. I realize this may be elementary to most of you...thanks for your patience.

Hi, Filemaker is actually the easiest and most flexible way to deliver bits of html into a dynamic page - you can add images, links, colour up tables etc. very easily once you've seen how. If you mail me I'll send you a sample db that delivers images which you can use as a starting point.

regards, Jeff

Hi, Filemaker is actually the easiest and most flexible way to deliver bits of html into a dynamic page - you can add images, links, colour up tables etc. very easily once you've seen how. If you mail me I'll send you a sample db that delivers images which you can use as a starting point.

regards, Jeff

ok bettydylan, I beleive I understand what you are trying to do. You have a field in the database that has the actual name of the image (be it image.jpg), you then have a container field with those images stored as a reference. What you want to do is be able to show those images over the web.

Well, good news bad news, you can use the field that has the image name, and use it in the image tag for where the image is located. You will first need to move/copy the images into a folder in the web folder (named "images" for example) then you will need to place the following code in HTML:

<IMG SRC="images/[fmp-field:imageNameField]">

This will work for users on the web.

Lets move to the bad news part in this scenario. If you are truly using container fields with the images stored as references (of which the paths are not accessible in base FileMaker), then if you move the images from their current location to the "images" folder in the "web" folder of filemaker, you experience a wonderful limitation of OLE (object linking and embedding), all your links in FileMaker are now broken and you must now re-insert them(unless you have the plugin or such from Troi) all manually, therby pointing the container field to the images folder in the web folder.

I hope this helps, and if my scenario is incorrect please correct me.

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.