Browse Source

photo link

cedric 3 năm trước cách đây
mục cha
commit
7c545c844d
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      views/templates/front/archive.tpl

+ 6 - 2
views/templates/front/archive.tpl

@@ -33,11 +33,15 @@
                                             {else}
                                                 {assign var="class" value='responsive'}
                                             {/if}
+                                            
                                             {include file="module:chcreateur/views/templates/front/post-gallery.tpl" gallery_lists=$chselection.gallery_lists imagesize="gallery_default" class=$class arrow="1"}
+                                            
                                         {else}
                                             <div class="post_gallery_img item">
-                                                <img class="img-responsive" src="{$chselection.post_img.post_default}"
-                                                alt="{$chselection.post_title}">
+                                                <a href="{$chselection.link}">
+                                                    <img class="img-responsive" src="{$chselection.post_img.post_default}"
+                                                    alt="{$chselection.post_title}">
+                                                </a>
                                             </div>
                                         {/if}