Hey everyone,
Hope everyones having a great day/night.
I have an issue with a Ditto chunk and an image placeholder and I thought I’d ask the gurus for a little help.
The current website that I’am working on requires a basic blog on the homepage with blog entry summaries that display different thumbnails.
I managed to implement the blog relatively easy with the only problem being the individual thumbnails.
When I try to display the relevant thumbnail image on each blog summary. I can’t seem to get the image, saved within a "template variable [*image*]" to display render.
Ditto Call (Homeage Template)
[!Ditto? &parents=`3` &display=`3` &paginate=`1` &paginateAlwaysShowLinks=`0` &tpl=`news-summary`!]
Ditto Chunk
<div>
<h3>
<a href="[~[+id+]~]">[+pagetitle+]</a>
</h3>
<p><img src="[+image+]" /></p>
[+introtext+]
<span>
<small>[+date+]</small>
</span>
<p>
<a href="[+url+]">Read More</a>
</p>
</div>
Now, if I use [*image*] instead of [+image+]. The image displays BUT it’s not unique to the blog summary/blog entry. The same image displays on each blog entry.
Any help would be much appreciated. I have been staring at the problems for at least 5 hours. Trying different bits and pieces (JS/PHP/Voodoo/Sacraficial Offerings of Fruit).
Cheers!
- Marcin