• Resolved Steve Weigold

    (@sweigold)


    Nextgen Gallery 1.0.2

    Love the gallery Alex! Upgraded from 0.99. I had made a modification in that version from some information posted online. The modification made changes to nggfunctions and added a function and made some slight changes to the nggCreateGallery routine. The results allowed the user to use the previous and next links to move through all of the images in the gallery, not just those shown on a particular page. I have my number of images per page set to 4 because I don’t want my posts overloaded with thumbnails. Some of my galleries have hundreds of images.

    I hoped that the new version would have added this type of navigation as a feature, but it doesn’t. I’ve reviewed the new nggCreateGallery routine, and even tried to make some changes but it didn’t work, so I guess I’ll have to try harder.

    Has anyone else tried the modification on the newest version, or is there a feature in the new version to do this that I haven’t seen yet?

    Thanks!
    Steve

Viewing 15 replies - 16 through 30 (of 53 total)
  • Thread Starter Steve Weigold

    (@sweigold)

    And no, I didn’t clear the browser cache. Didn’t think to. I may give that a try eventually, but I haven’t been using lightbox, so since it’s working for you I’m not going to worry to much about it right now ??

    Thanks again sweigold! Yeap that fixed it. ?? Now let me dig around and see if there are more “features” I want to put on the wishlist. ??

    Cheers

    Yes, yes, yes. It works very well. The code changes were made very fast. It really is much nicer to be able to view all pictures.
    However, there is one downsite (imho). It would be even better if, when one stopped viewing, one would return to the page of the picture -LAST SEEN- (while viewing.
    The way it is now sometimes give me a feeling of I got lost somewhere. Where am I in the album? On which page?
    Ah well, you can’t win them all. Maybe someday it will work this way.
    Thanks guys.

    Thread Starter Steve Weigold

    (@sweigold)

    That’s not a bad idea. Unfortunately, the way that the thickbox and lightbox do navigation through the images there isn’t an easy way to pass the “current” image back to the referring page and that’s what would probably be needed to make such a change. It’s a feature I wouldn’t mind having either, so I’ll take a look at it. I’ll post the results if I come up with anything good.

    Steve

    That’s a good idea. Would it be easier to modify the Thinkbox and Lightbox instead to show which page the reader is on?

    Like

    Image 30 of 100 (Page 3 of 10)

    Thread Starter Steve Weigold

    (@sweigold)

    Maybe, but the problem with that is that at thickbox and lightbox are both components that are not exclusive to Nextgen Gallery. There was already at least one case where Alex used a custom thickbox for Nextgen and it was conflicting with another plugin that was using the standard thickbox. As a result of that Nextgen moved to using the standard thickbox as well in one of the newer versions. Going back to custom versions of those components is not a good idea for that reason.

    I think Thickbox (don’t know about lightbox) allows for some customization of the close function. That may be a better way to deal with it.

    Not to mention that showing the reader the page of the image in the thickbox still doesn’t bring them back to the right gallery page and requires the user to notice it, remember it, and then select the right page when they get back to the gallery.

    It’s a feature I wouldn’t mind having either, so I’ll take a look at it. I’ll post the results if I come up with anything good.

    Hmm, that’s nice to hear. As I am no progammer I can only wait and hope your interest in this will result in some code patches. You already did a job well-done ?? Thanks again. And I do hope that when the changes make it into the main core, Alex will let us know about it.

    Where exactly is the navigation code located? I want to completely delete the option of navigation once the thumbnail has been clicked …

    I’m using my gallery with the tags feature.. so anything tagged with the words PC are going to show up yet I have done this for two different images/galleries.. and the second gallery has the tag IMAC yet when I click on just the PC thumbnail I get the pagination feature that points me to my IMAC tagged gallery..

    Is this another way to show all the images?

    ??

    example: https://home.yourconame.com/nggallery/page-44/album-1/gallery-1/images/

    Hm. .. for now I’m using the Shutter and have changed the Shutter’s CSS to zero pixels for the count and next values

    Hm. .. for now I’m using the Shutter and have changed the Shutter’s CSS to zero pixels for the count and next/prev values

    Thank god I’ve found this post – been searching for this solution for ages! Haven’t implemented yet but it looks easy enough. Thank you to all involved.

    Just implemented it and it works first time. Spot on chaps.

    Thread Starter Steve Weigold

    (@sweigold)

    @ goodenvy – the actual navigation code is in the thickbox.js class which can be found in wp-includes/js/thickbox. Be careful making modifications here though. Many different plugins use thickbox and Nextgen Gallery had problems in older versions because it used a modified thickbox and conflicted with some other plugins. Personally, I think your method of hiding the navigation with CSS is a good choice.

    @ demonboy – thanks for mentioning it. I’ve spent a number of hours on the fix. Getting some thanks makes it worth the trouble of sharing the solution.

    @alexrabe

    Hallo Alex

    es w?re klasse wenn Du diese Funktion in dein n?chstes Update integrieren k?nntest, ich denke Du würdest da vielen helfen ??

    Vielen Dank auch für dieses Plugin ist wirklich genial.

    VG Marco

    Loving this modification to NextGEN Gallery. Are there any plans to implement this officially in the plugin options? Thanks!

Viewing 15 replies - 16 through 30 (of 53 total)
  • The topic ‘[Plugin: NextGEN Gallery] Navigate through ALL images in gallery not just page’ is closed to new replies.