Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I use NextGen Gallery in combination with "Share My Gallery" and "prettyphoto Media" plugins to create and display image galleries that allow visitors to share individual images. I would like to add an email button within the prettyphoto Media plugin that allows viewers to email themselves an individual image that is also hyperlinked back to the main gallery.

Any help would be appreciated

Here is a link to a sample gallery: http://andrewvangundy.com/index.php/amex-sandbox/#prettyPhoto

share|improve this question

closed as off-topic by Mark Kaplun, birgire, Pieter Goosen, gmazzap, Johannes Pille Sep 28 '14 at 12:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – Mark Kaplun, birgire, Pieter Goosen, gmazzap, Johannes Pille
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

The easiest way is to create your own gallery template that has a form for each image (or perhaps a checkbox for each image, inside a form) and some handler code that takes the form submission and sends the emails. I'd do that as a plugin that hooks into the 'ngg_render_template' filter to load its own template.

You could start with NextGEN Download Gallery as a base, and change the download zip function to instead send your emails.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.