mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
fixes #1657 SVG support (both gallery and admin sides)
This commit is contained in:
committed by
plegall
parent
8d1e97c8b7
commit
77b156df18
@@ -507,6 +507,10 @@ while ($row = pwg_db_fetch_assoc($result))
|
||||
$row['src_image'] = new SrcImage($row);
|
||||
$row['derivatives'] = DerivativeImage::get_all($row['src_image']);
|
||||
|
||||
$extTab = explode('.',$row['path']);
|
||||
$row['path_ext'] = strtolower(get_extension($row['path']));
|
||||
$row['file_ext'] = strtolower(get_extension($row['file']));
|
||||
|
||||
if ($i=='current')
|
||||
{
|
||||
$row['element_path'] = get_element_path($row);
|
||||
|
||||
Reference in New Issue
Block a user