public static function getImageHookCallback($originalPath, $targetWidth, $targetHeight, $resizeMode, $cacheName, $fileObj, $targetPath, $imageObj)
{
// Do not include $cacheName as it is dynamic (mtime)
$path = 'assets/' . $originalPath . '&getImage' . '_' . $targetWidth . '_' . $targetHeight . '_' . $resizeMode . '_' . str_replace('\\', '-', get_class($fileObj)) . '_' . $targetPath . '_' . str_replace('\\', '-', get_class($imageObj)) . '.jpg';
file_put_contents(TL_ROOT . '/' . $path, '');
return $path;
}