• I assume this must be an easy one and probably it’s mentioned somewhere, but I tried searching with no luck, so bear with me on this one. Anyway, what I want to do is to add a link to the original zip file on the gallery template. ie something like

    thumb | thumb | thumb | thumb | thumb |
    thumb | thumb | thumb | thumb | thumb |

    download all pics in a zip file

    any ideas on how to achieve this? Or do I need to add the link manually (boomer)?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter cocobongo

    (@cocobongo)

    anyone? 🙁

    Thread Starter cocobongo

    (@cocobongo)

    please???

    Just add a link in gallery.php template and make the file name dynamic depending on how you name them.

    Thread Starter cocobongo

    (@cocobongo)

    hi Joseph, thank you for your answer. I knew the gallery.php template part, but I don’t know what’s the code to “make the file name dynamic”. All my zip files are named “gallery.zip” so what should I exactly use to grab that?

    Sorry, I meant making the link dynamic.

    Try this:

    <a href="<?php echo site_url('/' . $images[0]->path); ?>/gallery.zip">Download Link</a>

    Thread Starter cocobongo

    (@cocobongo)

    Just a quick note to thank you Joseph, I wasn’t notified of this answer and didn’t see it and found out today because I needed it again!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: NextGEN Gallery] Link to original zip file?’ is closed to new replies.