August 29, 200223 yr Hello, I'm new to XML and even newer to File Maker, so this question may be foolish, but here it goes: I have a field called Pictures in my database that is of type Container. I insert pictures into this field (i.e. I do not check the "Store Only a Refernce to the File" box). When I issue a CGI command to FileMaker to return all the records, my Picture elements contain not a binary representation of the pictures, but a FileMaker reference to each picture. I'd like to receive the binary information representing the jpeg images. 1) can someone direct me to an example of a simple style sheet that I would include on the server to convert the references into actual images? 2) is there a parameter that I can add to the CGI command to tell FileMaker that it is outputting XML to a browser and thus can forgo the need for a style sheet? I'm using DOM and Javascript, so is there a xmldoc method or parameter that can do this too? Many Thanks!
August 29, 200223 yr RE: I'd like to receive the binary information representing the jpeg images. I am afraid XML is Text Only, so it cannot have anything to do with binary
August 29, 200223 yr I'm just starting to read an xml text, so I can't help you there. But why store images in the db? That just takes up valuable memory. It is easier to store a path to an image. In Sample Files I did post an example of ways to serve images through a browser. You may find it useful, or not. http://www.fmforums.com/threads/showflat.php?Cat=&Board=files&Number=41455&page=0&view=collapsed&sb=5&o=&fpart=1
Create an account or sign in to comment