tracy wolcott wrote:
I was more referring to sourcing an entire gallery from a directory instead of coding a specific line of code per image.
It may be that the following is not what is in mind, but if
1. what is wanted is just a responsive page of pictures of all shapes and sizes,
2. one is content for them to be displayed at the same width, and
3. one wants to load them from a directory in one go, rather than individually,
then the following, which uses SD4 in Windows, may be of interest.
(a) I create a container with a pixel-width set in the multi-column layout section;
(b) from Windows Explorer I select the pictures and drag them into that container;;
(c) I click Done (or choose other settings), and SD4 does the rest.
No doubt those who are CSS Grid experts will find better ways of doing this, but this is remarkably quick and easy, as shown in
this screen-cast.
Frank