Ignore:
Timestamp:
Sep 11, 2012, 5:07:51 PM (12 years ago)
Author:
flop25
Message:

small fix for album : if "no big thumbnails" is selected, generate big thumbnails only for panoramas
less margin for the menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/template/mainpage_categories.tpl

    r17858 r17863  
    2525      {/if}
    2626  {elseif $stripped_black_bloc.orientation_option=="big_landscape"}
    27     {if (($cat.representative.TN_CLASS=="twocol" and $stripped_black_bloc.catthumb=="same") or $cat.representative.width > $cat.representative.height) and ($cat.representative.width>$stripped_black_bloc.thumbnail_width+$stripped_black_bloc.column_width)}
     27    {if (($cat.representative.TN_CLASS=="twocol" and $stripped_black_bloc.catthumb=="same") or $cat.representative.width > $cat.representative.height) and ($cat.representative.width>$stripped_black_bloc.thumbnail_width+$stripped_black_bloc.column_width) and $stripped_black_bloc.catthumb!="none"}
    2828      {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_big, $cat.representative.src_image)}
    2929      {assign var=TN_CLASS value='twocol'}
Note: See TracChangeset for help on using the changeset viewer.