Jump to content
Sign in to follow this  
Aussie John

related location for reference to photos

Recommended Posts

Hi I was wondering if version 9 allows for referenced photo links to be associated by relative location rather than absolute location as is with ≤v8.5.

If not does anyone have any good tips dealing with this (ie moving a Dbase solution to another drive breaks photo links.( I would not like to embed the photos as there are thousands.

Edited by Guest

Share this post


Link to post
Share on other sites

You could use a calculated path to the image; with the volume name as a separate part of the path than the rest of the relative path. A calculation with a container result will produce the referenced image just the same as an inserted path.

I should add: you can use the current path as a basis for the calculation. Because even if FileMaker says it can't find the image, it still has the path where it was. Try this calculation, result text, to see:

GetAsText ( container field )

The relative and absolute paths will be the 2nd and 3rd lines.

Edited by Guest

Share this post


Link to post
Share on other sites

that's great thanks Fenton

Not sure what you meant by the 2nd and 3rd lines but I seem to have it working anyway.

Do you think there are likely to be any Mac/PC issues with this?

Share this post


Link to post
Share on other sites

Oh yeah, maybe you don't get the 2nd & 3rd lines if you're only calculating the file path, not Inserting the image. I can't check right now, 'cause my FileMaker's (very) busy.

As far as Macs and PCs, you will need to handle the path differences inside the calculation. Use:

Case ( Abs ( Get (SystemPlatform)) = 1; "imagemac:"; "imagewin:" ) & "/volume/folder path/file name.ext

You may also have trouble with the volume. If I insert an image from my iDisk on the Mac side, it uses my iDisk name as the volume name. If I insert it on the Windows side (running in Parallels Destop), then the volume is translated to "E:/" (which I guess is the default of the 1st mounted volume). So you need to put that in the calculation instead for PCs.

So yes, the paths are different. But it's pretty easy to figure out. Just insert an image on either platform, and see what it shows.

Share this post


Link to post
Share on other sites

Hope I dont speak too soon but the translation to PC seemed to work without any adjustment.

I am just using image:/ no mac or PC appendix

Edited by Guest

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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