Layouts and Themes :: Slider

jpk236

Joined: 2005-04-19
Posts: 2
Posted: Tue, 2005-04-19 14:26

Is there a way to have the Slider theme default to have the thumbnails listed vertically instead of horizontally? Perhaps this should be an option in the Site Admin for this theme.

- Justin

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-19 14:37

it remembers on a per-user basis (via a cookie) so once you pick vertical it should stay that way for any album using slider layout (it's not a theme).
to default to vertical when the cookie isn't present you can modify slider.js.. in the function app_getcookie() there's an if (c) { ...... } block.. at the end of this add:
else thumbs_horizvert();

 
jpk236

Joined: 2005-04-19
Posts: 2
Posted: Tue, 2005-04-19 14:41

thank you -- that worked! I still feel an option like that could find itself useful in the Site Admin interface.

- Justin

 
treerootco

Joined: 2005-07-31
Posts: 5
Posted: Fri, 2005-09-02 01:11

Can someone post a screenshot of this mod?

I added "else thumbs_horizvert();" after every "}" I could find and it didn't work. Each time it stayed horizontal but the large image disappeared.

Did something change since 2004? realize this thread is a year old...

Thanks,
Mike

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-09-05 19:09

it's only months old, but yes much has changed. the description of the mod above is still accurate though.

        case 3: ui_select('slide_delay', n); slide_setdelay(n); break;
      }
    }
  }

change to:

        case 3: ui_select('slide_delay', n); slide_setdelay(n); break;
      }
    }
  } else thumbs_horizvert();
 
RonOnThePond

Joined: 2010-02-07
Posts: 7
Posted: Sun, 2010-02-14 18:33

Just for the record, it worked perfectly again for me (in Gallery2, slider theme), more than 4 years later. I agree that an option to show the thumbnails vertically would be useful, but this mod did the trick - thanks!!!