After extensive searching and reading I still can't piece this together. No posts addressed this directly and the bits and pieces I did find couldn't satisfy me.

I want to display a thumbnail image just to the left or right of the node title of a particular content type. More specifically, this is for the teaser display since the links to the nodes are being redirected off-site.

Can I get a thumbnail image into the title field of a node using node.tpl.php??

Comments

tommyent’s picture

If I understand correctly I would add a cck field then use css and http://drupal.org/project/linkimagefield to finish it off

just float it right or left

just my 2cents

jimdemon’s picture

So, you mean a new field beyond the "Attached Images" field generated by the ImageField module? Options for field types are Decimal, File, Float, Integer, Link, Node Reference, Redirection, Text, User Reference. "File" gives me several image options but they accomplish no more than the "Attached Images" field that is already here (except generate and display a thumbnail).

Just to clarify, using the "Attached Images" form in my content type generates a nice thumbnail in the description area just to the right of my text. I simply want to move that image and make it appear directly to the left or right of the title in the teaser display.

will_kelly’s picture

Go into your content types display settings. You can adjust your teaser in there by removing the fields you don't want. If you want your image to the left Make it upload first on the manage fields settings. This is a basic method and you may want to explore some alternatives that will give you a much more flexible platform down the road.

1- I would use image cache and create a specific size to fit your needs.

2- If you are using Views then I would custom build the teaser. Views will give you a lot more flexibility on displaying the content with custom themes and varying displays.

jimdemon’s picture

Ok, so I moved my "Attached Images" element above the "Title" field and that moved the thumbnail up in the description area but still floated to the right. BTW, when I created the content type I did not make a custom title field, I just used the default title field that was provided. Not sure if that is important to note. If I had a custom title field would the image appear above the title? Doesn't look like I can delete default fields from the content type...

With views, I am guessing that I need to customize a view for my taxonomy and not the content type? I saw that process at drupalove.com.

Thanks for your time, BTW I am a bit of a newb.