This was available using ImageField and is very important if you want to display images with different Imagecache presets in different sections.

Looking into it myself, but no luck so far.

Comments

deciphered’s picture

Ok, found a fix fairly easily, it's a simple change to Imagecache itself to tell it's formatters to apply to 'file' types as well as 'image' types.

It almost seems pointless have a separate module included with FileFiled Image to add a fairly inflexible Imagecache option.

nadid’s picture

Can you explain more how to doit?. Thank you

jpetso’s picture

Good catch, much needed option. Let's see if I get around to finding a better solution to this.

deciphered’s picture

Patch submitted to ImageCache issue queue.

#276956: Formatters support for FileField Image

jpetso’s picture

I'm about to provide similar options on the Views form like exist in the field configuration form, but I encountered another issue with CCK that needs to be fixed beforehand - #276994: 3F #6: Unable to derive from CCK's Views handlers. This issue is important to me, I'll be making sure that it will be fixed soon (properly, rather than with a quick imagecache hack - no offence to your patch, but it just shouldn't be needed at all ideally).

scottrigby’s picture

I'll test this patch in the meantime – also subscribing to updates on the mod iteslf – thx by the way – it's a lovely module so far!

moshe weitzman’s picture

subscribe.

moshe weitzman’s picture

The dependant issue has been closed, though it sounds like jpetso has a new and more clever idea for this. We await your magic ...

roam2345’s picture

subscribe.

dopry’s picture

I will probably be merging a lot of filefield_image and filefield_imagecache into both imagefield and filefield respectively... Just to keep things a little closer to home and in the same family of modules.

jpetso’s picture

My patch is now in issue #279288: There should be per context formatters for FileField: Teaser, Full Node, RSS (comment #3), and would fix this issue as well. Needs a minor bit of refinement still, but otherwise working nicely. Let's see if dopry likes the preset approach (and comments on it soon, otherwise I'll just commit it independently).

jpetso’s picture

Title: Ability to choose Imagecache formats in Views » Ability to choose different file formatters in Views
Project: FileField Image » FileField
Version: 6.x-1.0-beta1 » 6.x-1.0-beta2

Oh hey, and let's make this a filefield issue, mmkay?

encho’s picture

Subscribe

dopry’s picture

Version: 6.x-1.0-beta2 » 6.x-3.x-dev

This is the goal of the metaformatter module that will be completed during the beta cycle. I'm bumping to 3.x so I don't forget it and remember to move it to metaformatter once the module's project page has been set up.

dopry’s picture

Status: Active » Closed (fixed)

re: the original issue of selecting formatters in views... CCK handles exposing formatters to views for individual fields... the metaformatter issue is a wholly different issue and module.