670) { $scale_factor = 670/$total_width; } else { $scale_factor = 1; } // print $scale_factor; $row = 0; foreach($list as $photo) { $img_size = getImageSize("portfolio/".$section."/".$photo."_thumb.jpg"); $full_img_size = getImageSize("portfolio/".$section."/".$photo."_scale.jpg"); ?>" height="78">