Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 891823 - Last Review: June 8, 2007 - Revision: 3.3
How to add the picture data view element to an existing data view from a data source that is on a server that is running Windows SharePoint Services by using SharePoint Designer 2007 or FrontPage 2003
This article describes how use Microsoft Office SharePoint Designer 2007 or Microsoft Office FrontPage 2003 to add the picture data view element to an existing data view from a data source that is on a server that is running Microsoft Windows SharePoint Services.
To add a column and to set the column type to
Picture, follow these steps:
- Open the http://ServerName/sites/SiteName/Lists/Announcements/AllItems.aspx Web page in your Web browser.
- Add a new column to the Announcements list. To do this, follow these steps:
- Click Modify settings and columns.
- Click Add a new column.
- Type a name for the column.
- Click Hyperlink or Picture for the column type.
- Click Picture for the URL format.
- Click OK.
- Click Go back to "Announcements".
- Click New Item.
- Type the URL for a picture in the Type a Web address box for the picture column element. Type an optional description in the Type a description box.
- Click Save and close.
- Exit your Web browser.
- Add the picture data view. To do this, follow these steps, as appropriate for the program that you are running.
SharePoint Designer 2007
- Open your Windows SharePoint Services site in SharePoint Designer 2007.
- Create a new .aspx page in SharePoint Designer 2007.
- On the Data menu, click Insert Data View.
- In the Data source list, right-click the Announcements list, and then click Show Data.
- In the Row list, click Title, press and hold CTRL, click PictureColumnName, release CTRL, and then click Insert Selected Field as.
- On the File menu, click Save All.
- Exit SharePoint Designer 2007.
FrontPage 2003
- Open your Windows SharePoint Services site in FrontPage 2003.
- Create a new .aspx page in FrontPage 2003.
- On the Data menu, click Insert Data View.
- In the Select a data source list, right-click the Announcements list, and then click Show Data.
- In the Row list, click Title, press and hold CTRL, click PictureColumnName, release CTRL, and then click Insert Data View. You should now see the image.
- Save the Windows SharePoint Services site.
- Exit FrontPage 2003.
APPLIES TO
- Microsoft Office SharePoint Designer 2007
- Microsoft Office FrontPage 2003
- Microsoft Windows SharePoint Services 2.0
| kbxml kbhtml kbgraphic kbhowto KB891823 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate