上传列表中的图片
在我的 Sharepoint 网站中,我有一个列表,用户可以在其中输入他/她的个人资料信息,例如名字、姓氏、年龄、性别。除了这些信息之外,我还想让用户上传他们的图像。当我为此列表创建视图时,如何让他们显示自己的图像以及其他信息?
谁能告诉我是否有任何方法可以上传图像,同时将新项目添加到列表中,稍后将在创建视图时使用?
In my Sharepoint site, I have a list where users can enter his/her profile information, such as first name, last name, age, sex. In addition to this information, I want to let the users upload their images as well. When I create a view for this list, how can I let them show their image along with other information?
Can anyone tell me if there is any way to upload an image while adding new item to the list which will be use later in creating view?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
解决此问题的几种方法:
从图片库开始
向基本集中添加其他列,以存储您所需的个人资料信息。这非常简单,并且可以使用开箱即用的视图非常简单地管理列表。通过上传图像并填写个人详细信息来添加用户。
从联系人列表开始
为用户的图像添加图片列。这将需要用户执行额外的步骤,将他们的图像上传到某个地方。与前一个选项相比,我会打折这个选项,因为它没有显着的优势,而且您必须处理额外的步骤。
使用我的网站
这为每个用户提供了他们自己的私人和公共页面,并具有最初从 Active Directory 填充的优点。用户可以上传自己的照片,您还可以获得其他不错的功能。
但是,这不会为您提供所需的列表 - 您需要编写一个 Web 部件来查询配置文件数据并将其显示为列表。还可能需要仅显示某些用户和/或用于编辑用户的简档信息的功能。
这可能是一个功能强大的解决方案,但也可能很快变得复杂,并且可能对您的需求来说太过分了。我的网站应仔细规划并要求用户教育。
A few ways to approach this:
Start with a picture library
Add additional columns to the base set for storing the profile information you need. This is very simple and the list can be very simply managed using out-of-the-box views. Users are added by uploading their image and filling in their personal details.
Start with a contact list
Add a picture column for the user's image. This would require the extra step of the user having to upload their image somewhere. I would discount this option over the previous one as there are no significant advantages and you have to deal with the extra step.
Use My Sites
This gives each user their own private and public page and has the advantage of being initially populated from Active Directory. Users can upload a picture of themselves and you get other nice features as well.
However this won't give you the list you're looking for - you would need write a web part to query the profile data and display it as a list. Features to only display certain users and/or for editing a user's profile information may also be needed.
This can be a nice powerful solution but could also get complex quickly and may be overkill for what you need. My Sites should be planned carefully and require user education.
http://sparqubepicturelite.codeplex.com - 是 SharePoint 2010 更新且更好的版本,它不是 Web-只是一个柱子的一部分。
http://sparqubepicturelite.codeplex.com - is newer and better version for SharePoint 2010 and it is not a web-part but a column.
尝试过 codeplex 上提供的 imageupload 吗?
http://imageupload.codeplex.com/
tried imageupload available at codeplex?
http://imageupload.codeplex.com/