diff --git a/config.php b/config.php
index 7e3c7f26..4b9a51d0 100644
--- a/config.php
+++ b/config.php
@@ -87,6 +87,7 @@ $config = array(
// images
'outfit_images_url' => 'http://outfit-images.ots.me/outfit.php', // set to animoutfit.php for animated outfit
'item_images_url' => 'http://item-images.ots.me/1092/', // set to images/items if you host your own items in images folder
+ 'item_images_extension' => '.gif',
// account
'account_management' => true, // disable if you're using other method to manage users (fe. tfs account manager)
diff --git a/system/functions.php b/system/functions.php
index 0a996de6..903570db 100644
--- a/system/functions.php
+++ b/system/functions.php
@@ -168,7 +168,7 @@ function getItemImage($id, $count = 1)
$file_name .= '-' . $count;
global $config;
- return '
';
+ return '
';
}
function getFlagImage($country)
diff --git a/system/pages/creatures.php b/system/pages/creatures.php
index b875478f..dda4544b 100644
--- a/system/pages/creatures.php
+++ b/system/pages/creatures.php
@@ -146,7 +146,7 @@ if (empty($_REQUEST['creature'])) {
$name = getItemNameById($item['id']);
$tooltip = $name . '
Chance: ' . round($item['chance'] / 1000, 2) . '%
Max count: ' . $item['count'];
- echo '
';
+ echo '
';
$i++;
}