Hi,
the standard option for
Tiger|Lightbox|Info panel|Caption template is:
<h5>${fileLabel}</h5><div class="comment">${comment}</div>
With the tips here in the forum and some research I extend this template to also give information for videos and to show the rating, if any, with the usual stars.
Attached is a screen shot.
Here is an example.
I'm not sure if the HTML-Code (regarding the color) for the stars is correct, but it works.
German:
<ja:if exists="originalDate">${originalDate}</ja:if>
<ja:else>${fileDate}<ja:if test="${fileCategory}" value="video"> | FPS: ${videoFPS} - Auflösung: ${videoWidth}x${videoHeight} - Dauer: ${videoDuration}</ja:if></ja:else>
<ja:if exists="fileTitle"> | ${fileTitle}</ja:if>
<ja:switch test="${rating}">
<ja:case value="0"></ja:case>
<ja:case value="1"> | <font color="gold">★</font></ja:case>
<ja:case value="2"> | <font color="gold">★★</font></ja:case>
<ja:case value="3"> | <font color="gold">★★★</font></ja:case>
<ja:case value="4"> | <font color="gold">★★★★</font></ja:case>
<ja:case value="5"> | <font color="gold">★★★★★</font></ja:case>
<ja:default></ja:default>
</ja:switch>
| ${comment}</strong>
English:
<ja:if exists="originalDate">${originalDate}</ja:if>
<ja:else>${fileDate}<ja:if test="${fileCategory}" value="video"> | FPS: ${videoFPS} - Resolution: ${videoWidth}x${videoHeight} - Duration: ${videoDuration}</ja:if></ja:else>
<ja:if exists="fileTitle"> | ${fileTitle}</ja:if>
<ja:switch test="${rating}">
<ja:case value="0"></ja:case>
<ja:case value="1"> | <font color="gold">★</font></ja:case>
<ja:case value="2"> | <font color="gold">★★</font></ja:case>
<ja:case value="3"> | <font color="gold">★★★</font></ja:case>
<ja:case value="4"> | <font color="gold">★★★★</font></ja:case>
<ja:case value="5"> | <font color="gold">★★★★★</font></ja:case>
<ja:default></ja:default>
</ja:switch>
| ${comment}</strong>