I’m simply trying to display an image on a page.
The image is in a template that is dynamically rendered by Blaze.
I placed the image at /public/images/ and the template code is :
<template name="Index_page_noroutes"> <div class="parent"> <span>test</span> <image class="img-fluid" src="images/comingsoon.png" height="2160" width="3840" /> <span>test</span> </div> </template>
I tried everything but every time NOTHING is displayed. What I mean is that the image element takes no space on the page it’s like it doesn’t exist and I really don’t get why. I tried everything in CSS or HTML.
I use Meteor 1.3.
Oh and if I go on localhost:3000/images/comingsoon.png my browser display the image correctly.
What can I do ?