$thumbs =array();
$img_paths=array();
for($k=1;$k<=8;$k++){
if(get_field('image_'.$k)!='') $img_paths[]=get_field('image_'.$k);
}
foreach($img_paths as $img_path ){
if($img_path!=''){
$thumbs[] = array('thumb'=>$img_path['sizes']['medium'],'large'=>$img_path['sizes']['large'],'title'=>$img_path['title'],'alt'=>$img_path['alt']);
} }
?>
$thumbs =array();
$img_paths=array();
for($k=1;$k<=8;$k++){
if(get_field('image_'.$k)!='') $img_paths[]=get_field('image_'.$k);
}
foreach($img_paths as $img_path ){
if($img_path!=''){
$thumbs[] = array('thumb'=>$img_path['sizes']['medium'],'large'=>$img_path['sizes']['large'],'title'=>$img_path['title'],'alt'=>$img_path['alt']);
} }
?>
$thumbs =array();
$img_paths=array();
for($k=1;$k<=8;$k++){
if(get_field('image_'.$k)!='') $img_paths[]=get_field('image_'.$k);
}
foreach($img_paths as $img_path ){
if($img_path!=''){
$thumbs[] = array('thumb'=>$img_path['sizes']['medium'],'large'=>$img_path['sizes']['large'],'title'=>$img_path['title'],'alt'=>$img_path['alt']);
} }
?>
$thumbs =array();
$img_paths=array();
for($k=1;$k<=8;$k++){
if(get_field('image_'.$k)!='') $img_paths[]=get_field('image_'.$k);
}
foreach($img_paths as $img_path ){
if($img_path!=''){
$thumbs[] = array('thumb'=>$img_path['sizes']['medium'],'large'=>$img_path['sizes']['large'],'title'=>$img_path['title'],'alt'=>$img_path['alt']);
} }
?>