Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

[Résolu] Aide (smarty) sur ma boucle {Gallery}
#3

c'est bien ce code que tu veux ?

Code :
[== HTML ==]
<div class="container">
        <div class="row">
        <div class="col-md-4 portfolio-item">
        <a data-toggle="modal" data-target="#myModal" href="#myModal">            
              
                    <img class="img-responsive" src="uploads/images/Gallery/lolo/nike_running_menu.jpg" alt="nike_running_menu.jpg" />
                </a>
        <h3>
                    <a href="#"></a>
                </h3>

        <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">
                        <img class="img-responsive" src="uploads/images/Gallery/lolo/nike_running_menu.jpg" alt="nike_running_menu.jpg" />
                    </div>
                </div>
            </div>
        </div>
    </div>    <div class="col-md-4 portfolio-item">
        <a data-toggle="modal" data-target="#myModal" href="#myModal">            
              
                    <img class="img-responsive" src="uploads/images/Gallery/lolo/shot.jpg" alt="shot.jpg" />
                </a>
        <h3>
                    <a href="#"></a>
                </h3>

        <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">
                        <img class="img-responsive" src="uploads/images/Gallery/lolo/shot.jpg" alt="shot.jpg" />
                    </div>
                </div>
            </div>
        </div>
    </div>    <div class="col-md-4 portfolio-item">
        <a data-toggle="modal" data-target="#myModal" href="#myModal">            
              
                    <img class="img-responsive" src="uploads/images/Gallery/lolo/musicapp.png" alt="musicapp.png" />
                </a>
        <h3>
                    <a href="#"></a>
                </h3>

        <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">
                        <img class="img-responsive" src="uploads/images/Gallery/lolo/musicapp.png" alt="musicapp.png" />
                    </div>
                </div>
            </div>
        </div>
    </div>    <div class="col-md-4 portfolio-item">
        <a data-toggle="modal" data-target="#myModal" href="#myModal">            
              
                    <img class="img-responsive" src="uploads/images/Gallery/lolo/imore_app_ic.jpg" alt="imore_app_ic.jpg" />
                </a>
        <h3>
                    <a href="#"></a>
                </h3>

        <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">
                        <img class="img-responsive" src="uploads/images/Gallery/lolo/imore_app_ic.jpg" alt="imore_app_ic.jpg" />
                    </div>
                </div>
            </div>
        </div>
    </div>    <div class="col-md-4 portfolio-item">
        <a data-toggle="modal" data-target="#myModal" href="#myModal">            
              
                    <img class="img-responsive" src="uploads/images/Gallery/lolo/dribble_firstshot_2.jpg" alt="dribble_firstshot_2.jpg" />
                </a>
        <h3>
                    <a href="#"></a>
                </h3>

        <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">
                        <img class="img-responsive" src="uploads/images/Gallery/lolo/dribble_firstshot_2.jpg" alt="dribble_firstshot_2.jpg" />
                    </div>
                </div>
            </div>
        </div>
    </div>    <div class="col-md-4 portfolio-item">
        <a data-toggle="modal" data-target="#myModal" href="#myModal">            
              
                    <img class="img-responsive" src="uploads/images/Gallery/lolo/albumtry.jpg" alt="albumtry.jpg" />
                </a>
        <h3>
                    <a href="#"></a>
                </h3>

        <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">
                        <img class="img-responsive" src="uploads/images/Gallery/lolo/albumtry.jpg" alt="albumtry.jpg" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>

Pourtant les images recuperées dans la div #myModal sont bien les bonnes au vu du code source que je viens de coller ici.
Sujet fermé


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)