Member
Member
steve-r   2016-10-17, 09:17
#1

Hi,

I'm using the latest version of Zenphoto on a Debian server.
I have a folder containing several sub-folders but only one image at the level as the sub-folders.
Is it possible for the Random image shown at the top folder level to come from any of the sub-folders and not just the level below the folder?

Steve

Administrator
Administrator
fretzl   2016-10-17, 10:28
#2

I assume you are referring to the backend.
Go to Admin > Options > Gallery > Gallery behavior and check [i]show subalbum thumbs[/i]

Member
Member
steve-r   2016-10-17, 11:05
#3

Hi,
Thanks for the reply.
show subalbum thumbs was already checked.

Steve

Administrator
Administrator
fretzl   2016-10-17, 11:56
#4

Hm...looks like you found a bug.

Member
Member
steve-r   2016-10-17, 12:36
#5

Interesting.
Looking at my top-level folders (I separate my photos into years) I don't see thumbnails from any subfolders, only thumbnails of images directly below the folder - unless there are no images (only subfolders) in which case I do see subfolder random images)
Steve

Administrator
Administrator
acrylian   2016-10-17, 14:25
#6

The "show subalbum thumbs" actually refers to the selector for manual selecting an album thumb.

Generally the automatic function searches on purpose on the album itself first. Only if it does not find anything it returns an image from the further sub albums. If you have a lot of sublevels or albums this might have a performances cost otherwise.

For performance reasons I also would generally recommend to set a fixed album thumb anyway. Unless you have precached everything.

Otherwise Zenphoto will need to process the thumb anytime a new one is chosen wich can slow down expecially on bigger sites.

Administrator
Administrator
fretzl   2016-10-17, 14:33
#7

Yes, I can confirm that. We'll have to look into this.

Member
Member
steve-r   2016-10-17, 14:51
#8

Thanks for the explanation.
Maybe if we could set a Max Depth. But then the Breadth could be quite wide as well.
Or limit the period that the random image changes.

Administrator
Administrator
acrylian   2016-10-17, 16:39
#9

Again the selector with thumbs is for manual selection and has nothing to do with the random choice on page reload. The thumb selector will be replaced in the future anyway.

We'll take a look a depth limiting for random choice but I cannot promise anything. Not really any priority for us right now.

Member
Member
steve-r   2016-10-18, 09:04
#10

Many thanks!! and keep up the fantastic work.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.