New configurable: item_images_extension

This commit is contained in:
slawkens
2020-10-08 00:13:35 +02:00
parent ed3d415c05
commit c30300c368
3 changed files with 3 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ function getItemImage($id, $count = 1)
$file_name .= '-' . $count;
global $config;
return '<img src="' . $config['item_images_url'] . $file_name . '.gif"' . $tooltip . ' width="32" height="32" border="0" alt="' .$id . '" />';
return '<img src="' . $config['item_images_url'] . $file_name . config('item_images_extension') . '"' . $tooltip . ' width="32" height="32" border="0" alt="' .$id . '" />';
}
function getFlagImage($country)