Jump to content


Submitter

SUPPORT TOPIC File Information

  • Submitted: Aug 26 2012 03:29 AM
  • Last Updated: Jan 22 2013 03:33 AM
  • File Size: 5.68KB
  • Views: 1634
  • Downloads: 88
  • Demo: https://www.anime-social.com/gallery/
  • Supported IPS Software Version: IP.Gallery 5.0.3

Previous Versions

  • 26 Aug 2012 Download [K-33] Gallery: Featured Images Settings 1.0.0

Download [K-34] Gallery: Extended Settings 1.1.0

* * * * * 3 Votes



Screenshots
Important Note: If you are using the old Featured Images Settings hook, please uninstall it completely and replace it with this one.
 
This very simple hook allows you to make a few small configuration changes to IP.Gallery. It's basically just simple settings that I've personally had a need for.
 
Currently, the hook has 5 settings you can play with. I may add more in the future. For the featured images slider, you can set the size of your images and set the number of featured images that are actually pulled. For the home page, you can set the number of recent albums, images and comments that are displayed.


- 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 has been removed, as IP.Gallery disables the cut-off date by default now. It no longer serves any purpose.

Number of Featured Images
This setting allows you to define how many featured images you wish to pull. The default setting is 20. I set this a little higher with my patchwork slider to keep a more varied pool of images available.
 
Number of Recent...
The home page settings are self-explanatory. You can set how many recent albums, images and comments you wish to display on your gallery home page here.




sounds great will try
some sort of caching would help performance, would it be easy to add ?

sounds great will try
some sort of caching would help performance, would it be easy to add ?

You mean caching the queries for the slider?

I'm honestly not sure how that would work, but I don't think a hook could replicate such functionality effectively.

Thank you Kirito,

 

this is a very useful extension. Works without problems and should be a built-in feature.


Other files you may be interested in ..





65 user(s) are online (in the past 30 minutes)

15 members, 47 guests, 0 anonymous users


SousukeSama, MSN/Bing (1), Google Mobile (1), +Optic14, Englos, +dave22, +e-Novator, Google (1), +DFORMS, +Edyta Szyluk, loozx, +nylyon, +TiMBo84, +Cyrem, +darkidan, +Stimo, +William Santos, +elnomio