Ver Mensaje Individual
  #6 (permalink)  
Antiguo 22/06/2009, 11:02
American2010
 
Fecha de Ingreso: abril-2003
Mensajes: 1.129
Antigüedad: 21 años, 1 mes
Puntos: 34
Respuesta: Ayuda Sugerencia Galeria de Imagenes

En el archivo lightbox.php en esas lineas encontras esto...

Código PHP:
//    function lightbox_create($content){
//    return preg_replace('/<a(.*?)href=(.*?).(jpg|jpeg|png|gif|bmp|ico)"(.*?)>/i', '<a$1href=$2.$3" $4 rel="lightbox[roadtrip]">', $content);
//    }
//  add_filter('the_content', 'lightbox_create', 2); 
Tengo entendido que si sacas las // del principio de cada una de esas lineas, entonces el lightbox se insertará automáticamente a todas las imágenes de tus posts...

En el readme.txt dice...

3. Add a rel="lightbox" attribute to any link tag to activate the lightbox or rel="lightbox[roadtrip]" for image set
4. If you want to add automatically the lightbox effect to your post's images, open lighbox.php and remove the comment '//' from lines 21 to 24.
__________________
elGastronomo