OK, to be clear, I've created an empty file called image.php and put it here.
/MYTEMPLATE/com_hikashop/administrator/helpers/
Into that file I added the usual:
<?php
defined('_JEXEC') or die('Restricted access');
Then
include_once "/administrator/components/com_hikashop/helpers/image.php";
followed by a copy of the function in question:
class hikashopImageHelperOverride extends hikashopImageHelper {
function _resizeImage($file_path, $newWidth, $newHeight, $dstFolder = '', $type = 'thumbnail', $watermark = '') {
...full copy of the main function code with changes goes here ...
}
}
?>
Does that look right?
Toolie