ThemeShaper Forums » Thematic

[closed]

Higher Limit than 10 Image Slideshows in AutoFocus

(2 posts)
  • Started 12 years ago by nimrod
  • Latest reply from nimrod
  • This topic is resolved
  1. nimrod
    Member

    This seems challenging, but I'm wondering if there's a way to expand or even remove the 10 image limit to single post slideshows in AutoFocus Pro?

    I'm just guessing after probing a blindly, but it looks like he code core to WordPress found in the wp-includes/media.php.

    Can that be altered (even though it would be written over during an update)?

    Posted 12 years ago #
  2. nimrod
    Member

    The answer is simple:

    In AutoFocus Pro theme folder (not sure about the free version), open the thematic-functions.php file and find this section (on line 323 in the current version 1.3):

    // Change the number of images to show in the gallery below
    'numberposts'	=> 10,

    Just change 10 to a higher number of your choice.

    WARNING: the author chose 10 because ALL IMAGES MUST LOAD for the slide show to work. This means that if you chose 50, and there are 50 images attached to the post, then all 50 800x600 pixel images have to download before a viewer would see any images in the large area above the fold. Best to keep this number small.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.