Habs erst masl so gemacht:
PHP-Code:
$picsetup['file'] = $str;
$picsetup['file.']['width'] = user_functions::getAgentprofile();
$picsetup['altText'] = $str;
$meinbild .= '<img src="'.substr($this->cObj->image($picsetup),10,29).'" width="'.$picsetup['file.']['width'].'" alt="" />';
return $meinbild;
Für eine elegantere Lösung wäre ich aber trotzdem sehr dankbar.
Viele Grüße