we have a public submission form that folks can use to submit news and events. we have a photo upload field and we would like to see the photo in the email notification that is sent out to the editors. i have looked at:
There’s not a way in the core email templates to do this (since we don’t surface the image URL in the out-of-the-box email message variables), but it’s possible with a custom module.
In the public_submission_notification email, the variables that get sent through are
name (Firstname Lastname of who submitted), email, type (event, news, image), title, summary, description, contact_info, event_time (if event), event_time2 (if event) event_date (if event), event_date2 (if event), location (if event), url (if submitted), edit_url
So, probably the most straightforward approach would be something like: