for($ka = 1; $ka <= $_SESSION['nr_fisiere']; $ka++) {
imagecopyresampled($thumb[$ka], $source[$ka], 0, 0, 0, 0, $newwidth[$ka], $newheight[$ka], $width[$ka], $height[$ka]) or die("copy_resampled");
if(imagejpeg($thumb[$ka], 'imagini/mici/'.$_SESSION['nume_f'][$ka], 100)) print "<script>location.href='index.php'; </script>"; else die("copy");
}
firefox (i don't know if it`s just him) tells me that the image cannot be dispayed
The image cannot be displayed because...
the images are gennerated but it dies with this error !
$thumb[$ka] and $source[$ka] are deffined into a for upper
|