dwolfe Posted March 3, 2001 Posted March 3, 2001 I've always noticed that FileMaker can't export graphics in containers as accurately (color wise) as the graphic was put into the container. It can display them on-screen correctly but when it comes to printing a graphic or referencing it on a web page with CDML, it gets greyed. FileMaker cannot maintain true white. I believe that FileMaker exports all graphics as JPG and I know that JPG is a compressed format and a little quality is going to be lost for the sake of a smaller file. But, FileMaker (v4.1) should be able to maintain the color of an image. Anyone have any experience or ideas about this? How can I get FileMaker to give me back a clean image?
Newbies kvnhu Posted February 12, 2003 Newbies Posted February 12, 2003 Ya I realized that issue too, I know why but I didn't know how to solve it...I'm looking for the solution as well. when you store a picture as an actual image (not store only the reference) into the FM database it's pure white otherwise it's greyed, I guess it's because FM can't handle or process different palettes of different picture files, try to check/uncheck the option "Store only a reference" when you Insert the picture and you'll see the difference... If anyone knows the solution please let us know, appreciated! Kevin Hu [email protected]
Newbies kvnhu Posted February 13, 2003 Newbies Posted February 13, 2003 Hello Ni hao, I think I found a way to do that: 1) create a button in FMPRO with the title "Choose ..." and bundle with a script which can execute the following AppleScript: set fileList to (choose file with prompt "Locate your pic file..." of type {"PNTG", "PICT", "EPSF", "TIFF", "JPEG", "GIFf"}) set pictureFileRef to the result as string set cell "fullpath" of current record to pictureFileRef as string set cell "img" of current record to file (pictureFileRef) set oldDelim to AppleScript's text item delimiters set AppleScript's text item delimiters to ":" set pictureFileName to (text item -1 of pictureFileRef) as string set AppleScript's text item delimiters to oldDelim set cell "filename" of current record to pictureFileName as string // note: fullpath, filename, img (container) are your fields name in FM DB. // and that way is "storing only the reference" of a picture file... 2) when you reference that picture don't use [FMP-Image:xxx], instead of that, use the link like following: <IMG SRC="images/productpic/[FMP-Field: filename]"> then you'll skip the Filemaker container bug and normally you can see a PURE WHITE background of your picture in the web page! Try and enjoy, please keep me informed. [color:"blue"] (if anyone want a sample file, please drop me a line...) Kevin Hu [email protected]
Unable Posted February 22, 2003 Posted February 22, 2003 There are a lot of reasons to not serve images to a browser from FMPro. And there are ways to serve those graphics from FMPro to the browser. I don't know if you folks ever look at all the stuff available on these forums but spending time looking around can be useful. There is a Sample Files forum with this thread (web publishing, the fmp-includefield tag & images) which I found useful. Good luck with your projects.
Recommended Posts
This topic is 8016 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