The Image Attach module allows you to attach images to any kind of node. You can use existing image nodes or upload a new image, which will automatically create a new image node. The Image Attach module is part of the Image module package.

To use the image attach module:

  1. Enable the image module and the image attach module
  2. Make sure attachment of existing images to nodes is enabled at admin/settings/image/image_attach (this is the default)
  3. Go to admin/content/types to administer content types. For each content type for which you want to enable attachment of images, click "edit" (or click on the content type name) and set the option for "Attach images" to Enable.
  4. Optionally, while on this page, you may set the derivative size to show for both teasers and full nodes, and also limit the maximum number of image nodes that may be attached to each node.

The image is displayed as a thumbnail, linked to the image node, in the top right-hand corner of the node by default. This can be controlled to a minor degree by changing the "Attached image ... weight" on the content type's admin page (see above). Use theming and custom CSS for greater control.

Alternatives to Image Attach

The following modules allow you to insert images directly within a node's body -- allowing more than one image within a node and giving finer positioning control.

  • The Image Assist module generates an "Add image" link under fields of your choice. Clicking the link opens an image browsing window, displaying all images that have been uploaded with the Image module.
  • The Image Filter module allows you to use tags of the form [image:nodeid] within node body, referring to the id of an image node.
  • The IMCE module provides more sophisticated capabilities for inserting image nodes.
  • The ImageField utility under CCK (The Content Construction Kit) allows a content type node to have one or more images attached to it, making it easier to 'attach image to page.' ImageField offer some advantages in node data management but does not natively create or allow for full node definitions to be created for each attached image. This means such images cannot be tagged, managed, or described individually.