Is it possible to show images in a list where the image is on a server? For instance an image may be at http://myserver:82/tmp/1020581081.jpg
If not, any tips on what I should be doing to show the users multiple images.
Thanks, Art
VL-Web image in a list
-
caseywhite
- Posts: 192
- Joined: Thu May 26, 2016 1:17 am
Re: VL-Web image in a list
Art. After you add the entry just do the following:
#ListColumn1.CurrentItem.ImageFileName := 'http://myserver:82/tmp/1020581081.jpg'
If the image is on the same server then you don't need the http://myserver:82
#ListColumn1.CurrentItem.ImageFileName := 'http://myserver:82/tmp/1020581081.jpg'
If the image is on the same server then you don't need the http://myserver:82
Re: VL-Web image in a list
Thanks Casey. I had tried image but not ImageFileName.
Fun story. In order to get images for an invoice, I have to post a URL to a website, receive and parse an XML that gives me the file names, then copy those files from the imaging server to the web server so that I can serve them. Oh and probably clean them up too.
Art
Fun story. In order to get images for an invoice, I have to post a URL to a website, receive and parse an XML that gives me the file names, then copy those files from the imaging server to the web server so that I can serve them. Oh and probably clean them up too.
Art
Art Tostaine
Re: VL-Web image in a list
When a user clicks on an image it opens up full screen view (NICE) but it always shows the last image in the list no matter which they click.
Do I have to do something special to get the currentitem URL when they click?
Thanks
Do I have to do something special to get the currentitem URL when they click?
Thanks
Art Tostaine
-
caseywhite
- Posts: 192
- Joined: Thu May 26, 2016 1:17 am
Re: VL-Web image in a list
What does your code look like for the click. This works fine for me.
Evtroutine Handling(#List.ItemClick)
#sys_web.Alert Caption(#ListColumn1.CurrentItem.ImageFileName)
Endroutine
Evtroutine Handling(#List.ItemClick)
#sys_web.Alert Caption(#ListColumn1.CurrentItem.ImageFileName)
Endroutine