flashgallery.swf? O flashgallery.php?

  • kingdlee
  • Born
  • Born
  • No Avatar
  • Registrado: Ago 17, 2008
  • Mensajes: 1
  • Status: Offline

Nota Agosto 17th, 2008, 3:51 am

Hola a todos, soy nuevo en el foro, así que me disculpo si este mensaje está fuera de lugar.

He descargado el código de una galería de imágenes de flash http://www.flash-gallery.org/download.html . Todo funciona bien, pero por alguna razón, sólo se carga 20 imágenes. Yo soy de transmisión de las imágenes de todos los flicker.I tienen más de 500 imágenes en una carpeta en Flickr.


Mi pregunta es, ¿el problema reside en el archivo flashgallery.swf? Si es así ¿Cómo puedo abrir y editar.

¿O es que en el archivo flashgallery.php?


Esto es lo que PHP es así:

PHP Código: [ Select ]
<?php
$allowed_formats = array("jpg", "jpeg", "JPG", "JPEG", "png", "PNG");
$exclude_files = array(
"_derived",
"_private",
"_vti_cnf",
"_vti_pvt",
"vti_script",
"_vti_txt"
); // add any other folders or files you wish to exclude from the gallery.
 
$path = array();
 
if(isset($_GET['file_dir'])){
$file_dir = $_GET['file_dir'];
         $dir=opendir($file_dir);
            while ($file=readdir($dir))
            {
            $ext = substr($file, strpos($file, ".")+1);
           
               if(array_search($file, $exclude_files)===false && array_search($ext, $allowed_formats)!==false){
 
$f=$file_dir.'/'.$file;
 
$path []=$f;               
 
               }
            }
           
closedir($dir);
}
natcasesort($path);
 
print '<?xml version="1.0" encoding="iso-8859-1"?>';
print '<pics';
print '>';
 
$directory= $_SERVER['HTTP_HOST'] .$_SERVER['PHP_SELF'];
$directory=dirname($directory);
 
foreach ($path as $val) print '<pic src="'.'http://'.$directory.'/'.$val.'" title="'.$val.'" />';;
print "</pics>";
?>
  1. <?php
  2. $allowed_formats = array("jpg", "jpeg", "JPG", "JPEG", "png", "PNG");
  3. $exclude_files = array(
  4. "_derived",
  5. "_private",
  6. "_vti_cnf",
  7. "_vti_pvt",
  8. "vti_script",
  9. "_vti_txt"
  10. ); // add any other folders or files you wish to exclude from the gallery.
  11.  
  12. $path = array();
  13.  
  14. if(isset($_GET['file_dir'])){
  15. $file_dir = $_GET['file_dir'];
  16.          $dir=opendir($file_dir);
  17.             while ($file=readdir($dir))
  18.             {
  19.             $ext = substr($file, strpos($file, ".")+1);
  20.            
  21.                if(array_search($file, $exclude_files)===false && array_search($ext, $allowed_formats)!==false){
  22.  
  23. $f=$file_dir.'/'.$file;
  24.  
  25. $path []=$f;               
  26.  
  27.                }
  28.             }
  29.            
  30. closedir($dir);
  31. }
  32. natcasesort($path);
  33.  
  34. print '<?xml version="1.0" encoding="iso-8859-1"?>';
  35. print '<pics';
  36. print '>';
  37.  
  38. $directory= $_SERVER['HTTP_HOST'] .$_SERVER['PHP_SELF'];
  39. $directory=dirname($directory);
  40.  
  41. foreach ($path as $val) print '<pic src="'.'http://'.$directory.'/'.$val.'" title="'.$val.'" />';;
  42. print "</pics>";
  43. ?>


O aquí es el sitio por el camino. http://autographfan.com/More_pages/Sports.htm Disculpe el desorden de los nombres más adelante, no he terminado la lista todavía.




Cualquier ayuda sería muy apreciada!

Gracias, Devin
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Agosto 17th, 2008, 3:51 am

  • CE/ Pyrocy
  • Proficient
  • Proficient
  • Avatar de Usuario
  • Registrado: Jul 14, 2006
  • Mensajes: 374
  • Loc: Santa Barbara, CA
  • Status: Offline

Nota Agosto 18th, 2008, 11:17 am

, ¿tienes un archivo XML?
  • graphixboy
  • Control + Z
  • Mastermind
  • Avatar de Usuario
  • Registrado: Jul 11, 2005
  • Mensajes: 1828
  • Loc: In the Great White North
  • Status: Offline

Nota Agosto 18th, 2008, 12:18 pm

kingdlee escribió:
Mi pregunta es, ¿el problema radica en la flashgallery.swf archivo? Si es así cómo abrir y editar.
Así no se puede realmente abrir un archivo swf y modificarlo (archivos SWF son código compilado) Usted tendría la fuente. Fla y una copia de Flash para poder editar el swf. Con frecuencia los componentes descargables no le permiten modificar el código fuente. Supongo que el problema radica en el swf, pero tengo la sensación de que usted no será capaz de modificarla.

CE/ Pyrocy escribió:
, ¿tienes un archivo XML?
Ese script php en el puesto está generando un archivo XML basado en el contenido de un directorio.
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com

Publicar Información

  • Total de mensajes en este tema: 3 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 35 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC