[Typo3] problem with array of image
ElRicko
quota at videotron.ca
Wed Apr 13 15:36:30 CEST 2005
My field photos is a IMAGE and if I put 1 IMAGE no problem, if I put
two IMAGE $this->cObj->IMAGE($imgTSConfig) not work
$imgTSConfig['file'] = uploads/tx_userimmobilier/121345_02.jpg
$this->cObj->IMAGE($imgTSConfig ) Work
$imgTSConfig['file'] =
|uploads/tx_userimmobilier/121345_02.jpg,0_02.jpg|
$this->cObj->IMAGE($imgTSConfig) NOT WORK
function getFieldContent($fN) {
switch($fN) {
case "photos":
$imgTSConfig = array();
$imgTSConfig = $this->conf['photosCObject.'];
$imgTSConfig['file'] =
'uploads/tx_userimmobilier/'.$this->internal["currentRow"][$fN];
return return $this->cObj->IMAGE[$imgTSConfig];
break;
............
What I need to change for display an IMAGE array?
Richard :-)
More information about the TYPO3-english
mailing list