I would like to change my image from this source src="img/thumbnails/bw/<?php echo $video->getImage(); ?>.jpg"
to this one src="img/thumbnails/color/<?php echo $video->getImage(); ?>.jpg"
on a mouseover witch will allow me to change the image from black and withe to color image.
<div class="row">
<?php foreach ($videos as $video) : ?>
<div class="col-sm-4 col-md-4">
<div class="thumbnail">
<img class="img-thumbnail" src="img/thumbnails/bw/<?php echo $video->getImage(); ?>.jpg" alt="<?php echo $video->getTitre(); ?>">
<div class="caption">
<h3><?php echo $video->getTitre(); ?></h3>
<p>
<?php echo $video->getAnnee(); ?>
</p>
<p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
Thank in advance for your help, because I only have some background solutions with css, but my php doesn't work in.