A
A
Artem2020-03-06 07:14:29
Django
Artem, 2020-03-06 07:14:29

How to organize the display of dynamic images on the page in a grid on the page using Django?

Hello.
The question is...
I have a directory where images are constantly being pushed/deleted using Python.
I'm trying to develop a Django web interface to display image data on an html page. But I don't know how to do it.
All image files have a type format.

125345345.jpg
It is planned to make an input field and a button on the page - a search word is entered in the input, a button is pressed, my Python script processes, loads images into a directory. After that, all these images should be displayed on the html page in the form of a grid, for example, as in Instagram .
The only question is how to implement a pars of dynamic links in a directory, inserting all this into HTML.
Ps I'm a beginner, the question, I suppose, is clumsily drafted, but I hope you understand me :-)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2020-03-06
@b_a_y

https://www.roytuts.com/how-to-create-photo-galler...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question