I solved this by changing the src. Go to timthumb.php line number 209 say:
$this->myHost = preg_replace('/^www\./i', '', $_SERVER['HTTP_HOST']);
then make a custom path:
`$my_new_url = sprintf(
“%s://%s”,
isset($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] != ‘off’ ? ‘https’ : ‘http’,
$_SERVER[‘HTTP_HOST’]
);
$arr = explode(‘/’,dirname($_SERVER[‘PHP_SELF’]));
$myNewSite_name = $arr[‘1’];
$custom_path = $my_new_url.’/’.$myNewSite_name.’/’;`
then change line number 212:
$this->src = preg_replace('/https?:\/\/(?:www\.)?' . $this->myHost . '/i', '', $this->src);
to
$this->src = $custom_path.$this->src;
My solution will explain what is the problem. tx