Inside either news or blog module add two custom fields: 1 for the image and one for the caption. In this case I titled them postimg" and "caption" respectively.
First make an image field and make it public, ignore all the size information, as follows: (this is from the blog mod and he's removing the image manipulation from the blog at some point)
Then make a textarea field without wysiwyg and title it "caption"
Then for the detail template inside the blog or news module where you want the image to appear, insert the code:
UPDATED as per Robert/CalGuy's info below:
Code: Select all
{if $entry->postimg}<figure>
<img src="{CGSmartImage src1=$entry->file_location src2=$entry->postimg filter_croptofit=600,350 notag=1 quality=100}" alt=''/>
{if $entry->caption}<figcaption>{$entry->caption}</figcaption>{/if}
</figure>{/if}