html - How can I reference an image in Meteor? -


i displaying html table in basic meteor app - replaced boilerplate meteor html html table, , looks fine. need add image after table, , tried this:

. . . </table> <img border="0" height="640" hspace="0" src="regconvfapssmapwithnumbers.png" width="800" /> </body> 

but hoped image be, see outline of dimensions , "busted image" icon.

i first placed image in project's main directory (on same level <projectname>.css, <projectname>.html (the file i'm trying add image to), , <projectname>.js).

i created "public\images" folder, , copied image there, too, makes no difference.

am referencing image wrong, have in wrong place, or what?

when want reference assets (images, favicon.ico, robots.txt etc.) should create top level public folder in meteor project.

since added image in public/images, guess should point /images/my_image.png. below should trick:

<img border="0" height="640" hspace="0" src="/images/regconvfapssmapwithnumbers.png" width="800" /> 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

qt - Passing a QObject to an Script function with QJSEngine? -

c# - Web API response xml language -