When there are images and folders together in the base directory and Hierarchy is enabled, the images don't display, altho it shows the correct number of pages.

Comments

ncy’s picture

Fix:

Change in fast_gallery.module:

      // Display the image based on selected JS framework, ensuring that the
      // image is actually in the folder and handling the base path. This
      // check is required to make sure thumbnails of nested folders don't
      // get counted as an image in a different folder
      if (end($ar_path) == $img_folder || !$hierarchy)
      {
      ...

to this:

      // Display the image based on selected JS framework, ensuring that the
      // image is actually in the folder and handling the base path. This
      // check is required to make sure thumbnails of nested folders don't
      // get counted as an image in a different folder
      if (end($ar_path) == '' || end($ar_path) == $img_folder || !$hierarchy)
      {
      ...
rapsli’s picture

Status: Active » Fixed

committed to head.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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