Newbies tbszxcvbnm Posted September 9, 2004 Newbies Posted September 9, 2004 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!
Lee Smith Posted September 9, 2004 Posted September 9, 2004 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
Veqtor Posted September 29, 2004 Posted September 29, 2004 I would also like to know how to do this. Lee do you know how?
carlschneider Posted October 4, 2004 Posted October 4, 2004 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
Veqtor Posted October 4, 2004 Posted October 4, 2004 That's exactly what i needed to know! Thanks so much par
syounker Posted October 11, 2004 Posted October 11, 2004 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.
bruceR Posted October 12, 2004 Posted October 12, 2004 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.
syounker Posted October 12, 2004 Posted October 12, 2004 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.
bruceR Posted October 14, 2004 Posted October 14, 2004 IWP can handle images in the FileMaker Web folder, or in a web server folder.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now