From ae00f739445717885e2fc82e241bae38b7e58d44 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 5 Nov 2008 09:42:47 +0000 Subject: * Add thumbnail and resize dimensions to the item table and use them properly in the theme. * Move thumbnail and resize generation down into the model for consistency. * Add a sample thumbnail for albums * Fix a bug in the ORM to clear the cache when we reload an object. * Add Kohana docs to the scaffold. --- themes/default/css/styles.css | 6 +----- themes/default/views/album.html.php | 10 ++++++++-- themes/default/views/photo.html.php | 4 +++- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'themes') diff --git a/themes/default/css/styles.css b/themes/default/css/styles.css index f50362a6..341927ef 100644 --- a/themes/default/css/styles.css +++ b/themes/default/css/styles.css @@ -339,10 +339,8 @@ table.gBlockContent td { float: right; } #gItem img { - clear: both; + clear: both; display: block; - width: 500px; - height: 400px; border: 1px solid silver; background-color: #e7e7e7; } @@ -425,8 +423,6 @@ table.gMetadata td.toggle { #gAlbumGrid .gItemContainer, #gAlbumGrid .gAlbumContainer { - width: 32%; - height: 220px; float: left; text-align: center; border: 1px lightgray solid; diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index 390a22b8..232e749b 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -15,7 +15,10 @@ is_album()): ?>
"> id}") ?>"> - photo + photo

Album title

-- cgit v1.2.3