Is there anyway I could apply an image style to the user picture in comments without using a preprocess function (YOURTHEME_preprocess_user_picture?)

The reason I ask this is because the preprocess function scales and crops the user pictures and I can no longer use the uncropped version (the original) in Views for example.

Any and all help on this is greatly appreciated.

Thank you. :)

2 Answers 2


You should be able to do it through straight css, or look into a module that will allow you to customize image styles for different applications.

.comment .user-picture

.comment .user-picture img


I found a module that will allow for applying styles to pictures in comments (and other pictures too, like avatars, node pictures, etc.) It did require a lot of tinkering for my site but it is working now. It can be found there: Imagecache Profiles

Instructions can be found there: How to use Imagecache Profiles

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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