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

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

Recommended Posts

  • Newbies
Posted

Hi,

Sorry if this is too basic a question, but I've looked all over without finding an answer...

I have a database where one image is associated with each record, and I want to be able to make a layout that includes a preview of this image. Is there a way to include only the path in a field in the database and then have it automatically display the image at that path in a layout? (I would like to be able to easily make changes to the images, and not have to worry about the database getting too big, that sort of thing, by keeping the images separate.)

Any ideas?

Thank you very much!

Posted

Hi tbszxcvbnm

Welcome to the Forum.

Please update your profile to show what Platform, Operations System, and Version of FileMaker you are using. You will find the link just below you Name on the Left, in blue "[color:"blue"]profile".

Lee

  • 3 weeks later...
Posted

This can be done by creating a Calculation field with a calculation such as:

"image:/Images/" & file name

The calculation result needs to be a Container. If your images have the same name as a value in a field in each record (with ".jpg" at the end of the file name), you can use a calculation such as:

"image:/G4/Applications/FileMaker Pro 7/Web/Images/" & IMAGE NUMBER & ".jpg"

IMAGE NUMBER is the name of the field that has the same value as the name of the image file. This will automatically pull in your images (I believe it is a reference only, and not the actual image file) from that referenced folder. If you are going to publish to the web via IWP, the images need to be in the Web folder in your application is.

See this thread:

http://www.fmforums.com/threads/showflat.php?Cat=0&Number=124190&an=0&page=0#124190

Posted

Has anyone figured out a trick to get IWP to display images that are located on another server. I've tried a calculated container field which works within FM Server but not within IWP. Its very limiting that the images have to be located on the FM server in a specific folder.

Posted

Noooo; it's just that ANY web-served data of any kind has to be in a folder that the web server has privileges to publish. Try creating a straight static HTML web page with an image link. No Filemaker involvement of any kind. Can THIS page display data from arbitrary locations on your hard drive? No. Your question has nothing to do with Filemaker. It's about web servers and web server privileges.

Posted

Gotcha. The FMP documentation states that images server by IWP have to be on the FMP server in a specific location.

I figured I could serve the images via CWP (straight HTML) but was trying to get out of developing a full site with CWP.

Thanks for the info.

Posted

IWP can handle images in the FileMaker Web folder, or in a web server folder.

This topic is 7415 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.