Geometry Nodes Blender 3 issues

Hi, I am a complete noob with Geometry nodes in Blender 3 and need some help if possible. I want to scatter framed pictures on a large wall using geo nodes so I can change the scale, density and scatter the pictures on the wall without the picture overlapping and staying within the borders of the wall. I made Geometry Node for Large wall to scatter cubes(Picture Frames) on wall, check screenshots, can anyone tell me how to stop the cubes(Pictures) from sticking out from wall border and if I want to arrange the picture in grids so when I change the seed the pictures change but all stay in line across the wall, or have different patterns all over the wall. And I dont want pictures to collide with each other and cause the z fighting. Each picture frame must occupy its own space. Can anyone help