문제

SharePoint 2013 - SP에 대한 프로파일을 위해 최대 300x300의 이미지를 업로드 할 때 사이트 주위에서 사용할 이미지에 대한 이미지의 축소판을 자동으로 만듭니다.org 브라우저, 사람들이 검색 등 그러나 이미지가 예를 들어 300px 높이이고 200px 넓은 넓은 썸네일은 심하게 자른다.

나는 SP가 작동하는 방식을 변경하기 위해 할 수있는 일이 아니지만 이미지의 크기를 일으킬 수있는 도구 (이미지에 흰색 패딩 추가)를 알고 있다면 거래하는 약 1000 개의 이미지가 있기 때문에 매우 유용한 이미지의 크기를 조정할 수있는 도구를 알고 있습니다.와.

도움이 되었습니까?

해결책 2

In the end I used a tool called imagemagick from www.imagemagick.org

First I created a simple white square 300x300 for the background image to be under the actual user image - I realise there are other ways of using imagemagick to achieve the same thing but this seemed the simplest approach for me. The next step is to resize the images to a suitable size (i.e. 300px wide or 300px tall)

mogrify -path "c:\temp\Resized photos" -resize 300x300 "c:\temp\Resized photos"\*.*
for /f %%a IN ('dir /b /s "c:\temp\resize~1\*.*"') do call composite -gravity center %%a     "c:\temp\background.png" %%a

Once that was complete I was able to run my profile image import as normal and have the user images not cropped incorrectly.

다른 팁

goto site settings, under look and feel select image renditions.

here you can fiddle around to choose what you want to show with an image when sharepoint renders the profile image.

its found here:

rendition click here

select the image (thumbnail) by hovering over and click on edit renditions

edit image

these are the sizes to change to your liking:

image size types

click on the selected size to edit (scale is available)

change image prop

now select your rendition that you want as default

select default type

unfortunatly, once the rendering has started it cant be saved. What i mean is when you upload an image to sharpeoint it saves three scales and those a saved and used... the origional image is not saved. so if it saved the images cropped than it will be using the cropped images. You would need to reupload the image otherwise!

full details can be found here:

http://blog.mastykarz.nl/image-renditions-sharepoint-2013/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top