I’m trying to make a Slideshow with this combination: Teemthumb, PrettyPhoto and Martix.
Made a Custom Field Group for “producten” with:
{portfolio_image} image for the Thumbnail
{portfolio_description} text for the Channel Entrie
{portfolio_producten} is the Matrix, used for the slideshow pictures {portfolio_file} with text {portfolio_text}
Teemthumb makes the {portfolio_image}, but it’s duplicating the thumb with the number of {portfolio_file}.
If I have 3 images in the Matrix it’s shows 3 thumbnails.
Whats going wrong here?
{exp:channel:entries channel="producten" disable="member_data|pagination"}
<!-- Post Starts -->
<div class="post block fl{categories} {category_url_title} {/categories}">
{exp:teemthumb:size src="{portfolio_image}" w="450" h="210" zc="1" q="100"}
{portfolio_producten}
<a href="http://{portfolio_file}rel=prettyPhoto{title}">" class="thumb"]{sized}</a>
{/portfolio_producten}
{/exp:teemthumb:size}
<h2 class="title">{title}</h2>
<div class="entry">
{portfolio_description}
</div><!-- /.entry -->
</div><!-- /.post -->
{/exp:channel:entries}