On Tuesday, July 26, 2016 at 3:10:46 PM UTC-7, R U wrote: > > Sorry to bother with something so trivial but this problem is not getting > solved by me > I cannot get an image to show. I am using python anywhere the image is > stored in static/images as > > DVimg.JPG > > Then in views/default/index.html I have the following. > > <div class="jumbotron text-center"> > <div class="row text-center slideanim"> > <h1>some big text</h1> > <h2>la la </h2><br> > <h4>blah and blah</h4> > > > <img class="img-responsive" src="DVimg.JPG" alt="One fine Picture"> > </div> > <div> > >
Should that be <img class="img-responsive" src={{URL("static", "images", "DVimg.JPG"}} alt="One fine Picture"> ? > <p>funny stuff.</p> > <p>interesting things</p> > </div> > </div> > > thanks in advance Rob > Retrospectively, you're welcome ... if this helps. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.