Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Custom # of columns per page?

  • Probably an easy answer, but I’m just not figuring this out today:

    I want be able to override the # of columns per page listed in my NGG admin options page (say I have the default at 7 but want a particular gallery to have 3). Created a new theme, but haven’t been able to find out where to change those columns – any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anyone? 🙂

    I’m trying to do this myself. The simplest way seems to be to set the # of columns to zero in the Options/Gallery settings, and then to change the width of your theme on the different pages. So if your thumbnails are 100px wide, put them into a 350px wide div on one page and an 800px div on the other. (I haven’t tried this; you’ll have to play with the numbers.)

    I also figured out that I can change something in the code and make it work but I hate to do that. If anyone has a better solution, I’d like to hear it!

    p.s. setting the # of columns to zero seems to work fine when all the thumbnails are the same height, but it gets UGLY when they are of various heights … I’ll post my code hack once I’ve tested it

    aster

    (@aster)

    Yeah, that’s about the same hack I eventually figured out. Not elegant to say the least.

    Just seems strange to me that in an otherwise excellent plugin, this useful option wouldn’t be supported. Unless I’m missing something?

    use the “ngg_gal_Columns” – not documented but in core.php file….

    thanks, sv507!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: NextGEN Gallery] Custom # of columns per page?’ is closed to new replies.