cool module, just what I needed to get different size user pictures.
It works well on the user profile and the comments.
However, on the node (detail) pages it doesn't change the size of the picture. It keeps showing the mini image.
Is there a problem with the Bartik theme?
When I print the $node object it shows that the user_picture_style was changed to "large" but
it doesn't show a large image. I did clear the caches.




mototribe’s picture

using firebug I found out that it does load the correct size image but there is an image style that "dumbnails" it down to 20 pixels high:

.submitted .user-picture img {
float: left;
height: 20px;  

This is generated by bartik/css/style.css line 621.
Looks like Bartik is just using the 100px thumbnail image and dumbnailing it down to 20px high.
When I remove "height: 20px;" it works fine.

Should I submit that on the Bartik issue queue?

andypost’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

Really interesting probably the module should care about preset and css-style

Also there's a core issues
#1292470: Convert user pictures to Image Field
#173493: User picture fixes and cleanup
#410044: user-picture.tpl.php should not return an empty div