Meraba Arkadaşlar Aşağıda verdiğim kod resme logoyu ekliyor ama benim istediğim logo yu resime ekleyip logosuz resmi logolu resim ile değiştirmesidir. php bilgim fazla yok sizden yardım bekliyorum tşkler
ben bunu upload ederken kullanacağım
aşağıdaki kodun demo adresi
http://depo.agi82.net/load/load.php
<?php
// watermark.php
// Path the the requested file
$path = $_SERVER['DOCUMENT_ROOT'].$_SERVER['REQUEST_URI'];
// Load the requested image
$image = imagecreatefromstring(file_get_contents("resim.jpg"));
$w = imagesx($image);
$h = imagesy($image);
// Load the watermark image
$watermark = imagecreatefrompng('logo.png');
$ww = imagesx($watermark);
$wh = imagesy($watermark);
// Merge watermark upon the original image
imagecopy($image, $watermark, $w-$ww, $h-$wh, 0, 0, $ww, $wh);
// Send the image
header('Content-type: image/jpeg');
imagejpeg($image);
exit();
?>