Find the lines; I think 2795 in module file.

    // We use the if to avoid division by zero if the image path is wrong
    $img = image_get_info($node->gallitems[$pid]->ppath);
    if (count($img)) { // <<< Replace this
      ...
    }
    else {
      $direction = '';
    }

Replacement:
    // We use the if to avoid division by zero if the image path is wrong
    $img = image_get_info($node->gallitems[$pid]->ppath);
    $direction = '';
    if ($img && !empty($img['extension'])) { // <<< Replacement
      ...
    }
//    else {
//      $direction = '';
//    }

Note: You can remove else an initiate $direction before if.

Comments

Status:Active» Fixed

fixed in version 1.15-beta1

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.