aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/comment_list.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/comment_list.tpl')
-rw-r--r--themes/default/template/comment_list.tpl16
1 files changed, 13 insertions, 3 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl
index 2ff4d03e8..534d04bd7 100644
--- a/themes/default/template/comment_list.tpl
+++ b/themes/default/template/comment_list.tpl
@@ -1,12 +1,22 @@
-{* $Id$ *}
+{if isset($comment_derivative_params)}
+{strip}{html_style}
+.thumbnailCategory DIV.illustration{ldelim}
+ width: {$comment_derivative_params->max_width()+5}px;
+}
+
+.content .thumbnailCategory .description{ldelim}
+ height: {$comment_derivative_params->max_height()+5}px;
+}
+{/html_style}{/strip}
+{/if}
<ul class="thumbnailCategories">
{foreach from=$comments item=comment name=comment_loop}
<li>
<div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
- {if isset($comment.TN_SRC)}
+ {if isset($comment.src_image)}
<div class="illustration">
<a href="{$comment.U_PICTURE}">
- <img src="{$comment.TN_SRC}" alt="{$comment.ALT}">
+ <img src="{$pwg->derivative_url($derivative_params, $comment.src_image)}" alt="{$comment.ALT}">
</a>
</div>
{/if}