No matter what I set the "Images Per Page" option to in the options section, it doesn't seem to work correctly. I'm using the Stopdesign theme.
For example, if I set "Images Per Page" to 20, when I click on my gallery, it displays 23 images instead. Or if I set it to 25, it displays 29. I can't figure out why this is, and am totally confused.
If it helps, here is a link to the site i'm trying it on...
http://www.asianjunkie.com/Right now I have "Images Per Page" set to 26 and as you can see it's displaying 29. Ugh.
Help would be appreciated, thank you.
Comments
But when it's settled, i'll have it on 20 "Images Per Page", but you'll see 23 per page being displayed. That's the error.
Are you unhappy with the way the pages look? Since stopdesing displays 6 image frames per line displaying only 20 images would leave you with 3 empty slots to display images. (One slot is filled with the image for the next page link.) Thus, the 23 images you observe.
With the way I guess it was meant to be formatted there's almost no way to achieve a linear alignment with all the columns.
What I mean by that is the next page link image would be at the bottom right corner of the right most column of pictures.
look for the following lines in the various php files:
` $firstPageImages = normalizeColumns(3, 6);
setOption('images_per_page', getOption('images_per_page') - 1, false);
if ($firstPageImages > 0) { $firstPageImages = $firstPageImages - 1; }`
Delete the second and third lines and you will get what you desire.
I'll try different things.