Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help

Re: Image display issue in user controls deployed to WSS (Sharepoint)

  •  28 Nov 2007, 2:33 AM

    Re: Image display issue in user controls deployed to WSS (Sharepoint)

    Attachment: Code sample.txt
    HI am still facing the same problem even after installing the latest verion of the DotImage application. 5.0f.

    Actually in my ase im using a pdf file stream to load the images in the thumbanil viewer. Where as the same approach is working for the Annotations viewer in my case. after enabling the atalasoft error logging in the web.config the control logged an error in the image cache folder. I have already added a case on the atalasoft portal. case number is :00013125

     Case details:

     
    Case Description


    [Section 1]: Images were not loaded in the thumbanil viewer control. Am using a pdf file stream to load the images in both thumbanil viewer and annotations viewer. But the images are loaded only in annotations viewer but not in the thumbnail viewer...

    [Section 2]: Images should have loaded in the thumbanil viewer. As the same mechanism and same code is working as an indipendent asp.net web application, it should have worked under sharepoint too. but failed to load the images/page thumbnails in the thumbnail viewer control
     
    [Section 3]: Error message logged under the image cache folder. (Using the atalasoft error logging)
    url: ImageCache/o4lvz345um0ktxq3xwl3b455_layouts_sampleApp_send_aspxwtnViewer_si_00000.ukn
    searchPatterns:
    thumbSize: {Width=120, Height=120}
    frameIndex: 0

    atalagetthumb=true&atala_id=ctl00_Contentplaceholder1_wtnViewer&atala_si=ImageCache%2fo4lvz345um0ktxq3xwl3b455_layouts_sampleApp_send_aspxwtnViewer_si_00000.ukn&atala_fi=0&atala_tw=120&atala_th=120&atala_rnd=49463169

    Unrecognized Image Type.

      at Atalasoft.Imaging.Codec.RegisteredDecoders.GetDecoder(Stream stream)
      at Atalasoft.Imaging.Codec.RegisteredDecoders.GetImageInfo(Stream stream, Int32 frameIndex)
      at Atalasoft.Imaging.Codec.RegisteredDecoders.GetImageInfo(String fileName, Int32 frameIndex)
      at Atalasoft.Imaging.WebControls.WebThumbnailViewer.c()

    Atalasoft.Imaging.Codec.ImageDecoder GetDecoder(System.IO.Stream)
    -----------------------


    Searched on the net for the solution... but did quite get it. even went through one of your blogs: http://www.atalasoft.com/cs/forums/thread/12682.aspx  but didn't quite get the solution.

     Following error was logged the event viewer:
    11/27/2007 10:22:13 PM
    Office SharePoint Server
    Error
    Publishing Cache
    5785
    N/A
    BALSA
    Unable to connect publishing custom string handler for output caching.  IIS Instance Id is '387271371', Url is 'http://serverIP:23809/_layouts/betaApplication/Send.aspx?atalaimg=spacer.gif'.

    11/27/2007 10:22:11 PM
    Office SharePoint Server
    Error
    Publishing Cache
    5785
    N/A
    BALSA
    Unable to connect publishing custom string handler for output caching.  IIS Instance Id is '387271371', Url is 'http://serverIP:23809/_layouts/betaApplication/Send.aspx?atalagetthumb=true&atala_id=ctl00_Contentplaceholder1_wtnViewer&atala_si=ImageCache/ajgzmxfdje0xqk55wtoctgmn_layouts_sampleApp_send_aspxwtnViewer_si_00001.ukn&atala_fi=0&atala_tw=120&atala_th=120&atala_rnd=8071143'.
    ****************************************************************

    Any help will be really appriciated...

View Complete Thread