I have a question about my Stack Overflow post: Equal height image grid that fills up width of container
I'm relatively new to Stack Overflow and yesterday I posted an answer to a question. Two hours later that answer was deleted with some explanations in comments and I don't really agree with those comments, but I might be wrong. I would like to better understand this deletion if it's possible.
The first comment on my answer is: "...you should not hijack the question and post your own question as an answer". I don't understand that because I didn't ask any question on my answer. What I did is paraphrase the question to make the goals clear.
What I paraphrased:
- 1 or x rows with multiple images : 1 row with 3 images inside. 1 row with 2 images inside.
- the size of all images is not known in advance : All the images don't have consistent width and height
- equal height of each images in a row : Equal height image grid
- all the images must have the same width as the container: Equal height image grid that fills up width of container
- And the images have to maintain their cropping and aspect-ratio : I need the images to maintain their cropping and aspect-ratio
The second comment is: "This does not really answer the question. ..." I posted a CodePen and the result seems to answer the original question. "... If you have a different question, you can ask it by clicking Ask Question..."
For me, it's not a different question, but I'm really open to discussion, and maybe I missed something there.