‘Breath of the Wild’, la última entrega de la serie The Legend of Zelda, ya ha enseñado sus primeras imágenes como videojuego después de su anuncio en el pasado E3. En una nueva entrega que Nintendo ha anunciado para sus Wii U y NX a partir del próximo año.
En esta ocasión, Link recorrerá el mundo al aire libre viajando a través de los campos, montañas y bosques del reino de Hyrule. Con más diálogos, objetos y herramientas esperadas que en anteriores entregas. Mientras este primer tráiler oficial muestra los primeros esbozos del juego y anuncia ya su pre-order.
foreach ($images as $image) {
if ($start <= $i and $i < $stop) {
$img_title = $image->post_title; // title.
$img_description = $image->post_content; // description.
$img_caption = $image->post_excerpt; // caption.
$img_url = wp_get_attachment_url($image->ID); // url of the full size image.
$preview_array = image_downsize( $image->ID, 'thumbnail' );
$img_preview = $preview_array[0]; // thumbnail or medium image to use for preview.
?>
}
$i++;
}
?>
}
}
// LAST NIGHT GALLERY=============================
// Get attached images & spits out a list of them.
function last_night_gallery($size = 'post-parrilla', $limit = '0', $offset = '0') {
global $post;
$images = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') );
if ($images) {
$num_of_images = count($images);
if ($offset > 0) : $start = $offset--; else : $start = 0; endif;
if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif;
$i = 0;
?>