I have a website where I am pulling a list of staff members from the Craft users. You can add individual fields to the users element, but it seems the image for the photo is incredibly small is size and lacking in quality.

Is there a way to change the size of the profile photo? Hopefully I can just apply an image transform on the user profile photo. Adding another field for a photograph seems redundant.

1 Answer 1


I found the answer on the Craft website under the UserModel section:

getPhotoUrl( size )

Returns a URL to the user’s photo at a given size in pixels (defaults to 100). You can also pass in "original" if you want to get a non-resized photo back.

Although this does answer my question, I feel the behavior between handling this "asset" compared to an actual native asset is a little cumbersome, especially considering if I wanted to apply an image transformation on the original file.

  • Feel free to nuke my edit, I just figured I'd quote the docs since I had to visit to see the answer you referred to.
    – Matt Stein
    Jul 13, 2014 at 21:15
  • No way, thats a good edit. I will try to remember to do that from now on. Thank you for the edit Matt! Jul 13, 2014 at 21:16

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.