Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/11/2013, 10:35
Rapa
 
Fecha de Ingreso: marzo-2011
Mensajes: 11
Antigüedad: 13 años, 1 mes
Puntos: 0
Problema con prettyphoto

Buenas, tengo diseñado un pequeño script de slide de fotos y el problema es que cuando cambio las imagenes me siguen saliendo las antiguas, se deben de almacenar en otro sitio como temporal o algo por el estilo, aqui os dejo el codigo haber si podeis ayudarme.

Código HTML:
 <div id="gal1">	
			<ul class="gallery clearfix">
				<li><a href="images/fullscreen/1.jpg" rel="prettyPhoto[gallery1]"><img src="images/thumbnails/1.jpg" width="60" height="60"/></a></li>
				<li><a href="images/fullscreen/2.jpg" rel="prettyPhoto[gallery1]"><img src="images/thumbnails/2.jpg" width="60" height="60"/> </a></li>
				<li><a href="images/fullscreen/3.jpg" rel="prettyPhoto[gallery1]"><img src="images/thumbnails/3.jpg" width="60" height="60"/></a></li>
				<li><a href="images/fullscreen/4.jpg" rel="prettyPhoto[gallery1]"><img src="images/thumbnails/4.jpg" width="60" height="60"/></a></li>
				<li><a href="images/fullscreen/5.jpg" rel="prettyPhoto[gallery1]"><img src="images/thumbnails/5.jpg" width="60" height="60"/></a></li>
	
			</ul>
            
        

			
			<script type="text/javascript" charset="utf-8">
			$(document).ready(function(){
				$("area[rel^='prettyPhoto']").prettyPhoto();
				
				$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:5000, autoplay_slideshow: true});
				$(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
		
				$("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
					
					changepicturecallback: function(){ initialize(); }
				});

			
			
			});
			</script>
	
			
	</div>