I’ve made a custom TV called [*TVimage*] with an "Image" input value so users can create a new document and upload an image with it before saving. I set the widget to "Image" too.
Then I created a template chunk and inserted [*TVimage*] where I wanted the image to appear.
Then I have a ditto call in my page template which uses this template chunk.
The image does not appear on the page. It seems like I’m doing everything right but it just won’t work!
Any help much appreciated.
Alex.
tplEvents:
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td width="25%" align="left" valign="middle"><strong>[+pagetitle+]</strong><br />[+longtitle+]</td>
<td width="50%" align="left" valign="middle">[+content+]</td>
<td align="right" valign="middle">[*TVimage*]</td>
</tr>
</table>
<p> </p>
Ditto call on "Events" page:
[[Ditto? &tpl=`tplEvents` &orderBy=`longtitle ASC` &filter=`TVmissed-it,No,7`]]