threadfx Posted September 21, 2001 Posted September 21, 2001 I have a db with pictures referenced. How can I have them viewable over a webpage? I'm using Claris Homepage to do the connection to the db. It looks like I have to have the image imbedded in the db for it to be viewable. I know I should be able to do it, I just don't have the knowledge. Thanks!
Anatoli Posted September 21, 2001 Posted September 21, 2001 Store pictures out of FM if possible and store in FM just reference – the absolute URL.
Tyfud Posted September 22, 2001 Posted September 22, 2001 Check the FileMaker Reference library in homepage, check the [FMP-Image] tag. Or look in the cdml refrence guide. This is how you get any image stored in a container field on the web. (except repeating container fields)
Anatoli Posted September 22, 2001 Posted September 22, 2001 It will work, but it will be slow. WebCompanion is great for serving text data, but pictures makes WC slow.
Jeff Spall Posted September 24, 2001 Posted September 24, 2001 Hi, I agree with Anatoli, just store your images in a single directory and have a field in the database with the image name. If you only have Filemaker running on the server, use a relative path from where the html page is. If you're running it on a web server, let the web server do the work and write an absolute path. The HTML will look like: <IMG SRC="imagefolder/[FMP-FIELD:image_name]" BORDER=0 ALIGN=bottom> or, if you're using a webserver: <IMG SRC="http://www.mydomain.com/imagefolder/[FMP-FIELD:image_name]." BORDER=0 ALIGN=bottom> regards, jeff
Newbies bettydylan Posted October 22, 2001 Newbies Posted October 22, 2001 Novice here. Building web sites using FM databases for the first time. I work with Dreamweaver mostly to build my html. All I wanna do is export my db, which has a field referencing a names of my jpgs. I'd like to be able to put html code into the fields, but FM doesn't do it. All my htlm gets tweaked. I know I can go in after I've exported and do it all by hand (add links, mailto's, img src, etc), but doesn't it seem silly that FM doesn't do this easily? Is there something I don't know? I've read all the postings I can find here having to do with this, but either I don't understand the posts or I'm missing something. I realize this may be elementary to most of you...thanks for your patience.
Jeff Spall Posted October 22, 2001 Posted October 22, 2001 Hi, Filemaker is actually the easiest and most flexible way to deliver bits of html into a dynamic page - you can add images, links, colour up tables etc. very easily once you've seen how. If you mail me I'll send you a sample db that delivers images which you can use as a starting point. regards, Jeff
Jeff Spall Posted October 22, 2001 Posted October 22, 2001 Hi, Filemaker is actually the easiest and most flexible way to deliver bits of html into a dynamic page - you can add images, links, colour up tables etc. very easily once you've seen how. If you mail me I'll send you a sample db that delivers images which you can use as a starting point. regards, Jeff
Tyfud Posted October 25, 2001 Posted October 25, 2001 ok bettydylan, I beleive I understand what you are trying to do. You have a field in the database that has the actual name of the image (be it image.jpg), you then have a container field with those images stored as a reference. What you want to do is be able to show those images over the web. Well, good news bad news, you can use the field that has the image name, and use it in the image tag for where the image is located. You will first need to move/copy the images into a folder in the web folder (named "images" for example) then you will need to place the following code in HTML: <IMG SRC="images/[fmp-field:imageNameField]"> This will work for users on the web. Lets move to the bad news part in this scenario. If you are truly using container fields with the images stored as references (of which the paths are not accessible in base FileMaker), then if you move the images from their current location to the "images" folder in the "web" folder of filemaker, you experience a wonderful limitation of OLE (object linking and embedding), all your links in FileMaker are now broken and you must now re-insert them(unless you have the plugin or such from Troi) all manually, therby pointing the container field to the images folder in the web folder. I hope this helps, and if my scenario is incorrect please correct me.
Recommended Posts
This topic is 8421 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