Jump to content
Sign in to follow this  
Rob Halliday

Importing Pictures in FM10

Recommended Posts

Hi...

Am currently updating a solution from FM6 to FM10. The database imports pictures (reference only), where the pictures are stored in a folder within the same folder as the FM database.

In 6, the reference to the picture file was relative - ie. if I ultimately moved the entire solution folder, all of the pictures would still show up in the same place.

In 10, it appears that though the link is supposed to be relative (ie. the 'import folder' is specified as 'Pics/'), the actual file path stored in the picture contained is absolute - ie. if I move the entire solution folder, the pictures vanished and are replaced by 'can't find img_whatever' messages.

This is not good....

Just wondering if:

a) this is a deliberate behaviour change or a bug

:P whether there is some new setting governing this behaviour that I am just missing.

(Interestingly, if you insert pictures one at a time using 'insert picture', everything works exactly as it should).

Thanks!

Rob.

Edited by Guest

Share this post


Link to post
Share on other sites

Where are the images? In a folder "Pics" in the Filemaker folder? Are they "loose" in the folder or stored in sub-folders?

You could use the Replace command to reset the path to "image:" & Get (FileMakerPath) & "Pics" & filename.

Share this post


Link to post
Share on other sites

If the solution is in a folder called 'database', then the pictures are all in a folder called 'pics' within the folder called 'database'. There are no further sub-directories within the 'pics' directory.

My issues are:

- it didn't used to work like this in FM6

- it feels wrong, since the implication is that the link is relative

- it feels wrong, because 'insert picture' works differently (and, in my view, correctly)

- if I archive the database and pictures to CD-R or equivalent, then my concern is that I won't be able to use any technique to pull the pictures back into the database since it will be read-only at that point.

Any further ideas gratefully received....

Thanks,

Rob.

Share this post


Link to post
Share on other sites

Interestingly, the situation I describe happens if you MOVE the folder, but does not happen (ie. the pictures continue to appear correctly) if you COPY the solution....

It may be that this has always been the case in FM6 and I've just never noticed before since I usually copy....

Rob.

Edited by Guest

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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