Shopcoop Reply #1, 3 months, 2 weeks ago
I thought what I was trying to accomplish was a simple and common thing. After browsing the forums for a solution for hours I thought Id try an new thread so I can figure what im doing wrong.
I am using GetResources to call a summary of my would-be articles or resources. The call is:
The text is showing but not the images.. I have tried using standard images and that works but I would like to use the Gallery. I set my Template Variable to input as a GalleryItem and output as an Image. I have tried the basic call
My TV is Article_Pic and have put:
into my ArticleTpl used by my getResources call. I have explored work arounds which dont quite work right and have tried a ton of alternatives.
With &processTVs, without, tried syntax changes... tried using Phpthumbof in case the size was throwing things off... I have tried changing the output of the GalleryItem, etc.
I am about to give up using Gallery altogether which seems a waste considering im probally just making a mistake in the syntax somewhere. Any help please?!! Thanks
http://www.shopcoop.org/
I am using GetResources to call a summary of my would-be articles or resources. The call is:
[[!getResources? &showHidden=`1` &parents=`10` &tpl=`articleTpl` &includeContent=`1` &includeTVs=`1` &processTVs=`1` ]]
The text is showing but not the images.. I have tried using standard images and that works but I would like to use the Gallery. I set my Template Variable to input as a GalleryItem and output as an Image. I have tried the basic call
<img src="[[+tv.Article_Pic]]" />
My TV is Article_Pic and have put:
<a href="[[~[[+id]]]]"><img class="alignleft" title="[[+tv.article_image_title]]" src="[[+tv.Article_Pic]]" /></a>
into my ArticleTpl used by my getResources call. I have explored work arounds which dont quite work right and have tried a ton of alternatives.
With &processTVs, without, tried syntax changes... tried using Phpthumbof in case the size was throwing things off... I have tried changing the output of the GalleryItem, etc.
I am about to give up using Gallery altogether which seems a waste considering im probally just making a mistake in the syntax somewhere. Any help please?!! Thanks
http://www.shopcoop.org/