Issue #1044 : Picture edition redesign

* Add a larger and responsive image preview
 * Use Jconfirm popin for deletion confirmation
 * Change general actions to icons on the image preview
This commit is contained in:
Zacharie
2020-06-09 16:25:17 +02:00
committed by plegall
parent 5aef3ebbbd
commit 97ef03eead
4 changed files with 206 additions and 62 deletions
+3 -1
View File
@@ -235,7 +235,7 @@ $template->assign(
'PATH'=>$row['path'],
'TN_SRC' => DerivativeImage::url(IMG_THUMB, $src_image),
'TN_SRC' => DerivativeImage::url(IMG_MEDIUM, $src_image),
'FILE_SRC' => DerivativeImage::url(IMG_LARGE, $src_image),
'NAME' =>
@@ -246,6 +246,8 @@ $template->assign(
'DIMENSIONS' => @$row['width'].' * '.@$row['height'],
'FORMAT' => ($row['width'] >= $row['height'])? 1:0,//0:horizontal, 1:vertical
'FILESIZE' => @$row['filesize'].' KB',
'REGISTRATION_DATE' => format_date($row['date_available']),