Jump to content

My slideshow does not appear!


solido
 Share

Recommended Posts

Hi everybody,

I'll try to explain my problem.

I have a portfolio section with some preview (as you can see in the pictures attached below) and when i click one of these preview I enter in a popup page, created with magicpopup js. What i would like is to have a slide show for every project.

This is my code:

                    <div class="row">
                        <div class="col-lg-6 col-md-6">
                            <div class="cycle-slideshow">

                           <?php if(isset($page->slideshow) && $page->slideshow->count() > 0):?>

                                     <?php foreach ($page->slideshow as $image): ?>

                                     <img src="<?php echo $image->url;?>" alt="" class="project-image">

                                     <?php endforeach ;?>

                             <?php endif;?>


                            </div>
                        </div>
........

Where I did wrong?

At PW level I use a "Portfolio page" that contains 1 page for every project and in each page I use a "slideshow" field (which has image type). In this field I upload my images.

Thanks in advance

post-3939-0-69958600-1448998323_thumb.pn

post-3939-0-35042100-1448998330_thumb.pn

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...