I'm trying to use CCK to do this, but I reckon I'm barking up the wrong tree

From the admin panel, I want to be able to do the following.

1) Create a content type called Customer's Vehicle
2) This content type contains three things, a description, a title, 4 images, and the category it belongs under.

The problem is, I have no idea how to embed 4 image upload fields into this content type - description (body) and title are provided by default, but there's no way I can find to add image fields? Is there some way I can write a custom type within the framework of Drupal or does a solution exist? It's a pretty basic thing

Please help it's driving me crazy

Comments

nevets’s picture

There are a number of add on modules that extend the field types available for CCK. You can find the complete list here: http://drupal.org/project/Modules/category/88. The imagefield module supports images.

mokargas’s picture

How would I deal with thumbnail generation?

Squidgy’s picture

You need the Image Module, which will automatically tie-in to the imagefield and create thumbnails. You have to configure what size you want the thumbnails - I believe that's a setting in imagefield.

hcooper’s picture

It is pretty simple, here is a list of stages or steps you should take while creating the content!

Drupal 5.1

1. Title
2. Body - Where you need to insert the images put this tag Only local images are allowed.
3.For Input Format click the bottom box "Full HTML"

And follow on as usually.

mokargas’s picture

Not quite what I'm after

I know how to add images to a basic content type, what I want is for other users to be able to easier, by simply uploading 4 images, adding a title and description in a form, and then letting the CMS handle page creation and templating.

Squidgy’s picture

CCK is like drupal in that it's modular - CCK is the engine and includes a couple sample fields, but you have to download and install the other field types separately. In this case you're looking for ImageField.

Check out this list of CCK addons if there's any other fields you might need.

Hope that helps!

Squidgy’s picture

Okay, wow, I got beaten to the punch on that one. Go drupal support!

mokargas’s picture

Thats why I like it, makes deployment really quick for 90% of sites