Language
  • English
  • Français
Drupal custom theming or module development price estimate calculator

Adding an image to a form and have it sent on submission

Hi,

I'm making an addition to a site that is already up and running in drupal. I want to create a new webform that act's very much like a 'tell a friend' form. (I know about the send module, but I'd like to keep everything in one form)

Essentially the form will comprise of an image and the usual input fields for the emails and a short message.

However, I can't work out how to make sure the image is sent in the email. markup displays the image in the form, but it doesn't appear in the email.

Any pointers would be welcome :)

(I've yet to hit the task of having the form send to the right email yet!)

Clarification needed

Aaron's picture

So let me see if I understand here... You want to have an uploaded image be sent in the email? Or are you wanting a specific image be added to all emails?

If the later is the case then you will need to look at the theme templates that ship with the webform module and make sure you are using an absolute link to the image source.

Yeah, i'd like a specific

Yeah, i'd like a specific image to appear in the emails. I thought it'd be a theming solution so I'll check out the templates.

Alfredo Blackburn

ikd7fifqpytz6qtz

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Ask a question related to Drupal development or administration