mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1657 svg support in batch manager unit
This commit is contained in:
@@ -58,7 +58,7 @@ jQuery("a.preview-box").colorbox( {
|
||||
<legend>{$element.LEGEND}</legend>
|
||||
|
||||
<span class="thumb">
|
||||
<a href="{$element.FILE_SRC}" class="preview-box icon-zoom-in" title="{$element.LEGEND|@htmlspecialchars}"><img src="{$element.TN_SRC}" alt=""></a>
|
||||
<a href="{$element.FILE_SRC}" class="preview-box icon-zoom-in" title="{$element.LEGEND|@htmlspecialchars}"><img src="{$element.TN_SRC}" alt="" {if $current.is_svg}style="{if $current.width < 100}min-width: 100px;{/if}{if $current.height < 100} min-height: 100px; {/if}" {/if}></a>
|
||||
<a href="{$element.U_EDIT}" class="icon-pencil">{'Edit'|@translate}</a>
|
||||
</span>
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
// picture_ext : file extensions for picture file, must be a subset of
|
||||
// file_ext
|
||||
// Add 'svg' to this array to support svg images.
|
||||
$conf['picture_ext'] = array('jpg','jpeg','png','gif');
|
||||
|
||||
// file_ext : file extensions (case sensitive) authorized
|
||||
|
||||
Reference in New Issue
Block a user