El competitivo mercado de los smartphone, con el Apple iPhone 7 a la cabeza, tiene un nuevo participante en forma de Pixel. El flamante nuevo gadget de Google que se presenta con tecnología y características técnicas idóneas para comerse un buen trozo del pastel.
Fabricado por HTC, pero íntegramente diseñado por Google, presume de la mejor cámara (12.3 megapixels y videos 4k a 30 fps), la carga de batería más rápida (15 minutos equivalen a 7 horas de duración), el nuevo Asistente como rival del Siri de Apple, y almacenamiento online ilimitado para las fotos y los vídeos. Presentándose en versiones estándar de 5 pulgadas y XL de 5.5 sobre 4GB de RAM, 32GB ó 128GB, pantalla AMOLED, Android 7.1 Nougat y dos colores de acabado disponibles: plata y negro. Todos equipados con cristal Corning Gorilla Glass 4 y fabricados sobre aluminio anodizado.
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;
?>