Jump to content

image file alias in web folder (pic and mov)


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

Recommended Posts

I have a lot of media files (images and movies) to catalog.

The problem is that due to size constraints, I cannot put all the files in the Web folder.

What I figured out so far:

made folder "media" in web folder

placed aliasses of original files (can be automated)

Use import script to get folder (matching on filename)

This gets me the file in container, filename,

and filepath as file://Volume/Folders/filename (of original file, not alias)

I then made a 2 new fields

containerpath GetAsText - original image container

(because FM stores a reference to file only, this gives me the path)

containercalc - a calculation set to filepath to imagemac:/VolumeName/path to FM Web folder / filename

When viewed in browser - image get displayed

Problem 1 - file is not displayed proportionally - any ideas??

I am going to play around with applescript to try to get dimensions, and create diff layouts to display

Next - movie files (mov, mpg)

I do as above

Filepath as text gives me 3 lines

size (size:320,240)

filetype and filename (movie:test.mpg)

path (moviemac:/volumename/path to original)

I pull this info into 3 fields (Substitute(MiddleValues(GetAsText(containercalc); 3; 1); "¶"; "" )

using values 1-3

great - I have dimensions

for containercalc I use moviemac:/ (as FM already provided me with this)

(BTW - where is this documented in ANY filemaker manual/reference ??)

Problem 2 - file is not displayed in browser, and unlike imagefile it does play in FM - any ideas??

If you right click in browser and "display in new window" - it works !!

AND the filepath is now "http://10.0.0.6:591/media/test.mpg" the loacal IP of this mac

I have tried

- setting the path in FM to this IP - no joy

- using open URL script (only oppens IWP frame)

- open new window

- typing in new path using right toe

Any ideas - even pointers to some indepth filemaker references about IWP ??

Link to comment
Share on other sites

This topic is 6698 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.