ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Help with combination teemthumb, prettyPhoto and Matrix

April 08, 2011 10:34am

Subscribe [2]
  • #1 / Apr 08, 2011 10:34am

    Renman

    7 posts

    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}
  • #2 / Apr 09, 2011 10:16am

    Greg Salt

    3988 posts

    Hi Renman,

    I’m afraid that I have no experience of the teemthumb addon. Please do contact the author of that addon for specific help with how that works. However, it’s possible that this is simply a question of the way that you have nested the tags. Try putting the teemthumb tags inside the portfolio_producten ones. As I say though, I’ve not seen this before so I don’t know how it’s supposed to work.

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases