Flickerd theme: customizing the photo stream

I'm hoping a PHP guru can offer some help in customizing the Flickr-style photo stream coded in the Flickerd Theme. It is beautifully built to display images based off the 'thumbnails-per-page' set in the admin. I was wondering if there is a way to override this on the homepage only, i.e., display only 3 thumbnails.
I'm thinking the best way would be to use a line like:
getCurrentPage() == '1';
return $num_per_page( '3' );
I don't know how to fully write this statement using the correct syntax.
Any help is much appreciated. Thank you.

Comments

  • the `setOption()` has a varient for setting the option in a transitory fashon, so use that to set the images per page temporarily on the homepage.

    However, note that you will have problem if you really mean "only on page 1 of the index page". All the pagination and breadcrumbs presume that the number of images on a page is uniform.
Sign In or Register to comment.