Hace una semana asistimos a la primera edición valenciana del fenómeno deportivo a nivel mundial que está ganando continuamente adeptos: las Spartan Race de Reebok.
A base de obstáculos, sacrificios, pruebas y mucha fuerza, esta carrera supone más que un esfuerzo, todo un estado de ánimo y estilo de vida.
Ataviados con la ropa y calzado más cómodos para lograr ya no hacer el mejor tiempo, sino en algunos casos acabar el recorrido; los espartanos se reunieron en la localidad valenciana de Paterna para superar todos los obstáculos que se habían preparado para ese día.
Y entre ellos, un heterogéneo grupo de hombres que, bajo la sociedad de Reebok y 25 Gramos, lucharon hasta el final saltando, corriendo, escalando y, sobre todo, aguantando el peso de su propio cuerpo hasta la meta, con la mente puesta también en el origen de algo nuevo que les espera este nuevo año junto a la marca…
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;
?>