@weber
Nice one. Yes that is a good work around. The IH code will be updated next time round I am sure. For the time being people installing in a language other than english can make a small alteration to the file includes/init_includes/init_image_handler.php. Find where it says:
Code:
/* Find Config ID of Images */
$sql = "SELECT configuration_group_id FROM ".TABLE_CONFIGURATION_GROUP." WHERE configuration_group_title='".BOX_CONFIGURATION_IMAGES."' LIMIT 1";
$result = $db->Execute($sql);
$im_configuration_id = $result->fields['configuration_group_id'];
and change this to:
Code:
/* Find Config ID of Images */
$sql = "SELECT configuration_group_id FROM ".TABLE_CONFIGURATION_GROUP." WHERE configuration_group_title='Images' LIMIT 1";
$result = $db->Execute($sql);
$im_configuration_id = $result->fields['configuration_group_id'];
if($im_configuration_id == '') $im_configuration_id = 4;
This is an error in the code.
For those of you who are going to ask 'why not just set it to 4 in the first place?' the aim was to cover the rare occurence that someone had changed the configuration id of images. It was meant well but was an error.
Bookmarks