Images in widget template

0
You can create dom elements with your image resources specified with something like the following: dom.create( 'img', { 'src': dojo.moduleUrl('picture','widget/ui/000.png'), 'class':'img-responsive' } ) How does the directory hierarchy work when using templates, for example: <div class="fenton_mudd_widget"> <img src="orionSlaveGirl.jpg"></img> </div> Like, where does this template thing start reading from in the directory tree? Thankyou
asked
1 answers
1

If you use templates use the full path from root.

answered