I am new to developing on MODx. I usually design templates and don’t go much further than that.
I am building a site for a graphic designer and I am running into a little trouble with trying to pull TV images from documents to display them on a different page. I am basically trying to pull her five most recent portfolio item images as thumbnails and display them as five thumbnail image links that will direct the user to the portfolio item that’s clicked.
I set the site up so that her portfolio item templates have a TV image upload field for the thumbnail image. [*itemThumbnail*]
Then I created a chunk to display each image as a link on the homepage.
<a href="[~[+id+]~]" target="_self">
<img class="fl" src="[+itemThumbnail+]" alt="" width="95" height="95" />
</a>
My Ditto call looks like this:
[[Ditto? &startID=`9` &summarize=`5` &total=`5` &tpl=`recentWorkImage` ]]
I am not sure exactly how to achieve this or if I am way off here but any help would be appreciated. It seems like something that should be easy to do but I am thoroughly stumped.
You can see the homepage where I am trying to work this out here.
Laurenmooredesign.com
Thanks!