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.
I had to use the overridden user picture handler on a D7 project and noticed it was working, so I went through and updated everything for the latest D7 and Views changes.
Comment | File | Size | Author |
---|---|---|---|
#1 | 993024-imagecache-profiles-update.patch | 5.2 KB | Dave Reid |
Comments
Comment #1
Dave ReidSummary of changes:
1. Views no longer needs your imagecache_profiles_views_handlers() and just wants all your handler files declared in the module's .info files[] array.
2. Adjusted the views handler to work with the new core image API options.
Tested this and it works perfectly with Views 7.x-3.x and Drupal 7.0-rc1!
Comment #2
andypostCommited, Thanx a lot Dave! I'm going to release RC1 latter this day
Comment #3
andypostThe only thing that scares me - 'getsize' parameter that semms unused in core neither theme_image() nor theme_image_style()
Seems like a core bug!!! If you know an issue please post it here.
Comment #4
Dave ReidYeah it's not used in core anymore but its intentional, which is why that part was removed from imagecache_profiles_preprocess_user_picture().