I was looking in to how to attach preloaded small image/avatar to a node? Say next to the title of a node, tried to do it this way "http://drupal.org/node/337717" as a node reference, but it also prints revision information and has a link to that single image node which is not good and looks like there is no way to disable this information and leave just full node image.
If let's say I make tens of thousands text nodes with these avatars included by using only 3 variations - it will be a waste of disk space.
So basically the way it should be - when create a text node whatever, fill all the fields - there should be a radiobutton selection of 3 images.
Is it possible?
Thank you!

Comments

hershel’s picture

One way to accomplish this is by adding a CCK field to your node type using the http://drupal.org/project/cck module . In that put your three radio buttons. Then use template files to display an avatar, depending on the value of that field. This will require a bit of PHP.