3

I am using contact form 7.
I have a file field to upload images. Code of file field in contact form 7

[file* image filetypes:jpg|png|gif]

I need to display the uploaded image in mail using contact form 7. How can i do that?

closed as off-topic by Pieter Goosen, fuxia Jul 28 '14 at 7:41

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

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Have you got it working attaching the images to the emails as per http://contactform7.com/file-uploading-and-attachment/? – icc97 Apr 26 '12 at 12:38
  • Does that answer your question, or are you still trying to get the attached images to be displayed in the emails? – icc97 Apr 26 '12 at 13:17
  • I am not trying to get the attached images to be displayed in the emails. I didn't know that there is an option for attach files. So i mentioned like that. It's enough to attach the files in mails. Thanks for your effort. – designersvsoft Apr 26 '12 at 13:26
3

As per my comments, it seems you are trying to attach images to emails rather than 'show' them.

Since you have [file* image filetypes:jpg|png|gif] what you need to do is put [image] in the 'File Attachments' box in the Contact Form 7 settings.

This is from the Contact Form 7 File Uploading and Attachment doc.

  • Hi, is there any way to display uploaded image in our mail content? I created a online application form with profile picture file field. I want to display profile picture in mail template. – Soorajlal K G Dec 22 '16 at 13:49

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