Adding an image automatically to a blog post

I am trying to add an image of a signature to the bottom of each blog post but I have no idea how to do this for the best.

I have tried to use a block – but this is displaced by any comments

I have also tried using the users signature with an <img> tag but this doesn’t even show up

I also only want the image to show up in blog posts.

I assume I need to hack the page.tpl.php?

Any help would be appreciated.

Many thanks!

Comments

duckzland’s picture

I don't know how do you upload the image or the signature. But I believe if you do

    drupal_set_message(print_r($node, TRUE));

then you can try to look for the image data in the node array. Usually I do image uploading / attaching by custom cck field but yours may vary.

Generally to modify blog + comment, you'll need to modify the node.tpl.pho and comment.tpl.php, try to render the image from one of this 2 files.

--------------------------------------------------------------------------------------------------------
if you can use drupal why use others?
VicTheme.com