0 && $image_column < 11) ? $image_column : 3; $total_images = count($img_ids); ?>