Pergunta Publishing Image

  • Thursday, September 06, 2007 3:26 PM
     
     

     

    I created a Publishing Image column. The column is included in the content type that the page layout uses. During Edit of the page, the publishing image control functions properly - I am able to upload the image and the image displays fine. In Display mode, the image is not being displayed and the HTML for the image is displayed.

     

    Any idea why this is happening? If I use the OOB Page Image column, that works fine.

     

    A feature creates the site columns, content types and provisions the page layouts.

     

    <Field ID="{B4CCBF0E-F9DF-49f2-ABF6-4C6358DBD462}"
      Name="PageTitleImage"
      StaticName="PageTitleImage"
      SourceID="http://schemas.microsoft.com/sharepoint/v3"
      Group="Sundar Page Layout Custom Columns"
      DisplayName="Page Title Image"
      Description="Page Title Image. This image gets displayed to the right of the page title and description."
      Type="Image" Required="FALSE" Sealed="TRUE" RichText="TRUE" RichTextMode="FullHtml">
     </Field>

     

    Thanks in advance.

All Replies

  • Friday, September 07, 2007 2:12 PM
     
     

    Does anything appear where the image is supposed to be (ie. broken image link)??  Its possible that the image or layout isn't checked in and approved. 

     

    Everything for your site column looks good.

     

    -John

    http://www.sharepointblogs.com/rossonmoss

  • Saturday, September 08, 2007 3:01 AM
     
     

    Thanks, John.

     

    It just showed the image tag (<IMG ...>). After testing mutiple things, I just changed the name of the field and removed the Description. And it worked!

     

    Sundar