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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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