September 9, 200421 yr Newbies 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!
September 9, 200421 yr 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
October 4, 200421 yr 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
October 11, 200421 yr 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.
October 12, 200421 yr 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.
October 12, 200421 yr 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.
Create an account or sign in to comment