Answer the question
In order to leave comments, you need to log in
How to add Instagram photos to your website?
Hello! I'm working on developing an online store. I am using Flask. Deploy to pythonanywhere. Since there are not so many places available there, and the photos from the store are the same as on Instagram, I decided that it would be possible to get photos from Instagram. I tried to copy the url of the photos and add like this.
When instead of:
I added the url of one photo, then everything worked out.
If I tried it through a template engine, adding a url to the database instead of "./static/img/conditional_photo.jpg", then the photos were no longer uploaded to the site. https://github.com/vladibuyanov/all_for_dolls_web
src='./static/img/{{ product.src }}'
src='условный_юрл'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question