summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-03-31 05:14:40 +0000
committerChad Kieffer <chad@2tbsp.com>2009-03-31 05:14:40 +0000
commita57d0d93a8c741e64ac18bbb36aad4164569f266 (patch)
treeada30e528c19bbe80d3097d3437846a479f7d4a5 /themes
parent9f04fef3e046d7b4778ddf449589c9b1a3a67857 (diff)
Add quick edit pane to resize images, ticket #189
Diffstat (limited to 'themes')
-rw-r--r--themes/default/css/screen.css4
-rw-r--r--themes/default/views/photo.html.php7
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>