How do I load a remote image into Hype?

As title. I need to be able to have an image loaded from a remote location. At the moment I can only choose an image from the drive. I’ve tried adding style code to the rectangle to no avail.

Help appreciated.

Edit: I got it working by adding to the rectangle shapes textbox:

.thumb1 { background-image:url( !important;}

Is this the only way?


You can do it with a little bit of javascript. Write a js function like this and give your rectangle the id picture. Trigger the function from where you like.

document.getElementById("picture").innerHTML='<img src=",,17667249_303,00.jpg" width="320px" "align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" name="">';

You can also use a simple image tag within the inner HTML of an element:

<img src="" width="100" height="100">


Daniel, webp image format doesn’t seem to work with the img tag :pensive:

Billy, guess you missed the quotes for the url …

Not very good support in general for the Webp image format:

Oops, was missing a character in the filename. Seems to work now.

Looks like I spoke too soon. webp doesnt work on Firefox and IE, but is fine on Opera and Chrome. You were right Daniel!