D
D
Dmitry Novikov2021-09-22 23:09:25
Design
Dmitry Novikov, 2021-09-22 23:09:25

How to make a grid of photos like on photo stocks?

Hello.
I would like to ask a question about the location of photos on popular stock sites:
https://depositphotos.com/stock-photos/dog.html
and marquee stock I

encountered a similar problem in my work.
There is a certain grid for the arrangement of photos, but all photos of a certain aspect ratio, all this is adjusted to the screen.
In the desktop version, I arranged the elements in a certain way so that they would look normal, but with the tablet and mobile version, it doesn’t fit in my head how to customize the elements, what should be the algorithm for transferring and scaling images to the screen.

Perhaps someone met, worked with a similar task, something will tell.

I hope I clearly spelled out the problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zolin, 2021-09-23
@Dino_cooooool

This grid is called masonry grid

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question