Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

(View All Products)Featured Products

  • Donations


    Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
  • Timeslips


    Have your members submit their race times and share with others.
  • Videos


    Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
  • Forms


    Build your own forms for your members without coding experience. Support included for pm, email and topics.
  • Collections


    Build a community database of items for your members. Full features custom fields included.

Photo

[IPS] [K-33] Gallery: Featured Images Settings


This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 News Bot

News Bot

    Dedicated Member

  • Members
  • PipPipPipPipPip
  • 1,909 posts
  • IP.Board Version:N/A

Posted 26 August 2012 - 02:29 AM

This simple hook allows you to make a few small configuration changes to IP.Gallery's featured images and the featured images slider.

Currently, this hook has 3 settings you can play with. I may add more in the future. This was largely just a hook I made for my personal gallery, but I've seen a couple members here post about wanting to disable the gallery cut off limit alone, so I decided to write this up for anyone who wants to make use of it.



- Settings -
Featured Images Size
This setting allows you to change the image size for the patchwork image slider. This currently only applies to the patchwork slider, I'll see about adding a setting for the default slider sometime in the future. By default, IP.Gallery pulls your medium sized images. With the default settings, this is usually the best option. However, if you've more than doubled IP.Gallery's default sizes, this may be undesirable. Using excessively large images in the patchwork slider not only consumes more bandwidth, but it can also make some browsers lag. With this setting, you can safely have larger medium sized images for your display pages while using small images for your patchwork slider. Or you can even use large images, if you have some justifiable reason for that.

Disable Cutoff Date
This setting entirely disables the cutoff date for the featured images slider. By default, IP.Gallery won't use images that are over a year old, no matter if they're set as featured or not. This is largely done for performance reasons, so you should take care when disabling this on very large boards.

Fetch images up to how many days old?
On the contrary, if you do run a very large board and are having problems with limited resources, you may want to further lower the cutoff date to a few months instead of a year. This setting will let you specify how many days old an image can be before it's excluded from the featured images slider.

View Resource