As far as I can tell, there is no existing module that has implemented this functionality.
The Nodereferenc Widget Thumbnail module (Drupal 6 only at this point) provides a configurable way to associate an image from a cck imagefield to be used as a thumbnail for nodereference autocomplete widget on the referencing node. Currently, only the autocomplete widget is supported.
REQUIREMENTS
============
- CCK and Node Reference.
http://drupal.org/project/cck
- FileField.
http://drupal.org/project/filefield
- ImageField.
http://drupal.org/project/imagefield
- Imagecache.
http://drupal.org/project/imagecache
Highly Recommended
- Node Relationships.
http://drupal.org/project/noderelationships
INSTALLATION
============
- Be sure to install all dependent modules.
- Copy all contents of this package to your modules directory preserving
subdirectory structure.
- Go to Administer -> Site building -> Modules to install module.
- Review the settings of your nodereference fields to make sure related
content types are explicitly specified in the option "Content types that
can be referenced". And enable the 'Enable Thumbnail' checkbox.
- Enter the image cck field name for each node type that you would like to display a nodereference widget thumbnail
for when be referenced via the nodereference field on another node.
- This module has also been thoroughly tested with the excellent noderelationships module which is highly recommended.
Comment | File | Size | Author |
---|---|---|---|
#1 | noderef_widget_thumb.zip | 9.72 KB | kmadel |
#1 | nref_widget_thumb_screenshot.png | 137.91 KB | kmadel |
#4 | noderef_widget_thumb.zip | 7.41 KB | kmadel |
#2 | noderef_widget_thumb-1.zip | 7.14 KB | kmadel |
Comments
Comment #1
kmadel CreditAttribution: kmadel commentedAttached archive of module and screenshot of the module in use.
It is now a sandbox project at: http://drupal.org/sandbox/kmadel/1075472
Comment #2
kmadel CreditAttribution: kmadel commentedPlease review this slightly updated version. The screen shot from comment #1 still applies. This version added a select form control instead of a text field for specifying what ImageField of a given node type should be utilized for generating the nodereference widget thumbnail.
Comment #3
kmadel CreditAttribution: kmadel commentedFor anyone making heavy use of node reference fields where the referenced node has an image field, I highly recommend that you at least check out the screenshot.
Thanks
Comment #4
kmadel CreditAttribution: kmadel commentedHere is another version with a minor change for dealing with a race condition when installed with the modalframe module (required by the noderelationships module).
Comment #5
kmadel CreditAttribution: kmadel commentedAnyone out there willing to take a look at this? I am definitely willing to port to Drupal 7 once the whole Reference/Relations direction works itself out. Am I missing something as part of this application?
Comment #6
dealancer CreditAttribution: dealancer commentedI have tried this module and it works perfect for me. Module has good style of code and I would appreciate if kmadel get a GIT/CVS account.
Comment #7
kmadel CreditAttribution: kmadel commentedSandboxed at http://drupal.org/sandbox/kmadel/1075472
Comment #8
lorinpda CreditAttribution: lorinpda commentedHi,
I tried to obtain a snapshot of you latest module, however your sandbox is missing most of the file listings posted in comment #4 (noderef_widget_thumb.zip archive)l
,,,,
It looks like the sandbox only contains "noderef_widget_thumb.info", Even that file listing appears empty.
....
Please review the git instructions and commit the rest of your project.
....
Hope that helps.
Lorin
Comment #9
kmadel CreditAttribution: kmadel commentedSorry about that, I have committed the rest of the project and actually tested the git cloning procedure successfully. Thanks for taking a look!
Comment #10
eL CreditAttribution: eL commentedhm, nice... better this, than nothing... and nodereference explorer is too heavy for my purposes.
But it is pitty, that Nodereference field doesnt have function like Node Relationship module, where referenced node is previewed in modal window...
Comment #11
psiska CreditAttribution: psiska commentedAny plans to port this to D7?
Comment #12
kmadel CreditAttribution: kmadel commentedDefinitely, but it would be easier if it was an actual project with releases. Maybe it will get reviewed if I promise to port it to D7 ;)
Comment #13
jordojuice CreditAttribution: jordojuice commentedAye you haven't had much of a review yet! We apologize for the long wait! Updating priority according to priority guidelines. The application's priority should be set back to normal once a reviewer responds to your application and the application review process has continued.
Comment #14
svendecabooterApologies that your application process is taking so long...
I have reviewed your code and posted a few issues (some with patches) in your sandbox issue queue.
Once those are addressed, please set the status back to "needs review".
Keep up the good work!
Comment #15
kmadel CreditAttribution: kmadel commentedFixed all issues in issue queue as so graciously identified by svendecabooter.
Thanks.
Comment #16
svendecabooterThe project seems good to be approved as full project now, as far as i'm concerned.
There's still one Coder issue with tabs instead of spaces. You might want to reconfigure your editor to make sure it spits out spaces by default.
Sven
Comment #17
tim.plunkettYou have been granted the ability to create full projects. Use this power sparingly and only when appropriate! Congratulations.
Comment #18
tim.plunkett