Image preview blank


(Stephan) #1

Hi there,

I have a document with images inside a scrollable box (innerHTML).

When I preview it, all that shows is white blocks. When I export it however, it works.

How can I get it to preview correctly as well?

Thanks


(Jonathan Deutsch) #2

It would be useful if you could post a zip of your .hype document.
Generally speaking, you’d want to copy the images into the Resources Library, make sure ‘Automatically Optimize when Exporting’ is disabled. You can reference the images with the ${resourcesFolderName} magic variable, like:

<img src = "${resourcesFolderName}/myImageName.jpg">