funktioniert auch soweit.. jedoch sind die transparenten stellen vom bild nicht transparent, sondern weiß...
es wird ein png bilder verwendet.. habe es auf transparent eingestellt...
stelle aus album_pic.php
Code: Alles auswählen
if( $pic_filetype != '.gif' && (!$userdata['session_logged_in'] || $userdata['user_level'] == USER) && $album_sp_config['use_watermark'] == 1)
{
$position = $album_sp_config['disp_watermark_at'];
$transition = 50;
$sourcefile = ALBUM_UPLOAD_PATH . $thispic['pic_filename'];
$insertfile = $album_root_path . 'mark.png';
mergePics($sourcefile, $insertfile, $position, $transition, $pic_filetype);
}
else if ($pic_filetype != '.gif' && $album_sp_config['wut_users'] == 1 && $album_sp_config['use_watermark'] == 1)
{
$position = $album_sp_config['disp_watermark_at'];
$transition = 70;
$sourcefile = ALBUM_UPLOAD_PATH . $thispic['pic_filename'];
$insertfile = $album_root_path . 'mark.png';
mergePics($sourcefile, $insertfile, $position, $transition, $pic_filetype);
}
else
{
readfile(ALBUM_UPLOAD_PATH . $thispic['pic_filename']);
}
}
else
readfile(ALBUM_UPLOAD_PATH . $thispic['pic_filename']);
exit; habe mal eine transparente gif-datei dort angegeben, was allerdings nicht funktioniert. es wird dann gar kein wasserzeichen angezeigt..
warum kann ich hier kein gif einbinden? und warum funktioniert das mit der transparenz nicht?
¢¦
thx