image fields

Teaser: 

been working a lot the last couple of months with image fields for drupal in things like blogs and reviews for various clients. (see on the snow for example.)

how does one do it? lots of methods exist, from using image with tinymce and img_assist, to using upload and inline, to image_attach, or image tabs, or a half-other dozen existing solutions, not to mention writing your own solution.

so how do you decide what method to use? the answer is ultimately to try them all, especially as some projects become enhanced or otherwise more viable at any time, while others become unmaintained or obsolete. i'm going to show you the method i currently like using the best, which is a combination of imagefield (with cck) and imagecache. there is some coding involved, so this requires some experience with php. but don't worry, i'll guide you as best as i'm able. read on!

note: this is the fourth post for nablopomo, for those interested.

Body: 
first you need to install those modules. you'll be using cck, so let's start, by making a blog content type. this is going to be a blog with a teaser, a body, and one or more optional attached images. the images will be displayed as thumbnails on the teaser view, and as full sized photos between the teaser and body of the page view. (suspiciously as done with this post, and similar to waiting (at onthesnow)). you can do much fancier things with it, such as at

not complete yet...

Trackback URL for this post:

http://www.culturefix.org/trackback/68

Click