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 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?

share|improve this 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
    
It's Working. Thanks a lot. –  designersvsoft Apr 26 '12 at 13:10
    
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
add comment

1 Answer

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.

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.