我是一个新手到Drupal 7，几个月前刚开始使用它。我的问题是我正在制作一个"webform" 在其中填写表单的用户应该上传他的图像。但由于没有这样的领域，我无法理解如何做到这一点.....
我也尝试了" entityform " 但随着我安装它并启用它，编辑链接全部在我的网站上开始抛出异常...
I am a newbie to drupal 7 and just started working with it a couple of months ago. My problem is I am making a "webform" where the user filling the form should upload his image. But as there is no such field I am not able to understand how to do it.....
I also tried the "entityform" but as I install it and enable it, the edit links all over my website starts throwing an exception...
So please help me. Any help will be appreciated.
Thanks in advance.
To add an image field to a webform:
Try Plupload for a start. Hope this helps.
In Webform - If you navigate to manage field of it. Then you should will be able to see field type as Image. Just add one field with that Image type after that you can upload your image.
If you are not able to see then check your Drupal db log. Might be there is error you will get to fix.
I'd recommend you to try Webform Select Image. This module adds a new image component to the webform.
The purpose of this module is to add an images select component for webform (checkboxes or radios buttons).
Download and enable this module
Go to webform components admin page
Choose "Select image"
Upload your image, choose image style and other component settings