How to Keep the "Album Thumbnail Navigation Menu" after I click on an album

hi there

When I click on an album from the left hand navigation menu (the one with the small thumbnails and descriptions) it takes me to the Album page with all the pictures in the album. Please consult the demo page for reference

I'm wondering if there is a way to keep the left hand navigation menu when I am in the Album page. It seems to disappear after I click on it.

It'd be nice if I can keep this navigation window. Your help is appreciated.

Thanks!

patrik's picture

phpAlbum works like right

phpAlbum works like right window of MS Windows Explorer, it shows files in and directories(galleries) in your current directory.

There was some hack published on this site, but I can't find it and I am not sure if it would work with current version, which does the same you would like to have.

I just tried it on my current development version, it worked with just two changes in main.php

find there function generate_album and you have to change two lines

//$dirlist=get_sorted_dir_list($dir_settings["path"]);
  $dirlist=get_sorted_dir_list("/");

and

//$directories[$directories_cnt]['link']="main.php?cmd=album&var1=".urlencode($var1.basename($rec['path']))."/";
  $directories[$directories_cnt]['link']="main.php?cmd=album&var1=".urlencode(basename($rec['path']))."/";

Hope it will work with your version. The commented line is the original one, the uncomented is the changed one.

But you will not be able to see subdirectories.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.