$fileDestination,
'watermark' => 'path/to/watermark.png',
'position' => 'center',
'x-offset' => 0,
'y-offset' => 0
);
$watermark = new Watermark_My_Image( $watermark_options );
$watermark->apply_watermark();
header("Location: index.php?uploadsuccess");
} else {
echo "Your file is too big!";
}
} else {
echo "There was an error uploading your file!";
}
} else {
echo "You cannot upload files of this type!";
}
}