Need to make default thumbnail smarter for filefield so that all thumbnails are not generated as Only local images are allowed. based on mimetype.

Comments

grndlvl’s picture

Status: Active » Needs work

Fixed to where Nrembrowser will only attempt to display the image source if and when it is an image for filefield. http://drupal.org/cvs?commit=438746

We should also implement something that will allow setting of a thumbnail from either an arbitrary image field or able to specify in code or even a default based on type.

Styles maybe?

grndlvl’s picture

Title: Thumbnails in browser for filefield assumes that all filefields are images. » Thumbnails for nodes should be configurable by fields and code?
grndlvl’s picture

Category: bug » task
aaron’s picture

We already can specify a specific image field for node types. The default works by regex'ing the body/teaser for an image, so that works as well. Maybe I'm misunderstanding the question. In any case, definitely an improvement that it ensures the files is actually an image first...