Image not displayed properly

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
UKMC
Posts: 50
Joined: Sun Jan 08, 2017 12:01 pm

Image not displayed properly

Post by UKMC »

Hi altogether,

I just want to load an (via answer file selected) image from a file via URL.
Everything works perfect.
When displaying the image with the following line

set the text of image "ausgewähltes_bild" to URL fld "Pfad"
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Image not displayed properly

Post by Klaus »

Hallo Ulrich,

well, that's not how it works! :D
Reference image:
...
set the filename of image "ausgewähltes_bild" to fld "Pfad"
...
Import image (binary) file:
...
set the text of image "ausgewähltes_bild" to URL("binfile:" & fld "Pfad")
...

Best

Klaus
UKMC
Posts: 50
Joined: Sun Jan 08, 2017 12:01 pm

Re: Image not displayed properly

Post by UKMC »

Hello Klaus,

thanks for your hint, which works wonderful.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Image not displayed properly

Post by Klaus »

Aber gerne doch, der Herr! :D
Post Reply