From 581e931c439a726fbd6a0b0068debd2cd76e349d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 5 Nov 2008 07:13:46 +0000 Subject: Change the default theme to actually render what's in the Gallery. Currently only the album view works, albums have no thumbnails, and there's only 1 image in use. Improved Item_Model to have the following API methods file_path() -- returns the path to the source image or album dir thumbnail_path(), thumbnail_url() -- returns path/url to the thumbnail resize_path(), resize_url() -- returns path/url to the resize All tests updated. --- themes/default/views/album.html.php | 62 +++++++++---------------------------- 1 file changed, 14 insertions(+), 48 deletions(-) (limited to 'themes') diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index dd0ad44b..390a22b8 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -4,13 +4,6 @@
- -

title ?>

@@ -18,54 +11,27 @@ Slideshow
-
- photo" /> + $child): ?> + is_album()): ?> +
"> + id}") ?>"> + photo +

Album title

- -
- photo" /> -

Photo title

-
- -
- photo" /> -

Photo title

-
- -
- photo" /> -

Photo title

-
- -
- photo" /> -

Photo title

-
- -
- photo" /> -

Photo title

-
- -
- photo" /> -

Photo title

-
- -
- photo" /> -

Photo title

-
- -
- photo" /> -

Photo title

+ +
"> + id}") ?>"> + photo + +

title ?>

+ +
Items 1-10 of 34 -- cgit v1.2.3