HP apuesta fuerte por la música a través de su nueva plataforma musical HP Connected Music. Mediante su colaboración con Universal Music Group, la compañía musical líder del mundo, el servicio de radio en streaming se ofrece de serie en todos los ordenadores y tablets nuevos de HP (preinstalado en modelos con Windows 8). De esta forma, los clientes podrán escuchar a sus artistas favoritos en las listas de radio, agrupadas por artista, género e incluso estado de ánimo. También puedes descargarla en Google Play si tu dispositivo utiliza Android.
El servicio es totalmente gratuito durante 12 meses, además de poder disfrutar de contenido exclusivo (fotografías, vídeos y noticias) de tus artistas preferidos, y la posibilidad de compartir las listas y emisoras en Twitter y Facebook (#hpconnectedmusic). En definitiva una plataforma musical todo en uno: reproductor de música, radio (TuneIn), noticias y servicios online (videoclips, playlists, concursos, experiencias, etc.).
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;
?>