Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8306 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello everyone!

I am making a database for photos of houses or vehicles. I have container fields to keep the photos, but I have a few questions about container fields and importing filters.

1) Pictures will almost always come off of a digital camera. From my Mac experience, the photos were in JPEG format. What image formats should be imported into FM?

2) I am testing this field with images from the Photoshop 6.0 Sample folder. I saved the image as a JPEG onto my desktop. When clicking Insert/Picture (A process I will script in the future) and point it to the picture I have saved, I either get a error message "Image Could not be imported. The filter could not import the selected file," or "JPEG ERROR" will appear in the container field. What formats will the filter allow? Are there size or rendering limits to FileMaker?

3) Is there a way for the container field to hold more than one image per record? For example, one record may have four images, and the user would use a button to scroll throught the images. Is this possible?

Thanks for ALL your input.

Ken

Posted

If you need more than one picture per record, use a related file. Insert the picture into the container field. The container field holds one picture. JPEG's are supported, but check the compression algorithm.

Old Advance Man

Posted

How did you install your copy of Filemaker? New versions (v5.x) don't work properly unless you install them directly from a program CD; if you copied it from another computer, this is exactly where a problem will crop up.

Just a thought.

Posted

Thanks for the reply, Dan

I installed FileMaker from a disc. It is version 5.0. [[don't ask where I got the CD]].

When you say "thats where the problem will pop up" do you mean specifically the errors?

Also, is anyone able to respond to the other questions about container fields?

I really appreciate the help.

Ken

  • 4 weeks later...
Posted

If you need to have more than 1 image per record you can use this options:

Create just one field ["images"] for each record and give it a repetition according to the maximum number of images you will need per record,

Create a number ["ref"] field with an autoentry of "1"

Create a Calculation field with this calculation (field format must be a Container)

Case(

ref=1,getrepetition(images,1),

ref=2,getrepetition(images,2))

and so on

Now make a script that allows you to increment the ref field - forward button will increase the ref field by one (and thus show the next repetition in the images field), and the back button will decrease the ref field by one (and thus show the previous repetition in the images field). Don't forget to cap the forward and back so that you can't set the ref field to a higher value than the maximum number of repetitions, or lower than 1.

On your layout put the Container calculation field and the back/forwards script buttons.

[ February 27, 2002, 05:18 AM: Message edited by: Julian Taylor ]

This topic is 8306 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.