Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Diario Frontera</title>
<script src="wp-content/df_digital/booklet/jquery.min.js" type="text/javascript"></script>
<script src="wp-content/df_digital/booklet/jquery-ui.min.js" type="text/javascript"></script>
<script src="http:wp-content/df_digital/booklet/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="wp-content/df_digital/booklet/jquery.booklet.1.2.0.min.js" type="text/javascript"></script>
<link href="wp-content/df_digital/booklet/jquery.booklet.1.2.0.css" type="text/css" rel="stylesheet" media="screen, projection, tv" />
</head>
<body>
<?php
$dir = "wp-content/df_digital/diario_digital";
$handle=opendir($dir);
$total = 0;
while ($file = readdir($handle)){
if ($file != "." && $file != ".."){
$total++;
$nombre[$total]= $file;
}
}
?>
<div id="mybook2">
<div class="b-load">
<?php
for ($i = 0; $i<=$total; $i++) {
?>
<div>
<?php echo'<img src= "'.$dir."/".$nombre[$i].'"/>'; ?>
</div>
<?php } ?>
</div>
</div>
<?php closedir($handle); ?>
<script type="text/javascript">
$(function() {
//single book
$('#mybook').booklet();
//multiple books with ID's
$('#mybook2').booklet({
manual: false,
overlays: true,
hovers: false
});
//multiple books with a class
$('.mycustombooks').booklet();
});
</script>
</body>
</html>
Me fui por la primera opción que me diste, porque la segunda opción no hacia nada, estoy muy agradecida por tu diligencia. Saludos!