Drupal Image support for Nodes

1) Most of the time after we have created the Drupal website we wonder what is the best way to add images to node. Then we while googling we come across Image module and related helper modules, where basically each image is handled as a separate node. I wondered whether such a thing is required, meaning having images as nodes. Seems like it gives more flexibility, and you can add different "views", Gallery Etc.

Let see some other options

2.) Second option is to create a content type using CCK or edit a existing content type and Use Image field module to attach images to content. Then you can use Content template module to display the content in the way you want. This is still tedious. ImageField provides an image upload field for CCK. ImageField is a CCK-based alternative to the legacy Image project. It boasts features such as multiple images per node, resolution restrictions, default images, and extensive Views support.

ImageField does not provide a built-in thumbnail solution, but complements the incredibly powerful thumbnail generation module ImageCache. ImageField related projects

 

3) This is what I did , I installed WYSIWYG Module , the use CKEditor the latest version and finally installed IMCE module. If you see the configurations of IMCE module (IMCE is an image/file uploader and browser that supports personal directories and quota), you will be able to easily add images from your local drive using the "Browse" button. Once you have installed IMCE, if you are using Drupal 6 you will have to goto to CKEditor setting, and check the IMCE button.

How to integrate into WYSIWYG editors

WYSIWYG API (FCKeditor, TinyMCE, etc.): Install IMCE Wysiwyg API bridge and enable IMCE as a plugin in WYSIWYG administration.
FCKeditor and CKeditor(standalone modules): Admin->Settings->Fckeditor profile->File browser settings->IMCE integration

admin/config/content/wysiwyg/profile/full_html/edit  >> Select the IMCE button here.

4) One may wonder, that what about node images module, cant we use that, well you can but then its not supported in Drupal 7, so if you are going to stick with Drupal 6 then you may use node images module. Node Image module - Adds an Images tab to the node page, allowing users to add images to the node using the upload.module. Images may be displayed as thumbnails in the node view, below the node body or in a custom position set in the node.tpl.php template. All images are available in a gallery page, on a Polaroid style.Note: Images are not saved as nodes. When a node is deleted, all associated images are deleted too.

5) To create photo gallery using Views Attach, node reference URL and CSS Injector. See the video below