Hey all, am gonna show you how to display an image in the main article list.
1. Go to Elements -> Manage Elements -> Template Variables,
Create new Template Variable.
2.
Template Variable Name: lets name it to "Image",
Widget -> Image,
Input type as image,
the ID named as image.
Select Align: Left, Right or whatever you want it to be.
3. The Chunk Template: ( Name it to BlogTemplate ) This line shows the image:
<div class="image">[+title+]<a href="[~[+id+]~]">[+image+]</a></div>
<b><h2><a href="[~[+id+]~]" title="[+introtext+]">[+title+]</a>
</h2></b><div class="image">[+title+]<a href="[~[+id+]~]">[+image+]</a></div>
<p>Created By: <strong>[+author+]</strong></p>
<p>Created On: [+date+].<br /></p>
<p>Summary: [+introtext+]</p>
<a href="[~[+id+]~]" title="[+introtext+]">Read More</a></h2>
4. Snippet Code:
[!Ditto? &parents=`26` &summarize=`2` &total=`20` &tpl=`BlogTemplate`!]
&parents=`26` -> Is The Parent Folder of the Sub articles.
Now we are done, enjoy your Blog