diff options
author | mistic100 <mistic@piwigo.org> | 2014-09-11 09:05:00 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-09-11 09:05:00 +0000 |
commit | 62cdffb50ceb70450a74238fb893c1578caf2fb7 (patch) | |
tree | d0d57ebbbbd8aa66affce7fbc8ebae082598b3d0 /admin/picture_modify.php | |
parent | f14dcf0f7bd8db1b358562810302c4570251c420 (diff) |
feature 3138: Add photo zoom when editing a photo
git-svn-id: http://piwigo.org/svn/trunk@29480 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/picture_modify.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 0c7910357..bf0e458e6 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -229,6 +229,8 @@ $template->set_filenames( $admin_url_start = $admin_photo_base_url.'-properties'; $admin_url_start.= isset($_GET['cat_id']) ? '&cat_id='.$_GET['cat_id'] : ''; +$src_image = new SrcImage($row); + $template->assign( array( 'tag_selection' => $tag_selection, @@ -237,7 +239,8 @@ $template->assign( 'PATH'=>$row['path'], - 'TN_SRC' => DerivativeImage::thumb_url($row), + 'TN_SRC' => DerivativeImage::url(IMG_THUMB, $src_image), + 'FILE_SRC' => DerivativeImage::url(IMG_LARGE, $src_image), 'NAME' => isset($_POST['name']) ? |