Community & Support

How do I show image via imagefield in blogs?

When I attach an image to a blog post, the image shows up nicely, floating right in top of article.

When I do the same, using CCK with an image field, the image shows up as an attached file.

How do I make the attached image show up in the content, when using CCK?

Edit: I use the type: file and form element: image with cropping.

Comments

=-=

edit the content type in administer -> content types
check the display fields tab

with the addition of your edit, I've no idea.

When I use the first solution

When I use the first solution - adding image - it's like http://bryllup.dk/drupal/node/1153 (file ends up as visible image)

When using imagefield in CCK, it ends up like http://bryllup.dk/drupal/content/valentinsdag-er-årets-1-højdepunkt-frierier (file ends ud attached)

=-=

display fields tab. Please check it for the content type in question. What are you displays set to be?

It says: Field:

It says:

Field: articleimage
Label: above
Teaser: Generic files
Exclude: no checkmark
Full node: Generic files

=-=

Don't know that generic files is correct. Though again, I don't know what impact imagecrop has on this. Double check the content type that is working with the content type that isn't.

The file name is obscenlely long and you may want to investigate the transliteration.module to remove accents and such form the file names. Not all server setups will handle this properly if at all.

Bingo: changed TEASER and

Bingo: changed TEASER and FULL NODE to show the image!!

Thanks :)