-1

I need to view only the image in HTML page.

Like : http://localhost:8000/media/project_name/imagenav.jpg

Example page : https://s3-media3.fl.yelpcdn.com/bphoto/c7ed05m9lC2EmA3Aruue7A/o.jpg

Thanks & Regards, Mohamed Naveen

user2536023
  • 165
  • 1
  • 4
  • 14

1 Answers1

0

It's simple

Your statics must be configured first.

{% load static%}
<br>
<img src = "{% static 'image name in static folder'%} " >

Check my site on heroku http://pyworldpy.herokuapp.com

GeneralPY
  • 3
  • 6