Archived
1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
62d1ba55fe improve image scaling (fixes #59)
* add width and height to AJAX result
 * handle preview image width and height changes
 * improve default_horizontal theme's css to handle vertical images
2009-07-31 19:20:07 +00:00
8c6d98c0b4 move theme files to theme folder (fixes #52) 2009-07-11 19:14:22 +00:00
f61853700d add inline JavaScript variable to indicate slider direction (addresses #46) 2009-07-11 19:14:13 +00:00
ded7232146 move more theme related functionality into the theme class (addresses #46) 2009-07-11 15:13:40 +00:00
fcea03a800 make themes configurable (fixes #50)
* gallery.ini:
  - remove theme specific configuration
  - add default theme name
 * includes/galleryfunctions.php:
  - implement theme initialization
  - configure common parameters from theme
 * includes/theme.class.php:
  - implement a simple theme class
 * index.php:
  - assign $gallery to template
 * themes/default_horizontal/theme.ini:
  - add theme specific configuration
 * themes/default_horizontal/theme.php:
  - use $content['gallery'] instead of undefined $gallery
2009-07-11 11:53:43 +00:00
0ed421b1ce use a simple template system to allow theming (fixes #32)
commit 502c8903b4c7eb09d36c4fedb86deec8689fe7c6
Author: Jan Dittberner <jan@dittberner.info>
Date:   Sat Jul 11 00:20:03 2009 +0200

 * extract html part of index.php into the first default theme

commit cddcc777bba2efecdcad0f3b130e7e5e6b1e2a73
Author: Jan Dittberner <jan@dittberner.info>
Date:   Fri Jul 10 23:38:32 2009 +0200

 * add a template class
2009-07-10 22:26:57 +00:00