Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
thanks
UWE
Comments
Comment #1
mototribe CreditAttribution: mototribe commentedusing 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:
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?
Comment #2
andypostReally 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