WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Download Image link from Lightbox (13 posts)

  1. SiGardner
    Member
    Posted 3 years ago #

    Hey all,

    We would like to show a "download this image" link on the lightbox.

    This link would just open the image the person is viewing in a new window so they can right-click and save it or so that it downloads straight away.

    We don't want to use the custom fields link, because you have to turn the lightbox off.

    So we really wanted the three stages,
    *thumbnails shown on the page
    *functioning light box with medium size image
    *link to download the file.

    Any help is very much appreciated. Thanks.

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

  2. Drain0
    Member
    Posted 3 years ago #

    I too would like this function. Has anyone come up with the answer?

  3. Baden
    Member
    Posted 3 years ago #

    I have been researching this very issue the last hours. If there is no solution, it looks like we might have to roll our own. Will post a solution once solved.

  4. Drain0
    Member
    Posted 3 years ago #

    A "print image" button would be good too.

  5. janjan32
    Member
    Posted 3 years ago #

    I'm looking for this, too. There has got to be an easy why to add this to the code. Anyone?

  6. Drain0
    Member
    Posted 3 years ago #

    I am using nextgen gallery / options / effects set to Thickbox so at least you can right click on large image to save as. A download button would be much better.

  7. mattjr
    Member
    Posted 3 years ago #

    Did anyone ever find a solution for this? I have to have this print functionality working for a clients site in 9 hours :/

  8. Drain0
    Member
    Posted 3 years ago #

    No, but I'll buy you a pint if you find out, good luck.

  9. HLISM
    Member
    Posted 3 years ago #

    Unless I am missing something you can use something like

    <a href="link to picture.png" target="_blank">Download Link</a>

    In the Alt & Title Text / Description of the NG Gallery

  10. Drain0
    Member
    Posted 3 years ago #

    Thanks @HLISM that opens the image in a new window but does not force a download dialogue and I need to idiot proof this.

  11. Drain0
    Member
    Posted 3 years ago #

    Here is a paid for plug in that will do it http://www.adriancockings.com/?p=68

  12. Gotya
    Member
    Posted 2 years ago #

    Ok please dont pay for a plugin when there is already an existing free jquery lightbox plugin that does exactly what you are looking for and more!

    Have fun and good luck!

    Below is the info:

    Plugin name: WP Jquery Lightbox
    Author: Ulf Benjaminsson
    Download link: http://wordpress.org/extend/plugins/wp-jquery-lightbox

  13. solagirl
    Member
    Posted 2 years ago #

    I need to show a downlink, too but I'd prefer to show it under the thumbnail since some users say they have difficulties loading the large images by nextgen gallery. Here is my code.

    <script type="text/javascript">
    jQuery().ready(function() {
    	jQuery('.ngg-galleryoverview .ngg-gallery-thumbnail a').each(function() {
    		var alink = jQuery(this).attr('href');
    		jQuery(this).after('<a href="'+alink+'" target="_blank" style="margin:0;">Download</a>')
    	});
    });
    </script>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic