V
V
vladibuyanov2021-03-08 01:22:20
Flask
vladibuyanov, 2021-03-08 01:22:20

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

1 answer(s)
Y
YoungJser, 2021-03-08
@vladibuyanov

Either download, or find a link to a direct link, or write an algorithm for downloading :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question