<script src="includes/fotorama.js"></script>
<div id="fotorama" class="fotorama">
<img src="images/6.jpg"/>
<img src="images/7.jpg"/>
<img src="images/8.jpg"/>
</div>
This works fine in the begining. Once i update the images via ajax call , Slider does not work.. Please help ..
This is a bad way to update the images in the fotorama. Still you can make it work by altering your
onreadystatechange
function:A “good” way is to use the methods of the Fotorama API,
load
andpush
for example:The image object may look like so: