Module: Node Image Block Author: Mike Carter Description =========== Displays all images that are attached to any node using the upload.module. Requirements ============ * Drupal 4.5+ installation * upload.module to attach images to nodes Installation ============ * Copy the 'nodeimageblock' module directory in to your Drupal modules directory as usual. Usage ===== When editing a node, attach an image to it using the upload.module functionality. Untick the 'list' option to prevent the image(s) from being listed to the public at the end of the node. In the Blocks configuration page (?q=admin/block) enable the 'Node Image' block and assign it to a region on the page. Theming ======= The module provides two theme functions which you can replace using PHPTemplate. They are: * "theme_nodeimageblock_block" which is the container all the node images are placed in. * "theme_nodeimageblock_block_item" which is repeated per image inside the container block. Blocks can be styled using CSS. Check the output HTML on your Drupal site to determine what CSS classes/selectors to style. Security ======== To restrict who can see your 'contact card' nodes I suggest using the Simple_Access module. Available from http://drupal.org/project/simple_access