Saturday, 15 February 2014

html - using static images with django -


I am trying to upload static images for the demo on my website. I have already been through settings.py and everything is on it, because it should be because stable css works. My question is how do i codify it, if the product id 1 is shown then Show the photo. I tried to code it down but the images are not visible.

  & lt ;! DOCTYPE html public "- // W3C // DTD XHTML 1.0 Strongly // N" http: //www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">;;;;; gt; html xmlns = "http : //www.w3.org/1999/xhtml "& gt; {% load static file%} & lt; head & gt; Meta http-equiv =" content-type "content =" text / html; Charset = utf-8 "/> gt; title & gt; The Book Cove  & lt; link rel =" stylesheet "type =" text / css "href =" {% static 'Screenstyle.css'%} "/> & lt; / head> gt; body & gt; & lt; div id =" content "& gt; div id =" header "& gt; ; & Lt; p class = "title" & gt; The Book Cove.   

No comments:

Post a Comment