0

The default image size of the Person column type is quite small. How to show that in bigger size?

0

You can change the src of the Image tags created by Sharepoint. You will see that the URL of the image has a parameter for size.

Just run this script on page load; this will change the URL of all the person images -

  window.addEventListener('load',function(){
    $("img.ms-peopleux-userImg").each(function () { var src = $(this).attr('src'); src = src.replace('SThumb', 'LThumb').replace('size=S', 'size=M'); $(this).attr('src', src); });

});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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