WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Download Image link from Lightbox

[Plugin: NextGEN Gallery] Download Image link from Lightbox

  • SiGardner
    Member

    @sigardner

    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/

Viewing 12 replies - 1 through 12 (of 12 total)
  • I too would like this function. Has anyone come up with the answer?

    Baden
    Participant

    @baden03

    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.

    A “print image” button would be good too.

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

    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.

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

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

    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

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

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

    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

    solagirl
    Member

    @solagirl

    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>
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: NextGEN Gallery] Download Image link from Lightbox’ is closed to new replies.