300) { $make_thumbnail = make_thumbnail($image_path, $thumb_dir.$image_newname, 300); if ($make_thumbnail != "success") { ?> 1100) { $make_preview = make_thumbnail($image_path, $preview_dir.$image_newname, 900); if ($make_preview != "success") { ?>