SP 2010 Publishing - Rollup and Page Images not visible when entering page edit mode

All:
Hello, I have an odd issue recently appearing after installation of FEB 2013 CU install. When users select to Edit a Publishing Page the Rollup Image and also Page Image(Article Page Layout) are not visible. Only the "Click here to insert Image from
SharePoint" link is visible.
The issue has be confirmed in 5 servers across two farms
DEV, QA, and PROD on client recently updated
DEV and PROD in a completely separate client farm
I have confirmed the issue does not exist in two separate farms running April 2012 CU. In both of those environments the image appears with issue even in Edit page mode.
In the farms where the issue exists you can click the insert image link and simply hit OK to see the image again. An easy enough work around for tech savvy but my client's content admins are very confused/frustrated by.
Is this a bug? I have confirmed in two separate farms including brand new web applications using out of the box publishing site templates.

Hi.
We have been facing the same issue in a 2013-environment (SP1), but in this case an upgraded 2010 Solution, which still runs in 2010-mode. Because of this, SharePoint still use resource-files in the 14-hive (as we have not performed an upgrade of Master
Pages etc.) The problem is also reproduced on a clean 2010 Site Collection in the same 2013-environment.
I have managed to find the cause of the problem (at least in our environment), and that is that as long as the selected picture/image has
not defined an "AltText"/"Alternate Text" the problem seems to occur.
In other words, try to define an Alternate Text and click OK in the "Edit Image Properties" Dialog.
I don't know if this may be the case for everyone else, but give it a try.
From this, I've further discovered (after hours of js-debugging) that there is a minor change (from 2010 to 2013) in a js-file called "SelectorControls.js" which is responsible for updating the various controls used in Page Layouts etc.
The problem exist in a method called ASO_UpdateButtonsAndPanels(), which checks whether the Image Control in question has content or not (Url). The local variable "hasContent" is then determined of an if statement, if(this.AssetData.ManageLinkDisplayText)
which in 2010 (14-hive) seems to be "true" regardless whether the Control is of type Image or Hyperlink. Further the code checks for AssetText (Alternate Text) which on an Image may be left empty.
In 2013 (15-hive) however, this if statement has been changed to, if(this.SelectorType==ConstLinkSelectorType), which clearly states "Image" or "Link" depending on the type of control.
I don't know if this is the cause of the problem in 2013, but in 2010 it seems to be exactly that.
Pending a solution from Microsoft, we have modified SelectorControls.js to overcome this issue until the customer decides to do a Visual Upgrade to 2013.
This is by all means not a supported nor a a permanent solution to the problem, as future Hotfixes, Service Pack etc. may "reset" our fix.
Below is a copy of the working solution:
function ASO_UpdateButtonsAndPanels()
{ULSuBa:;
var hasContent=!!this.AssetData.AssetUrl;
//SharePoint 2010: ManageLinkDisplayText is always "True"
//var hasContent=!!this.AssetData.AssetUrl;
//if(this.AssetData.ManageLinkDisplayText)
//hasContent=hasContent && !!this.AssetData.AssetText;
//SharePoint 2013
//var a=!!this.AssetData.AssetUrl;
//if(this.SelectorType==ConstLinkSelectorType) a = a && !!this.AssetData.AssetText;
//Fix for preventing existing selected image to disappear when saving page and/or editing a page with existing image.
if(this.SelectorType!=ConstImageSelectorType)
if(this.AssetData.ManageLinkDisplayText)
hasContent=hasContent && !!this.AssetData.AssetText;
if( hasContent )
if (this.ClearAssetButton !=null)
this.ClearAssetButton.EnableButton();
this.GetAssetSelectedPanel().style.display="inline";
this.GetEmptyPanel().style.display="none";
else
if (this.ClearAssetButton !=null)
this.ClearAssetButton.DisableButton();
this.GetAssetSelectedPanel().style.display="none";
this.GetEmptyPanel().style.display="inline";
I hope this helps anyone else struggling with the same problem.
Thanks!
Øyvind

Similar Messages

  • BLOB image not shows in JSP page!!

    Hi Dear all,
    I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
    Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
    My as Code follows:
    _1. Servlet Config_
        <servlet>
            <servlet-name>images</servlet-name>
            <servlet-class>his.model.ClsImage</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>images</servlet-name>
            <url-pattern>/render_images</url-pattern>
        </servlet-mapping>
      3. class code
    package his.model;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class ClsImage extends HttpServlet
      //private static final Log LOG = LogFactory.getLog(ImageServlet.class);
      private static final Log LOG = LogFactory.getLog(ClsImage.class);
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        System.out.println("GET---From servlet============= !!!");
        String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
        String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
        String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
        String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
        //?IMAGE_NO='P1000000000006'
        //TODO: throw exception if mandatory parameter not set
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
          ViewObject vo =  am.createViewObjectFromQueryStmt("TempView2", voQuery);
        Map paramMap = request.getParameterMap();
        Iterator paramValues = paramMap.values().iterator();
        int i=0;
        while (paramValues.hasNext())
          // Only one value for a parameter is expected.
          // TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind  
          // variable in the query! Maybe use named variables instead.
          String[] paramValue = (String[])paramValues.next();
          vo.setWhereClauseParam(i, paramValue[0]);
          i++;
       System.out.println("before run============= !!!");
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        System.out.println("after run============= !!!");
        Row product = vo.first();
        //System.out.println("============"+(BlobDomain)product.getAttribute(0));
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null)
          System.out.println("onside product============= !!!");
           // We assume the Blob to be the first a field
           image = (BlobDomain) product.getAttribute(0);
           //System.out.println("onside  run product============= !!!"+image.toString() +"======="+image );
           // Check if there are more fields returned. If so, the second one
           // is considered to hold the mime type
           if ( product.getAttributeCount()> 1 )
              mimeType = (String)product.getAttribute(1);       
        else
          //LOG.warn("No row found to get image from !!!");
          LOG.warn("No row found to get image from !!!");
          return;
        System.out.println("Set Image============= !!!");
        // Set the content-type. Only images are taken into account
        response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[4096];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
          //System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
        os.close();
        // Remove the temporary viewobject
        vo.remove();
        // Release the appModule
        Configuration.releaseRootApplicationModule(am, false);
    } 3 . Jsp Tag
    <af:image source="/render_images" shortDesc="Item"/>  Thanks.
    zakir
    ====
    Edited by: Zakir Hossain on Apr 23, 2009 11:19 AM

    Hi here is solution,
    later I will put a project for this solution, right now I am really busy with ADF implementation.
    core changes is to solve my problem:
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        }All code as below:
    Servlet Code*
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response) throws ServletException,
                                                             IOException {
        String appModuleName =
          "his.model.ModuleAssetMgt";
        String appModuleConfig =
          "TempModuleAssetMgt";
      String imgno = request.getParameter("imgno");
        if (imgno == null || imgno.equals(""))
          return;
        String voQuery =
          "select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
        String mimeType = "gif";
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName,
                                                    appModuleConfig);
        am.clearVOCaches("TempView2", true);
        ViewObject vo = null;
        String s;
          vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        Row product = vo.first();
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null) {
          // We assume the Blob to be the first a field
          image = (BlobDomain)product.getAttribute(0);
          // Check if there are more fields returned. If so, the second one
          // is considered to hold the mime type
          if (product.getAttributeCount() > 1) {
            mimeType = (String)product.getAttribute(1);
        } else {
          LOG.warn("No row found to get image from !!!");
          return;
        // Set the content-type. Only images are taken into account
        response.setContentType("image/" + mimeType);
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        is.close();
        os.close();
        // Release the appModule
    Configuration.releaseRootApplicationModule(am, true);
    }Jsp Tag
    <h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
                                                        height="168" width="224"/>

  • Big Colour and detail changes between Original Nikon RAW files and the images created on the Preview page!

    Big Colour and detail changes between Original Nikon RAW files and the images created on the Preview page! Yes there are distinct visual changes when I preview my Nikon NEF RAW Files.Please note I do not use iPhoto at all.
    If you view it as a contact sheet straight from the original folder there are no alterations but the moment you double click and want to 'Preview' it, this new preview page introduces very noticeable distortions : lighter shading goes missing and colour goes darker e.g orange turns red and mid blue goes deep blue!  Alarmingly the little column on the left of the preview page showing the collection shows the original file colours and then after a few seconds show the new distorted image...you can see this visible change and it takes place after a few seconds once you double click! Also if you use Apple's 'Cover Flow' to preview, this function will replace your original RAW file with the new 'altered preview' image!
    I have raised this with Apple but they have yet to reply...has anyone ever experienced this? I have used my Mac book for 18months only noticed it about 5 days ago!
    I went to Apple store and we tried it in other laptops and Macs and it happened to all of them so we think this is a software issue and not down to the laptop.
    Any help is much appreciated!

    Big Colour and detail changes between Original Nikon RAW files and the images created on the Preview page! Yes there are distinct visual changes when I preview my Nikon NEF RAW Files.Please note I do not use iPhoto at all.
    If you view it as a contact sheet straight from the original folder there are no alterations but the moment you double click and want to 'Preview' it, this new preview page introduces very noticeable distortions : lighter shading goes missing and colour goes darker e.g orange turns red and mid blue goes deep blue!  Alarmingly the little column on the left of the preview page showing the collection shows the original file colours and then after a few seconds show the new distorted image...you can see this visible change and it takes place after a few seconds once you double click! Also if you use Apple's 'Cover Flow' to preview, this function will replace your original RAW file with the new 'altered preview' image!
    I have raised this with Apple but they have yet to reply...has anyone ever experienced this? I have used my Mac book for 18months only noticed it about 5 days ago!
    I went to Apple store and we tried it in other laptops and Macs and it happened to all of them so we think this is a software issue and not down to the laptop.
    Any help is much appreciated!

  • HT204053 I have an Apple ID and use I Cloud with my Ipad and Iphone. I am trying to publish a website from my macbook but my user name and password is not recognised when I try?

    I have an Apple ID and use I Cloud with my Ipad and Iphone. I am trying to publish a website from my macbook but my user name and password is not recognised when I try?

    Ken.Lloyd wrote:
    Sorry for the delay. System preferences icloud is not an option for me. Syst preferences mobileme is
    The minimum requirement for iCloud is Lion 10.7.2 - earlier systems don't show the iCloud preference pane. If you want to use iCloud you will have to upgrade to Lion or Mountain Lion (assuming your computer meets their requirements) but even so you won't be able to publish web pages to iCloud because it does not provide web hosting. This page examines that situation in more detail:
    http://rfwilmut.net/missing2

  • HT4059 I bought an ibook and some of the pages are not visible because of encoding errors.  What does this mean?

    I bought an ibook and some of the pages are not visible and show and error message that there is an encoding error.  Can you help?

    There are numerous thread about the same matter in this forum
    I hope you'll find your answer
    https://discussions.apple.com/search.jspa?resultTypes=&dateRange=all&peopleEnabl ed=true&q=the+format+is+not+valid&containerType=14&container=2084&username=&rank By=relevance&numResults=15

  • HT204053 My devices, iPad and iPhone, are not updating automatically with pages.  Any suggestions. They use to about one week ago.

    My devices, iPad and iPhone, are not updating automatically with pages.  Any suggestions. They use to update beautifully about one week ago.  I took my MacBook Pro to the Apple store for software issues, and I been having updating issues.  Little help please.....

    Welcome to the Apple community.
    Check all your devices still have documents and data syncing turned on in settings > iCloud and that iCloud is enabled at settings > Pages. If this doesn't help, reset documents & Data from a computer at...
    iCloud.com

  • I am reading in ibooks and i do not see how many pages there are or what page i am on. how do i fix this

    i am reading in ibooks and i do not see how many pages there are or what page i am on. how do i fix this

    Some books may not display a page number on each page, or the position indicator, because the author did not include them. 
    Most basic books resembling paperbacks that are mostly words (like Kindle books) will display these because they are so basic
    that iBooks knows they need to have that information superimposed, so it just does it.
    For more advanced books, the people who made the book may elect to not display page numbers for some or all of the pages. 
    What book are you reading, and have you looked at another book and had the same problem?

  • HT1338 all of sudden comcast and facebook pages do not load when i try to access them on my mac.  all other websites are fine. any one out there having the same issue?

    all of sudden comcast and facebook pages do not load when i try to access them on my mac.  all other websites are fine. any one out there having the same issue?

    That's just not right - I mean, it really wrong to have to use a Windows machine to access your Facebook account. Can you pull up Comcast on IE as well?
    Something's going on and I'm surprised that deleting your cache and cookies for those sites didn't work.
    Let me fool around a bit - what's your primary browser?
    Curious,
    Clinton

  • Images not appearing in some pages

    I have a problem with the image header in some of the pages of my application
    when the page loads it displays the frame with an X in it like if the path of the picture was inaccessible but in the following page the same image is showing without problems so i was wondering what could be the issue with this.
    i was thinking this might be the case since i run the application on the embedded ocj4 server... if this is the case when in production it won't do this
    if someone can please clear me out on this
    regards,
    carl

    repost

  • Why the menu to move from one page to another is not seen when the page is online?

    On my web, I have different pages like 'Homepage' or 'Contact' but when I publish my web I can not see the menu.
    why the menu to move from one page to another is not seen when the page is online?
    Thank you,
    Roger.

    Where are you publishing and how are you uploading the files?

  • Fill Image not visible with iOS (ipad/iphone)

    Hi
    I created a website with Adobe Muse and I have an issue when surfing with ipad or iphone.
    When you have a coloured rectangle and add a fill image to it, it's perfectly visible with any type of browser on a desktop pc.
    Yet, when using iOS7 the image is not shown, I only see the coloured rectangle.
    This issue only concurs when I use parallax layers. The moment I add a movement to the image, it's not visible on ipad.
    What I exactly do:
    image fill: adapt to fill (in dutch: aanpassen aan vulling) and centered
    movement: start movement up and right both on 0. after movement: up and right both on 0. This way I can create a parallax effect.
    You can look at the example: http://balratmort.businesscatalyst.com
    There are 4 image's not shown.
    Strange thing: the first image with the brazilian flag has the same settings as the others, and the image is visible!
    Could someone please help me in this?

    I found the solution/error!
    my main position in the movement tab was set to 0px.
    So the movement starts when i'm at the top of the page.
    when i reach the image it's already scrolled out of focus.
    I need to set this to the pixel where my rectangle starts, not 0px.
    and that's why the first image with the brazil flag, worked correctly!
    I hope it's clear, since my muse is dutch, not english.

  • Custom publishing page layouts have undesirable overlapping effect in edit mode

    I am very new to SharePoint branding.
    I've created several custom page layouts using SPD.  They are used in publishing site collections with basic web part zones in various <div>'s for layout purposes.  The issue I've run into is that while in display mode the pages work fine,
    but in edit mode there is an undesirable overlap that causes the web part editing panel to become obscured or unusable. 
    I have ran across a few search hits that seem to dance around this topic, but nothing I've found thus far has truly addressed my issue.  Am I editing the CSS, master page, page layout or something else to ensure the edit mode is functional?
    Thank you all for your time and expertise.

    I have solved my own problem, but felt it might be necessary to document it here for those just starting out.  For a page layout to display properly, at least for me, I had to invoke the corev15.css classes in my <div> tags to convert to table
    elements when switching to Edit mode.   While this is ultimately not my first choice, I was able to add some custom styles in this CSS file to style my div's in a more suitable fashion. 
    On a publishing page, you may have code inside your <asp:Content> tag like:
    <div class="welcome welcome-splash">
    <PublishingWebControls:EditModePanel runat="server" CssClass="edit-mode-panel title-edit">
    <SharePointWebControls:TextField runat="server" FieldName="Title"/>
    </PublishingWebControls:EditModePanel>
    </div>
    From here, I had begun to style my <div>'s with inline CSS but it will break in Edit mode. Here's where I realized you needed to keep consistent with the corev15.css. Here's what should follow: 
    <div class="ms-table ms-fullWidth">
    <div class="tableCol-75">
    <div class="cell-margin">
    <WebPartPages:WebPartZone id="g_E35F979436254554ABCD54B2AD28A4BF" runat="server" title="Header"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    <div class="ms-table ms-fullWidth">
    <div class="cell-margin tableCol-50">
    <WebPartPages:WebPartZone id="g_A61037130DF64BF09145576D6DB1C679" runat="server" title="Middle Left"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    <div class="cell-margin tableCol-50">
    <WebPartPages:WebPartZone id="g_F8C0B2FDD77749B3B9274445692F056B" runat="server" title="Middle Right"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    </div>
    <div class="cell-margin">
    <WebPartPages:WebPartZone id="g_7BBC1C180FD84BF08E9E96ED9C5D2B33" runat="server" title="Bottom"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    </div>
    <div class="cell-margin tableCol-25">
    <WebPartPages:WebPartZone id="g_A32DD6684EF447559FF3D6A1539735D4" runat="server" title="Right"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    The above code makes a typical 75:25 2-column page with two additional spaces in the left side for extra web parts. I hope by posting this example I can help other young budding SharePoint branding people to get their feet wet. Thank you all for viewing my
    issue and I think this can be marked as closed now.

  • When I go to yahoo with my iPhone 6  the pages will not enlarge when I pinch them but it works on my iPad. Does anyone know what's wrong?

    When I go to yahoo with my iPhone 6  the pages will not enlarge when I pinch them but it works on my iPad. Does anyone know what's wrong? Also the same on boyfriends phone he's eith Virgin and I'm with Vodafone do it cant be the providers.

    Thanks for the link but none of those described the problem. No error message pops up. It just says "Accessing Itunes Store" but it never actually does. This only occurs when my iPhone is plugged in though.

  • HT5364 I installed OX X Moutain Lion and now I have trouble printing pdf documents--get messages like "plug in failed" or "no pages selected on printer" when clearly pages are selected

    I installed OS X Mountain Lion on my desktop MAC and since then I cannot print pdf documents---I get messages like "plug in failed" or sometimes "no pages selected on printer" when clearly pages are selected

    DO NOT USE PREVIEW TO FILL OUT PDF FORMS, IT WILL DESTROY PDF FILES. Sorry, but I had to shout here to prevent damage to your PDF files.
    Here is one of the symptoms when you fill out a PDF form with Preview: If you save it and return it to the author, they will not be able to see the text that you've added to form fields - unless they click on a field, which will reveal the contents of just that field. You can recover from this problem, but Preview will also remove other field types, and will actually rewrite your complete PDF while ignoring what it does not understand. Take a look at this blog post for more information about the damage that Preview will cause: Preview.app - Killer of PDF Files

  • Table header not visible on all pages

    I have created a table, which have the following subforms.
    MaterialBody ( Type -Flow Content  & Flow direction - Table )
    - Header     ( Type - Flow Content & Flow direction - Table row )
       - Data        (  Type - Flow Content & Flow direction - Table row )
    Also Checked the check BOX , Include Header Row in Initial Page
    In the output of my form i see all the records in table format, but my header is not visible on all the pages.
    The header is visible only on the firs and second page.
    Can anyone suggest, why the header is not visible on every page.

    Hi Ayesha,
    can you please show us the screenshot of your elements you have declared under smartforms.
    Please check this too, for your header data you have checked or not.

Maybe you are looking for