Virginia Posted August 29, 2002 Posted August 29, 2002 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!
Anatoli Posted August 29, 2002 Posted August 29, 2002 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
Keith M. Davie Posted August 29, 2002 Posted August 29, 2002 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
Recommended Posts
This topic is 8123 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