diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-03-31 05:14:40 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-03-31 05:14:40 +0000 |
commit | a57d0d93a8c741e64ac18bbb36aad4164569f266 (patch) | |
tree | ada30e528c19bbe80d3097d3437846a479f7d4a5 /themes | |
parent | 9f04fef3e046d7b4778ddf449589c9b1a3a67857 (diff) |
Add quick edit pane to resize images, ticket #189
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/css/screen.css | 4 | ||||
-rw-r--r-- | themes/default/views/photo.html.php | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 5ea424cc..bc6cf13e 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -478,6 +478,10 @@ form .gError, width: 99%; } +#gContent #gPhoto { + +} + #gContent #gItem .gFullSizeLink img { display: block; margin: 1em auto !important; diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 25eae327..7f830f13 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -24,7 +24,12 @@ </li> </ul> - <a href="#" class="gFullSizeLink" title="<?= t("View full size") ?>"><?= $item->resize_tag(array("id" => "gPhotoId-{$item->id}")) ?></a> + <div id="gPhoto"> + <?= $theme->resize_top($item) ?> + <a href="#" class="gFullSizeLink" title="<?= t("View full size") ?>"> + <?= $item->resize_tag(array("id" => "gPhotoId-{$item->id}")) ?></a> + <?= $theme->resize_bottom($item) ?> + </div> <div id="gInfo"> <h1><?= $item->title ?></h1> |