fixes #1657 SVG support (both gallery and admin sides)

This commit is contained in:
Matthieu Leproux
2022-04-27 15:12:40 +02:00
committed by plegall
parent 8d1e97c8b7
commit 77b156df18
12 changed files with 66 additions and 12 deletions
+4
View File
@@ -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);