Thanks gmayor: that helped.
The array is global and it has the file paths as you suspected.
I didn't mention that there is a potential caption below each pic.
If you look at my code you can see where I add space for it below each pic and if the caption exists to print it within that space.
I need to make sure all the pics are aligned, with or without a caption.
Also, there is no padding between the pics.
Can that be added?
The caption should take care of it vertically but I still need padding horizontally.
|