S
S
Sergey Khlopov2020-12-27 22:12:41
Images
Sergey Khlopov, 2020-12-27 22:12:41

What should be the algorithm for displaying images of different sizes on the site?

Hello, please tell me, the site should have such a tape of images.
But the problem is that such a feed is filled with pictures that the user has uploaded, and it is not known what size of the picture he will upload, wide, square. It is clear that the pictures need to be cropped to certain sizes, but something is not yet logical in my head. Please tell me how you can make such a conclusion of the pictures, thank you in advance for the answer.
b772d64b0da9ae853f49c264c86d9a88.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2020-12-27
@fox_12

Check it out:
https://masonry.desandro.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question