Question

Added jpegs/png to basic site, but they are not available

I apologize in advance, as perhaps this is an error on my part. Using Filezilla I added and updated pictures in my “static” folder. When I updated the html to use those new pictures (instead of older ones), and uploaded the new html template, the pictures were missing. I reverted back to the original template and the old pictures came back in production. Not to be outdone, I just renamed the new pictures as the old pictures and sure enough the old pictures were still there! I’ve searched a lot but I think this problem is so basic that no one runs into it.

Not sure if this is relevant, but the “Owner/Group” of the new/updated photos is different from the existing ones.

<img src="{% static 'guestbook/images/software-img.png' %}" class="img-responsive" alt="home img">

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Had to do with django. needed to run manage.py collectstatic when images were updated.