//mostrar un tamaño personalizado de la imagen seleccionada cuando se utiliza el tipo de retorno de objetos.
$image = get_field('imagen_slider1');
if( !empty($image) ):
// vars
$url = $image['url'];
$title = $image['title'];
$alt = $image['alt'];
$caption = $image['caption'];
// thumbnail
$size = 'slider-full-img';
$thumb = $image['sizes'][ $size ];
$width = $image['sizes'][ $size . '-width' ];
$height = $image['sizes'][ $size . '-height' ]; ?>
Gestión Inmobiliaria
endif; ?>
//mostrar un tamaño personalizado de la imagen seleccionada cuando se utiliza el tipo de retorno de objetos.
//$image2 = get_field('imagen_slider2');
if( !empty($image2) ):
// vars
$url2 = $image2['url'];
$title2 = $image2['title'];
$alt2 = $image2['alt'];
$caption2 = $image2['caption'];
// thumbnail
$size2 = 'slider-full-img';
$thumb2 = $image2['sizes'][ $size2 ];
$width2 = $image2['sizes'][ $size2 . '-width' ];
$height2 = $image2['sizes'][ $size2 . '-height' ]; ?>
Alquiler de Plazas de Aparcamiento para Coches y Motos
endif; ?>
//mostrar un tamaño personalizado de la imagen seleccionada cuando se utiliza el tipo de retorno de objetos.
//$image3 = get_field('imagen_slider3');
if( !empty($image3) ):
// vars
$url3 = $image3['url'];
$title3 = $image3['title'];
$alt3 = $image3['alt'];
$caption3 = $image3['caption'];
// thumbnail
$size3 = 'slider-full-img';
$thumb3 = $image3['sizes'][ $size3 ];
$width3 = $image3['sizes'][ $size3 . '-width' ];
$height3 = $image3['sizes'][ $size3 . '-height' ]; ?>
Alquiler de Viviendas, Apartamentos y Locales Comerciales
endif; ?>
//mostrar un tamaño personalizado de la imagen seleccionada cuando se utiliza el tipo de retorno de objetos.
//$image4 = get_field('imagen_slider4');
if( !empty($image4) ):
// vars
$url4 = $image4['url'];
$title4 = $image4['title'];
$alt4 = $image4['alt'];
$caption4 = $image4['caption'];
// thumbnail
$size4 = 'slider-full-img';
$thumb4 = $image4['sizes'][ $size4 ];
$width4 = $image4['sizes'][ $size4 . '-width' ];
$height4 = $image4['sizes'][ $size4 . '-height' ]; ?>
endif; ?>
//mostrar un tamaño personalizado de la imagen seleccionada cuando se utiliza el tipo de retorno de objetos.
//$image5 = get_field('imagen_slider5');
if( !empty($image5) ):
// vars
$url5 = $image5['url'];
$title5 = $image5['title'];
$alt5 = $image5['alt'];
$caption5 = $image5['caption'];
// thumbnail
$size5 = 'slider-full-img';
$thumb5 = $image5['sizes'][ $size5 ];
$width5 = $image5['sizes'][ $size5 . '-width' ];
$height5 = $image5['sizes'][ $size5 . '-height' ]; ?>
endif; ?>