En los Emiratos Árabes Unidos, muy cerca de Abu Dabi, existe uno de los museos automovilísticos más impresionantes y excéntricos de todo el mundo. Ya no solo por la cantidad de coches que alberga, sino más bien por su tipo. Ya que allí pueden encontrarse Mercedes-Benz clásicos pintados como el arcoíris o con ruedas de monster truck, autocaravanas con forma de globo terráqueo, preparaciones muy estrafalarias o, incluso, el pick-up más grande que se haya construido jamás.
Estamos ante el Emirates National Auto Museum, más conocido por ser la colección exclusiva del jeque Hamad Bin Hamdan Al Nahyan o ‘Jeque Arcoíris’. Que aparte de extravagancias sobre cuatro ruedas, también posee rarezas muy valiosas. Como el jurásico Lamborghini LM002, el primer todoterreno desarrollado por el fabricante italiano hace más de 25 años.
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;
?>