WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Download Gallery
Download Checkbox on/for Thickbox view (2 posts)

  1. dkartuzinski
    Member
    Posted 1 year ago #

    Hi,

    First of all, great plugin. Very helpful. I am happy you don't charge, but I'd pay for this.

    Second, I've had to use thickbox.js for display my gallerys/images in Nextgen as I could modify it to change the image clicking to go to next image. This is done and it works well.

    Third, THE REASON FOR THIS POST, my Client is frustrated at having to click out of the thickbox view and then back to the thumbnail view in order to check the download checkbox. When actually using the site we discovered it to be a true unuser friendly aspect, considering there are often 10-20 images that are very similar and he is only going to download one.

    Is there a way, can you give me the code, to put the Download Checkbox onto the thickbox near the caption?

    I realize doing this the site will have to "remember" which ones were checked and which ones weren't.

    In summary, is there a way (or what code to add) in order to add a Download Checkbox to the thickbox view of the images in Nextgen? Here is a link we made to show you what we are working with. http://ar-akam.tenwebstreet.com/pepsi/

    Thanks for your time,

    -DK

    ps. We solved this by showing all images in the album, but in multi page view, the plugin (the download image plugin) doesn't remember which images were checked from page to page. Might be a nice upgrade.

    http://wordpress.org/extend/plugins/nextgen-download-gallery/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day, glad you like the plugin.

    Not sure how you'd get a checkbox into the Thickbox, but once you did, you'd just need to wire it to tick/untick the related checkbox on the gallery with something like this jQuery:

    jQuery("your checkbox selector").click(function() {
        jQuery("input[name='pid[]'][value='" + id + "']").prop({checked: this.checked});
    });

    To get the checkbox into Thickbox (or maybe a better alternative, Colorbox), you'll probably need to create a custom gallery template. This is described in the FAQ, and in a bit more detail on this blog post. See the documentation for Thickbox (or Colorbox) for how to include content other than just images.

    Regarding multipage, yes, it's something I have in mind to do as an upgrade some time. It might come later this year, work willing.

    cheers,
    Ross

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic