Display images in HTML preview

Hi all,

in Studio 2017 there is an option to add additional resource files like CSS and IMAGES to the HTML5 preview settings. But I cannot make the images be displayed in the preview. In the html there is a tag like <img src="something.png"/> In the preview settings I add this file with Relative Path = "something.png" to the list. Also tried Relative Path="." and Relative Path="", but neither worked. The image is not displayed in the preview even if I specify the image with absolute path: <img src="d:\temp\something.png"/>.

Can someone help with this, please? Are images in the preview supported at all?

Thanks in advance,

Tamas

  • Hi ,

    Just wanted to get you a response to let you know I have passed this over to support because I have no idea how to make this work! I'll let you know once they come back to me either with a bug number or instructions on how to achieve this properly.

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Unknown said:
    Can someone help with this, please? Are images in the preview supported at all?

    Hi  

    I can confirm that this is already logged as CRQ-5287 and it has been fixed for the next filter update.

    Maybe worth noting that if the image is between text then it does work... just in case you have some control over that:

    <!DOCTYPE html>
    <html>
    <body>
    <p>when it's not between text</p><img src="code.jpg" alt="you can't see it">
    <p>when it's between text<img src="code.jpg" alt="you can see it"></p>
    </body>
    </html>

    Who knew the xml support in the forum acts like a built in validator ;-)

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Thanks Paul!

    Unfortunately I have no control over the input file, so will wait for the fix.

    regards,
    Tamas