[TYPO3] image not apparing in tt_products single item view
Andrew Davis
andrew at avagraphique.com
Wed May 16 15:29:26 CEST 2007
Hmm this seems to be a slightly larger issue.
If I mahe a content element text with image, the image renders fine. If
I specify a width parameter smaller than the image, it does not render
(just inserts <img src="" width="" height="" border="0" alt="" title=""
/> where the image should be.)
If i specify a smaller size with HEIGHT, not width, it works as expected.
This points to a server error with imagemagick?
Any suggestions? Anyone experience this issue ever?
Thanks in advance,
Andrew Davis
Andrew Davis wrote:
> 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&file=uploads%2Fpics%2Fcomp.jpg&width=400&bodyTag=%3Cbody%20bgColor%3Dblack%20leftmargin%3D0%20topmargin%3D0%20marginwidth%3D0%20marginheight%3D0%3E&wrap=%3CA%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2FA%3E&md5=8f1a26e7e3ba20502b03886ffc306031"
> onclick="openPic('http://unixweb.choiceone.net/b/k/bkcomp.com/index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2Fcomp.jpg&width=400&bodyTag=%3Cbody%20bgColor%3Dblack%20leftmargin%3D0%20topmargin%3D0%20marginwidth%3D0%20marginheight%3D0%3E&wrap=%3CA%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2FA%3E&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?
> Imagemagick is installed and working.... Images display for this item
> except in single item view....
>
> Any help much appreciated,
> Thanks in advance,
> Andrew Davis
More information about the TYPO3-english
mailing list