Please read the function description for normalizeColumns(). Specially the bit for the parameters. You will see from that the first parameter is the number of album thumbnails that the CSS will place in a row. The second parameter is for the image thumbnails.
So given your description the call should be `$firstPageImages = normalizeColumns('3', '4');`
The function call can go anywhere before the next_album() next_image() loops.
Of course you would have to have a different parameter set for your index.php page than your search.php page. (And maybe your album.php page? that also would be involved.)
But you should be cautioned that breadcrumbs are unlikely to work for you because the pagination must be computed each page load. So if you have different layouts it will not compute the proper page to return to.
Comments
So given your description the call should be `$firstPageImages = normalizeColumns('3', '4');`
On my main page `index.php` i have 3 colums or 3 albums per row. However; on my search page `search.php` i have 4 colums or 4 albums per row.
oh yeah... I guess I should specify that I have a header file that is called on all pages and it's in this header page where that function resides.
Could I place the function elsewhere or does it have to be at the very top?
Of course you would have to have a different parameter set for your index.php page than your search.php page. (And maybe your album.php page? that also would be involved.)
But you should be cautioned that breadcrumbs are unlikely to work for you because the pagination must be computed each page load. So if you have different layouts it will not compute the proper page to return to.