Groups | Search | Server Info | Login | Register


Groups > comp.databases.filemaker > #576

Re: osx vs win

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Martin Τrautmann <t-usenet@gmx.net>
Newsgroups comp.databases.filemaker
Subject Re: osx vs win
Date Wed, 25 Jan 2012 20:55:56 +0000 (UTC)
Organization slrn user
Lines 27
Message-ID <slrnji0r2s.7a.t-usenet@ID-685.user.individual.de> (permalink)
References <65556$4f204f0d$535375e6$555@cache1.tilbu1.nb.home.nl>
Reply-To traut@gmx.de
X-Trace news.albasani.net tVI3f8YBol3IqFuAPBDcZ5D/W/86sb+ANDsOQHeA80D8tptda4VXrGAev/mc4tjMG2Xln1ajkDC1Chc459i1hWu8skvlxoriRrkk56JvxyUAwY0Mj3NeDQar5MvlKjtk
NNTP-Posting-Date Wed, 25 Jan 2012 20:55:56 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="f8HYwc59x9TfUp8uZnK7wIyjZd4BiPhYmfG6EfRQR1lCyc3ZYlmtDda4FBfnBqExSey+DJngYMmuAxEXa+NB11xJX8ygXbb0/I3DxP1jZz4TJiGfRPcnNny7/iMkrOPc"; mail-complaints-to="abuse@albasani.net"
User-Agent slrn/pre1.0.0-18 (Darwin)
X-No-Archive Yes
Cancel-Lock sha1:4BHyVC+BV8QRJAfrBOtkQNsEca0=
Xref x330-a1.tempe.blueboxinc.net comp.databases.filemaker:576

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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