Ignore:
Timestamp:
Sep 19, 2014, 2:08:24 PM (10 years ago)
Author:
JanisV
Message:

+1 size for inpage slideshow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Fotorama/main.inc.php

    r29628 r29640  
    9696    $skip = -1;
    9797    $big_type = $type;
     98    $next_type = $type;
    9899    foreach (ImageStdParams::get_defined_type_map() as $def_type => $params)
    99100    {
     
    102103      if ($skip >= 0)
    103104        $big_type = $def_type;
     105      if ($skip >= 1)
     106        $next_type = $def_type;
    104107      if ($skip == 0)
    105108        break;
    106109      $skip = $skip - 1;
    107110    }
     111    $type = $next_type; // +1 size for inpage slideshow
    108112    if ($conf['Fotorama']['only_fullscreen'])
    109113    {
Note: See TracChangeset for help on using the changeset viewer.