Page 1 of 1

Cant Load Image Into Browser Widget.

Posted: Thu Jun 04, 2020 5:07 am
by Googie85
Hi Guys!!

I am having difficulties in loading and image into a web browser widget. The URL does not have any spaces and is similar to:

"file://" & specialfolderpath("documents") & slash & "filename.jpeg" --- tImage

I am using:

set the url of widget "Browser" to tImage

Can anyone see by the above info what I am doing wrong? Appreciate all help!!

Many Thanks,

Googie.

Re: Cant Load Image Into Browser Widget.

Posted: Thu Jun 04, 2020 9:15 am
by Klaus
Hi Googie,

hmm, please check the result:

Code: Select all

...
put "file://" & specialfolderpath("documents") & slash & "filename.jpeg" into tImage
set the url of widget "Browser" to tImage
if the result <> EMPTY then
  answer the result
end if
...
THE RESULT should be empty on success and maybe gives a hint what is going wrong.


Best

Klaus