I have several different types of nodes. Lets call one "news", and in the CCK fields of "news" I can add images.

This is themed only by Imageche presets, that allow images to be smaller in the teaser and larger once in the node.

I want to theme this better, so that image in the teaser are small with the text wrapping around it and I only want one image to show up in the teaser. Nodes of this type often have up to five images.

My questions are;

How do I theme the CCK templates, are there any recipes out there that I can read as examples?

Can I control this so that only 1 single image appears in the teaser, regardless of how many are attached to the node?

Can I make it so that when in full node, I can place text between images instead of having [one giant block of text] and then [one giant block of images] or vice versa?

In short, how an we theme the templates better? I have read the help/contemplate page, I am looking for examples for someone who is not a coder.

I have commented here http://drupal.org/node/315068 and here http://drupal.org/node/536760.

Comments

JayNL’s picture

Use Contemplate. It's a perfect solution for themeing your CCK output.

pizangdesain’s picture

interesting, but when using more than 1 content type, i can't use attach image full view, its okey in teaser view, how solutions for this case...?

mmachina’s picture

if you are only using 1 image in the teaser, i think a better solution would be to use VIEWS. Use CCK to create an imagefield titled "teaser image" and then you use views to display the teaser image...

just my 2 cents!