Re: Displaying image from website in a 9.4 application


sherman levine
 

Steve,

First time's the charm. Many thanks. Didn't even need the header.

Sherm

On 08/07/2017 07:34 PM, Steven Blank wrote:
Sherm,

Try this at home: Update a BLOB variable with the following expression:

HTTPGet('https://www.myclient.com/etc/image.jpg', '','')

You might have to include a header like 'Content-Type: image/jpg'.

But that function should return the file in a blob, which you could then display in a regular image control.

I think.

Steve Blank


At 04:23 PM 8/7/2017, you wrote:
I'd like to display an image from a website on a form and/or in a table.

https://www.myclient.com/etc/image.jpg

Is there a straightforward way to accomplish this?

Everything else is traditional client-server

Thanks

Sherm




Join {main@magicu-l.groups.io to automatically receive all group messages.