Display description, title and/ or alt next to image on node

SamuelFreeman - August 12, 2009 - 03:13
Project:ImageField
Version:6.x-3.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there!

I have created a node type called "How" on my websites which is using CCK and the ImageField module to upload and display images.

What I am trying to do is display the ImageField (image) and the Description and Title in the node rather than just the image, for preference I would actually like it to look like this (the edit node view)

http://www.whattohow.com/filefield.jpg with the image on the left then the Description on the right in bold with the Title textarea content below that.

Anyone have any idea's on how to go about doing this, I am trying to create a place where people can upload instructions by easily uploading a photo then filling in the text associated with the photo, it just seems that imagefield would be perfect if I can get the Title and Description textareas to display on the node.

Currently it only shows http://www.whattohow.com/content/funky-speaker-box

If anyone has any idea's on how to do this that would be awesome, I cant seem to get Views to display it properly and if I did I would have to use Panels to override the node type, I was wondering if anyone new the PHP to call those two text types so I could create a node.tpl.php associated with the How node type to override the theming...

Any help would be so appreciated!

Regards,
Sam

#1

not_Dries_Buytaert - October 26, 2009 - 10:25
Title:Revealing Description and title to node» Display description, title and/ or alt next to image on node
Component:Miscellaneous» Code
Category:support request» feature request

It would be nice, if authorized users (which can configure the image field) could enable printing/ displaying the description, title and/ or alt next (below or under) the image.

A partial solution (requiring some hardcoding) is being discussed here: http://drupal.org/node/432846

 
 

Drupal is a registered trademark of Dries Buytaert.