Thumbnails in Calendar add-on month view

Permalink
Hi,

I'm trying to get a thumbnail but I don't know how to get it done. I'm using the calendar add-on for C5.6 with the month view. I have a thumbnail attribute called "afbeelding_home_vierkant" which I would like to display in the <div class"event"> next to the <a> tag. I edited the code so it displays the correct dates, all other stuff is original. Can anyone help me?

<div class="ccm-calendar-grid-wrap">
   <form action="<?php echo $pageBaseURL?>" method="get">
   <table class="calendar-top" cellspacing="1" cellpadding="0" border="0">
      <tr>
         <td style="width: 100%;">
<?php
setlocale(LC_ALL, 'nl_NL');
echo strftime('%B', $monthYearTimestamp);
?>
         </td>
         <td style="white-space: nowrap;">
         <input type="button" onclick="location.href='<?php echo $pageBaseURL?>?calMonth=<?php echo date('n')?>&calYear=<?php echo date('Y')?>'" value="Vandaag"/>
         <select name="calMonth">
            <option value="1" <?php echo ($calMonth==1)?'selected':''?>>Januari</option>
            <option value="2" <?php echo ($calMonth==2)?'selected':''?>>Februari</option>