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.
If we were to change the various node hooks that implement image functionality to nodeapi hook ops, we could allow any node type to have associated images. This approach is taken e.g. in mail.module: a mail node type is registered, but is implemented through nodeapi, so that other node types can also be mailed (if they are designated as mailable, through a settings nodeapi hook).
Thoughts? Has this approach been discussed and decided against? I'd be happy to code a patch.
Comments
Comment #1
drewish CreditAttribution: drewish commentedI'd be very much in favor of this.
Comment #2
decafdennis CreditAttribution: decafdennis commentedIt would be nice, but the question is whether this should be in image.module. At the moment it is already possible using flexinode module, or (if you write your own field type) CCK module.
Comment #3
RayZ CreditAttribution: RayZ commentedBased on recent discussions, including comments from walkah, on the dev mailing list, it looks like this is at least being seriously considered.
See http://lists.drupal.org/archives/development/2006-03/msg00646.html
Comment #4
walkah CreditAttribution: walkah commentedindeed i'm looking at incorporating a variation on :
http://drupal.org/node/56761
Comment #5
drewish CreditAttribution: drewish commentedtake a look at the image_attach module or the imagefield module which provides a CCK field.
Comment #6
(not verified) CreditAttribution: commented