[TYPO3-german] cObj->IMAGE funktioniert nicht

Niels Pardon niels at hot-city.de
Fri Feb 9 12:13:03 CET 2007


Hallo!

Probiers doch mal so:

[PHP]
...
if($res['image'] == '') {
	$image = array(
	'file' => 'typo3conf/ext/bm_conper/pi1/noimg.gif',
	'file.' => array(
		'maxW' => '150'
		)
	);
}else {
	$image = array(
	'file' => 'uploads/tx_bmconper/'.$res['image'],
	'file.' => array(
		'maxW' => '150'
		)
	);
}
$imagecode = $this->cObj->IMAGE($image);
...
[/PHP]

MfG,

Niels




Genc, Ural schrieb:
> Hallo Liste,
>
> bin total am verzweifeln. Mach grad eine Extension wo man zentral 
> Ansprechpartner verwalten kann. Ich will im BE hochgeladene Bilder 
> runterrechnen. Nun wollte ich die API Funktion IMAGE nutzen, aber der 
> will einfach nicht, es wird einfach nichts angezeigt.
>
> Hier mal mein PHP Code:
>
> [PHP]
> ...
> if($res['image'] == '') {
> 	$image = array(
> 	'file' => 'typo3conf/ext/bm_conper/pi1/noimg.gif',
> 	'file' => array(
> 		'maxW' => '150'
> 		)
> 	);
> }else {
> 	$image = array(
> 	'file' => 'uploads/tx_bmconper/'.$res['image'],
> 	'file' => array(
> 		'maxW' => '150'
> 		)
> 	);
> }
> $imagecode = $this->cObj->IMAGE($image);
> ...
> [/PHP]
>
> Habe ich irgendwie einen Denkfehler???????
>
> Liebe Grüße aus dem Schwarzwald!
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>
>   


More information about the TYPO3-german mailing list