1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / images not showing up

images not showing up

5 posts, 0 answered
  1. Craig
    Craig avatar
    7 posts
    Registered:
    29 Apr 2009
    02 Jun 2011
    Link to this post
    At first the thumbnails and the image not showing up in preview. Not sure what fixed the thumbnail issue but they are showing up now.

    Here is what I've done so far:
    -----------------------------------------------------------------------------------------------
    http://www.sitefinity.com/sf3/troubleshooting.html#31 (however I don't have Telerik.Cms.Engine.ContentHttpHandler in the bin folder)
    -------------------------------------------------------------------------------------------

    To change the configurations please go to: ~/Sitefinity/Administration/Settings/Advanced>Libraries>Images>UrlRoot and change the value to something like sf-images.

    All items that existed before the change, should be updated to use the new UrlRoot. This can happen with the execution of the following code:

     

    var imagesFacade = App.WorkWith().Images();
    imagesFacade.ForEach(
            img =>
            {
                ((IContentManager)imagesFacade.GetManager()).RecompileItemUrls(img);
            }
        ).SaveChanges();

    I named it imageslib, this all seemed to work
    ------------------------------------------------------------------------------------------------------
    added mime types .xaml, .xap and .xbap
    ---------------------------------------------------------------------------------------------------


    The images will not show on preview or when the site is published. Also doesn't show thumbnail on Edit image page.
  2. Milena
    Milena avatar
    75 posts
    Registered:
    05 Apr 2017
    09 Jun 2011
    Link to this post
    Hello Craig,

    The image url recompilation logic is implemented internally in method SaveChanges of images facade, so the problem will be fixed after execution the code: 

     var imagesFacade = App.WorkWith().Images();
     imagesFacade.SaveChanges();

    Let me know if you still experience problems! Thanks!

    Best wishes,
    Milena
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Min
    Min avatar
    10 posts
    Registered:
    21 Dec 2010
    13 Jun 2011
    Link to this post
    Hi,

    Totally the same problem here. Added mime types as advised but still not showing images.  Also tried the UrlRoot but no luck at all.  We need help pls!
  4. Milena
    Milena avatar
    75 posts
    Registered:
    05 Apr 2017
    13 Jun 2011
    Link to this post
    Hi Min,

    Can you answer following questions in order to be sure that I understand correctly what is the problem  :

    1) Did you have working images before you changed the root url of images at configuration?
    2) Do you have working images under Cassini web server?
    3) Do you have working images on a local project ?

    Thanks!

     

    Kind regards,
    Milena
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Min
    Min avatar
    10 posts
    Registered:
    21 Dec 2010
    20 Jun 2011
    Link to this post
    Hi Milena,

    Thank for the support.  Below are my answers to the questions.

    1. No
    2. I am not using Cassini web server
    3. Yes

    But you know what, I did not know what made the trick.  All images are showing now on my staging server.

    Thanks anyway, Milena!

    Cheers,
    Min
5 posts, 0 answered