If I set up an ImageCache preset of say 50x50 called 'user_image_tiny' and want to have that preset applied to a User:Pictures field in a Views table (members directory), how do I accomplish this?

Currently, when adding User:Picture to any Views table it just uses the default 'user_image_default' ImageCache preset. I need to be able to use different size presets for different views.

Is this possible?

Thanks.

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

imagecache would have to provide this. Views knows nothing about it.

zoen’s picture

Over at Imagecache, they're also calling this request a "won't fix" (see http://drupal.org/node/362991 ).

But do not despair! For now, you can use imagecache presets for user pictures in views by adding the Imagecache Profiles module and patching it thus: http://drupal.org/node/349331#comment-1719550 Once you have the patch working properly, you'll see an "Imagecache Preset" dropdown at the very bottom of the options for the user profile picture field in your views edit screen.

Peel’s picture

This is great!

The patch you mention has been committed to Imagecache Profiles 6.x-1.1, so works "out of the box" now.

kari.nies’s picture

It's great to see Imagecache Profiles integrated into Views!

However, beware, field setting overrides for imagecache presets do not seem to work. I've tried overriding the imagecache preset for a user:picture field and it seems to ignore it and always take the ic preset setting from my the default view.

Is anyone else experiencing this?

-- Kari