February 12, 200124 yr is there a way that i can add an image through the web, like in filemaker i can have a containor field that can hold images. but how can i do something like that over the web.
February 22, 200124 yr You can display the contents of a container field over the web but it doesn't work very well. I tried it and it was slow. Also, if you have your FMP server hosted somewhere off site, it takes way too long to upload and download the DB full of images. Best thing to do (I am doing this extensively at http://www.spiritsinstone.com then click on 'virtual gallery') is to just call the image from any server with an absolute url based on calcs in the DB. For example: Use something like this in the CDML file: <img src="[FMP-Field: Image]" alt="[FMP-Field: Description], Image"> Where the field Image is a calculation with result of text that looks something like this: If(HaveImage = "No", "http://www.sample server.com/directoryname/emptypixel.gif", Lower("http://www.sampleserver.com/directoryname/" & IdNumber & ".jpg")) So if your items in the DB have an ID Number, and you can if you want have another field called something like HaveImage (Yes or No value list) then if you mark that No, have an Empty Pixel display, otherwise return the pathname to your image that you want to display. I hope this makes sense. Have a look at spiritsinstone.com and then get back to me if you have more questions. Cael.
Create an account or sign in to comment