How do i use 2 loops to place a image in each circles?

I am suppose to insert a image in each circle, which to my understanding i could use this to make a grid
for (var j = 0; j < 4; j++ )
{
for (var i=0; i < 8; i++ ){
image(item, 467 + (i * 70), 331 + (j * 60));
}

}

i was told to add a if varable and it could be the below pattern but i am not sure how, please help!
image

I count 11x7 or so in the grid

Where if comes in in my opinion is the first and last column: circles are missing

Say if first or last column draw only 1/3/5 (0/2/4/6) otherwise draw all - express this as ifs