[TYPO3-shop] image not showing in single view, weird!

Andrew Davis andrew at avagraphique.com
Mon May 14 16:57:44 CEST 2007


Hi,

(Sorry, just starting with tt_products)

I have the sample template and it seems to be working fine. In BOTH the 
list view the singe item view the template marker ###PRODUCT_IMAGE### is 
used

I have a list of  few items, and when I click on one it opens to the 
single view.

the odd thing is that the image does not appear...

I selected the image in the IMAGE field in the backend... There is a 
marker for image in the template.. And I look at the source and it shows 
  that something is inserted there:

<a 
href="index.php?eID=tx_cms_showpic&amp;file=uploads%2Fpics%2Fcomp.jpg&amp;width=400&amp;bodyTag=%3Cbody%20bgColor%3Dblack%20leftmargin%3D0%20topmargin%3D0%20marginwidth%3D0%20marginheight%3D0%3E&amp;wrap=%3CA%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2FA%3E&amp;md5=8f1a26e7e3ba20502b03886ffc306031" 
onclick="openPic('http://unixweb.choiceone.net/b/k/bkcomp.com/index.php?eID=tx_cms_showpic&amp;file=uploads%2Fpics%2Fcomp.jpg&amp;width=400&amp;bodyTag=%3Cbody%20bgColor%3Dblack%20leftmargin%3D0%20topmargin%3D0%20marginwidth%3D0%20marginheight%3D0%3E&amp;wrap=%3CA%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2FA%3E&amp;md5=8f1a26e7e3ba20502b03886ffc306031','1c5f3f82c4ed76e55d90ab09ba6590c0','width=214,height=120,status=0,menubar=0'); 
return false;" target="thePicture"><img src="" width="" height="" 
border="0" alt="" title="" /></a>

"comp.jpg" is the correct name of the image, but in the <img> the info 
is not passed to the template.

Is there anything special I need to do to get the image to appear?

Any help much appreciated,
Thanks in advance,
Andrew Davis


More information about the TYPO3-project-tt-products mailing list