0

How to show image with '-' or other special character in URL?

Hello,

I need to store and show images from e.g. digikey.com.
The digikey URLs for their product images contains special characters like '-' and the url is a HTTPS url.

I use a button with the following script:

Bild := null;
Bild := importFile(this, "https://media.digikey.com/Renders/~~Pkg.Case%20or%20Series/SOT-23-3%20PKG.jpg", "product.jpg")

Another URL is https://media.digikey.com/Photos/Recom%20Power%20Inc/MFG_R1SE8_B.jpg

I never see the image in my Ninox database record. Click in the image results in "The image failed to load".

The code above is ok with this URL: https://www.trivum.de/media/image/42/e4/6d/trivum_AudioBox_p150_600x600.jpg 

Bild := null;
Bild := importFile(this, "https://www.trivum.de/media/image/42/e4/6d/trivum_AudioBox_p150_600x600.jpg ", "product.jpg")

 

Any ideas?

Achim

Reply

null