WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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.