Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Deployment > Images broken after upgrade from 3.2 to 3.5

Images broken after upgrade from 3.2 to 3.5

  • fregas baratis Intermediate avatar

    Posted on Jan 27, 2010 (permalink)

    It looks like the pages are rendering the images like this:

    <img complete="complete" src="/Libraries/Pictures/CHA logo 2 (1).sflb" style="width: 299px; height: 227px;" alt="">

    but in the library in the admin, i can see the images and they render out using underscores instead of spaces.  I don't want to have to change all the image references in the entire site.

    help!

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Jan 28, 2010 (permalink)

    Hi fregas baratis,

    The problem seems to be in the white spaces you have in the name of the image. I suggest that you should take a look at this post - How to replace urlWhitespaceChar in your Images and Documents library items after upgrade from 3.2 to 3.5

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • fregas baratis Intermediate avatar

    Posted on Jan 28, 2010 (permalink)

    I used the find/replace tool to get rid of the white spaces, however I still have paranthesis in my links that sitefinity does not recognize, such as MyFile_(1).sflb.asmx.    Do you have a regex that will remove the parenthesis?

    Thanks,
    Craig

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Jan 28, 2010 (permalink)

    Hi fregas baratis,

    You could try this RegEx which removes the brackets  (/[\(\)\.\-\s,]/g, ""); You have to create custom regular expression and cover all cases or at least most of them. More information at www.regular-expressions.info

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • fregas baratis Intermediate avatar

    Posted on Jan 28, 2010 (permalink)

    I tried that on http://www.regextester.com/ and it didn't do anything.  And It didn't look like that was one that would only affect everything in the <img src> attribute. 

    Does anyone have a complete regex over there?  I really need to get this fixed for our client and i'm not a regex guy.

    thanks,
    craig

    Reply

  • fregas baratis Intermediate avatar

    Posted on Jan 29, 2010 (permalink)

    hello?

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Deployment > Images broken after upgrade from 3.2 to 3.5