Page 1 of 1

RDMLX - Images from an external webserver

Posted: Wed Feb 12, 2014 8:32 pm
by kno_dk
Hi

I want to use an image from an external webserver. Is it possible?

I create the url to the image like this:
#uImagePathAndName := #x1http + '/' + #folder + '/' + #WEINSPNR3 + '/' + #WBILDNAM2

and this to show the image:

#COM_OWNER.Set_Image Name(PICTURE1) Resource(#uImagePathAndName) Layout_Col(1) Layout_Row(5) Downloadondemand(True) Ongetimage(FULLSIZE1) Layout_Cols(-1)

If I cpoy the url into a browser it shows the image okay.

/klaus

Re: RDMLX - Images from an external webserver

Posted: Thu Feb 13, 2014 7:47 am
by tsupartono
No, it's not currently possible to do so.

The resource files must be under the 'LongRange/resource' folder.

One possible solution would be to configure your webserver to forward requests to a sub-directory under the 'LongRange/resource' folder to the URL that points to your actual image files.

For example:
'LongRange/resource/myotherserver/xxxxx' can be mapped to 'http://myotherserver/xxxxx'

Re: RDMLX - Images from an external webserver

Posted: Thu Feb 13, 2014 7:38 pm
by kno_dk
hi

I changed it to a webview. Now it works.