1 [% SET exif = photo.exif_info %]
2 [% FOR group = exif.keys %]
6 [% FOR key = exif.$group.keys %]
8 [% IF counter % 2 == 0 %] <tr> [% END %]
9 <td class="exiftag"> [% key %] </td>
10 <td class="exifvalue"> [% exif.$group.$key %] </td>
11 [% IF counter % 2 == 1 %] </tr>
12 [% ELSE %] <td> </td> [% END %]
13 [% SET counter = counter + 1 %]