Dynamic links with image resource - http:// works/notes:// doesn't

Posted this in 6/7 but using v801 so should have posted it in here …

I’m having a problem getting an image resource displayed in the Notes client on a form in computed text set as pass-thru html.

Basically I’m dynamically build links to other documents and can’t use hot spots for the things to click on as there are variable number of items so … have constructed a formula in computed text to produce the following (summerised) pass thru html :

<img src="http://www.server.co.uk/path/db.nsf/doclink.gif?OpenImageResource">”

Now this works but I don’t want to use the “www.server.co.uk” reference and wanted to do something like :

<img src="notes://server/path/db.nsf/doclink.gif?OpenImageResource">

or

<img src="notes://server/path/db.nsf/doclink.gif">

But I just can’t the “notes://” vs “http://” version to work no matter what syntax I try.

Does anyone know what I’m doing wrong?

Also the http version only works when you put the document into edit mode (?) although still shows ok when you flip back to review mode???

Thanks,

Derek

Subject: I’m pretty sure you won’t get this working

You’re treating the Notes:// as if it’s a http server behind it. Which it doesn’t. The Notes:// url is a launching URL, not a resource URL.

Subject: Another way then?

Hi Carl,

I see what you’re saying … is there there another way I can achieve the same thing then by embedding the image itself (doclink.gif) in the form and then in the pass-thru html still using the tag refer to the embedded image in the form itself? i.e.

Derek

Subject: Not sure relative URLs work

but if they do it would be something like

Subject: Have it half working - on web but not client

Hi Carl,

I now have this in a computed text pass-thru html :

“<img src="/path/db.nsf/doclink.gif?OpenImageResource" width="12" height="14">”

and this works when viewing on the web but not when viewing in the client … any ideas?

Thanks Derek