Here is some code I stubled on that would be a good start on using GD2 to watermark an image with either a PNG or Plain old Text. The text watermark comes out very clear. I made some notes in some of the code denoted with -Eric Let me know if there is anything I can help you with. Even though I am an xBase programmer I am getting better with PHP.
BTW - How hard would it be to move the register module into a seperate directory. I wanna use the software for a paysite but I want all the features to show as a sample until they pay when they register through etelegate.
I don't see how text would be any different, but I'll try it.
I can't use the script you posted, because it states that the files are under the terms of the GNU General Public License. LGPL files I can and do use, but GPL wouldn't be legal. Still, it shouldn't be fundamentally different from the text in the security image so hopefully it'll go easy.
If you want to use some other sort of registration, use the member system integration generator in your admin panel to integrate with whatever it is you want to do the registering. I don't know how the location of a file could relate to having samples requiring payment, though... you should just use the member sponsorship system if that's what you want.
Comments on WaterMark Problem
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
Here is some code I stubled on that would be a good start on using GD2 to watermark an image with either a PNG or Plain old Text. The text watermark comes out very clear. I made some notes in some of the code denoted with -Eric Let me know if there is anything I can help you with. Even though I am an xBase programmer I am getting better with PHP.
BTW - How hard would it be to move the register module into a seperate directory. I wanna use the software for a paysite but I want all the features to show as a sample until they pay when they register through etelegate.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't see how text would be any different, but I'll try it.
I can't use the script you posted, because it states that the files are under the terms of the GNU General Public License. LGPL files I can and do use, but GPL wouldn't be legal. Still, it shouldn't be fundamentally different from the text in the security image so hopefully it'll go easy.
If you want to use some other sort of registration, use the member system integration generator in your admin panel to integrate with whatever it is you want to do the registering. I don't know how the location of a file could relate to having samples requiring payment, though... you should just use the member sponsorship system if that's what you want.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Got them working, but I don't notice a quality difference.