mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
related to #1657 svg is now considered as a file and not a picture and added file_ext and path_ext to img data sent.
This commit is contained in:
@@ -104,7 +104,8 @@ foreach ($pictures as $row)
|
||||
'URL' => $url,
|
||||
'DESCRIPTION' => $desc,
|
||||
'src_image' => new SrcImage($row),
|
||||
'is_svg' => ('svg' == strtolower(get_extension($row['path']))),
|
||||
'path_ext' => strtolower(get_extension($row['path'])),
|
||||
'file_ext' => strtolower(get_extension($row['file'])),
|
||||
) );
|
||||
|
||||
if ($conf['index_new_icon'])
|
||||
|
||||
Reference in New Issue
Block a user