[TYPO3-commerce] Images are still not displayed

Szabolcs Feczak sub at symsol.com.au
Wed Aug 22 09:07:06 CEST 2007


Hi all,

I still have problems displaying images of the products ...
now I ve got empty img tags like

<img src="" width="" height="" border="0" alt="" title="" />


for some reason ...
I have traced back the problem till here:

At revision 6294.
lib/class.tx_commerce_pibase.php
line 1010-1011

this gives a correct value to tsconf:
$TSconf['file'] = $this->imgFolder.$value;

however this line
$output .= $this->cObj->IMAGE($TSconf);

returns the empty src="" .. this call goes into the Typo3 core, so I asume,
there is nothing wrong there, but something to do with the content of the $TSconf,

which is in my cause is this:

array(3) {
  ["defaultImgConf."]=>
  array(1) {
    ["file."]=>
    array(1) {
      ["import."]=>
      array(1) {
        ["current"]=>
        string(1) "1"
      }
    }
  }
  ["file."]=>
  array(1) {
    ["maxW"]=>
    string(3) "150"
  }
  ["file"]=>
  string(41) "uploads/tx_commerce/bengal-bay-garnet.jpg"
}

any hints why does the output becomes
<img src="" width="" height="" border="0" alt="" title="" />

instead of something like this:
<img src="uploads/tx_commerce/bengal-bay-garnet.jpg" ....







Kind regards:

Szabolcs Feczak "Sub"
Symmetric Solutions



More information about the TYPO3-project-commerce mailing list