Reply to Add TWO watermarks in the same image

Add TWO watermarks in the same image new!
by Paulo, 16 years, 8 months ago
Hi,

In my gallery a have to put one watermark on TOP and one on botton right, but when i try, only the last watermark stay on image.

//FAZ O PROCESSO DE MARCA D'AGUA
$ImgMod = new Upload($ImagemCompleta);
$ImgMod->file_auto_rename = false;
$ImgMod->file_overwrite = true;
	
//APLICA A MARCA 1 NO TOPO	
if ( file_exists($Marca1) == true ) {
  $ImgMod->image_watermark = $Marca1;
  $ImgMod->image_watermark_position = 'T';
}	

//APLICA A MARCA 2 NO CANTO INFERIOR DIREITO
if ( file_exists($Marca2) == true ) {
  $ImgMod->image_watermark = $Marca2;
  $ImgMod->image_watermark_position = 'BR';
}	

$ImgMod->process( $PastaTemp );
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important