Microsoft Knowledge Base Email Alertz

(891823) - Describes how to use a Picture Field type to display a picture in a Data View Web Part from a SharePoint server using FrontPage 2003.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

INTRODUCTION

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.

MORE INFORMATION

To add a column and to set the column type to Picture, follow these steps:
  1. Open the http://ServerName/sites/SiteName/Lists/Announcements/AllItems.aspx Web page in your Web browser.
  2. Add a new column to the Announcements list. To do this, follow these steps:
    1. Click Modify settings and columns.
    2. Click Add a new column.
    3. Type a name for the column.
    4. Click Hyperlink or Picture for the column type.
    5. Click Picture for the URL format.
    6. Click OK.
  3. Click Go back to "Announcements".
  4. Click New Item.
  5. 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.
  6. Click Save and close.
  7. Exit your Web browser.
  8. Add the picture data view. To do this, follow these steps, as appropriate for the program that you are running.

    SharePoint Designer 2007

    1. Open your Windows SharePoint Services site in SharePoint Designer 2007.
    2. Create a new .aspx page in SharePoint Designer 2007.
    3. On the Data menu, click Insert Data View.
    4. In the Data source list, right-click the Announcements list, and then click Show Data.
    5. In the Row list, click Title, press and hold CTRL, click PictureColumnName, release CTRL, and then click Insert Selected Field as.
    6. On the File menu, click Save All.
    7. Exit SharePoint Designer 2007.

    FrontPage 2003

    1. Open your Windows SharePoint Services site in FrontPage 2003.
    2. Create a new .aspx page in FrontPage 2003.
    3. On the Data menu, click Insert Data View.
    4. In the Select a data source list, right-click the Announcements list, and then click Show Data.
    5. 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.
    6. Save the Windows SharePoint Services site.
    7. Exit FrontPage 2003.

APPLIES TO
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office FrontPage 2003
  • Microsoft Windows SharePoint Services 2.0
Keywords: 
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