I can only guess since you have told us nothing of what theme you are using. But almost certainly this is because the theme did not setup the `$firstPageImages` variable that it is referencing in that line.
BTW, it is fairly unusual for the `image.php` script to be looping on the images. Normally it is used to display just the single image it was launched to show. The `next_image()` loop is normally found only in the `album.php` script.
Most likely you should just remove the parameter. But only the theme author knows what was intended. Sorry, but for obvious reasons we cannot provide support to themes we did not develop.
Comments
BTW, it is fairly unusual for the `image.php` script to be looping on the images. Normally it is used to display just the single image it was launched to show. The `next_image()` loop is normally found only in the `album.php` script.
`
<?php while (next_image(false, $firstPageImages)): ?>
" title="<?php echo getBareImageTitle();?>"><?php printImageThumb(getAnnotatedImageTitle()); ?>
<?php endwhile; ?>
`
can you give me any pointers? do you need to see the whole file? also what do you mean by setup the variable?
thanks a lot