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

Forums / Deployment / Images broken after upgrade from 3.2 to 3.5

Images broken after upgrade from 3.2 to 3.5

6 posts, 0 answered
  1. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    27 Jan 2010
    Link to this post
    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!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    28 Jan 2010
    Link to this post
    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.
  3. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    28 Jan 2010
    Link to this post
    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
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    28 Jan 2010
    Link to this post
    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.
  5. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    28 Jan 2010
    Link to this post
    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
  6. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    29 Jan 2010
    Link to this post
    hello?
Register for webinar
6 posts, 0 answered