diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-23 04:14:07 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-23 04:14:07 +0000 |
commit | 2502240ce4ad25e9fb60ee2468764e25346d2917 (patch) | |
tree | 3dab839d1a15b7cfa75dbbc208aef18ad5613845 /modules | |
parent | 608d0996698716c488318411e10b880796c58805 (diff) |
Add very simple graphics toolkits.
Track a set of rules in Graphics_Rule_Model which specify how we turn
original images into thumbnails and resizes. There's one set of rules
that applies to every image in the Gallery.
Track the state of thumbs and resizes with a "dirty" bit. The new
graphics helper manages the rules and can rebuild the thumbs and
resizes for any images that are considered "dirty".
Introduce the concept of an "album cover" which is an item that an
album points to. We'll use that item as the source for the album's
thumbnail/resize.
Conflated with this change (sorry!) I also changed the Var table to
use module_name instead of module_id. This may be marginally less
efficient, but it's much easier to follow in the database.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/watermark/helpers/watermark_installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watermark/helpers/watermark_installer.php b/modules/watermark/helpers/watermark_installer.php index 360ac72a..387f84e3 100644 --- a/modules/watermark/helpers/watermark_installer.php +++ b/modules/watermark/helpers/watermark_installer.php @@ -32,9 +32,9 @@ class watermark_installer { UNIQUE KEY(`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); - module::set_version("watermark", 1); module::set_var("watermark", "watermark_position", "southeast"); @mkdir(VARPATH . "modules/watermark"); + module::set_version("watermark", 1); } } |