Groups | Search | Server Info | Login | Register
Groups > comp.databases.filemaker > #576
| From | Martin Τrautmann <t-usenet@gmx.net> |
|---|---|
| Newsgroups | comp.databases.filemaker |
| Subject | Re: osx vs win |
| Date | 2012-01-25 20:55 +0000 |
| Organization | slrn user |
| Message-ID | <slrnji0r2s.7a.t-usenet@ID-685.user.individual.de> (permalink) |
| References | <65556$4f204f0d$535375e6$555@cache1.tilbu1.nb.home.nl> |
On Wed, 25 Jan 2012 19:50:47 +0100, <Ursus> wrote: > I have a calc that produces a link for a webviewer to display jpg's. While > it works for Win it fails for OSX. Can anyone shed light on this? > > the calc is cWebview [ calc, textrestult, "data:text/html,<img src=\"" & > "/photo/" & file name & "\" >" ] > which returns the following: data:text/html,<img src="/photo/MyFile.jpg" > You have backslashes in your calc that do become slashes in the result? Path delimiters in OSX usually are colons instead of slashes. You do have an absolute path here, starting from root "/photo". Is this a http path? Then it should work on any platform. A real file path on OSX could be in root as well (while on Win it might require a drive letter such as C:), but usually the OSX paths would be somewhere around /Users/name/photo/ > The calc is put in the Web Address field of the WebObject which shows the > file for Win but nothing for mac. > the photo folder is always in the same directory as the filemaker file. Then don't use the root directory - a local path would be either without the "/" prefix or would use "./". - Martin
Back to comp.databases.filemaker | Previous | Next — Previous in thread | Next in thread | Find similar
osx vs win <Ursus> - 2012-01-25 19:50 +0100
Re: osx vs win Martin Τrautmann <t-usenet@gmx.net> - 2012-01-25 20:55 +0000
Re: osx vs win <Ursus> - 2012-01-26 19:04 +0100
Re: osx vs win David Stone <no.email@domain.invalid> - 2012-01-25 15:07 -0500
Re: osx vs win Martin Τrautmann <t-usenet@gmx.net> - 2012-01-26 20:25 +0000
csiph-web