Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

As of last week, something changed in our SP2010 server that transformed all image paths to: <filename>_<extension>.<extension>. I noticed some service packs were installed, but could not figure out how they may have inpacted. Not only did it update all existing file names, when i add a new image, it creates the wrong file name.

Here is an image I just uploaded, with a simple Name:

Name and title viewed from the Edit page

Yet for some reason, this image can only be accessed by the following URL. Notice the double jpg at the end.

http://intranet/comunicacao/news/PublishingImages/_w/01_rh_ricardo%20amorim_jpg.jpg

Any help will be great appreciated.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

the _w is the web version of the image and has the url format you show above. If you keep clicking the images you should be able to view the original at the url you uploaded.

Maybe try typing in

/comunicacao/news/PublishingImages/01_rh_ricardo%20amorim.jpg

and see if it works.

share|improve this answer
    
That did it! thanks. What exactly are the _w, _t used for? Are they for internal use only, should not be used by web-parts? –  mateuscb Jun 14 '12 at 17:21
    
Your webparts can use them. _t is the thumbnail (usually max 150px) and the _w is the web version (usually max 640px). I've used the _w version before in a picture rotator webpart I created to reduce the possiblity of someone uploading 20 5MB files into a picture rotator and that negatively affecting the end user's experience. –  Steve Lineberry Jun 14 '12 at 17:26
    
I forgot to mention that in my post as well, I was using the URL in a webpart. In your case, how did you use the _w in the webpart, did you have to account for the double file extension? –  mateuscb Jun 15 '12 at 15:49
1  
I just used the EncodedAbsWebImgUrl field value. msdn.microsoft.com/en-us/library/… –  Steve Lineberry Jun 15 '12 at 16:23
    
Didn't know about that field, nice. How do you use the _w with EncodedAbsWebImgUrl? –  mateuscb Jun 15 '12 at 19:22
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.