IMages

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
faris10
Forum Newbie
Posts: 9
Joined: Sun Dec 11, 2005 6:25 pm

IMages

Post by faris10 »

I want to a php program that enables the customer to upload a picture to my website and be able to customize, for example adding text, changing text style and size. Any Idea where and how to start that ?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

Moved to phpGD
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Well .. to get you started ..

http://www.ooer.com/phphoto/index.php

PHPhoto is sort of "photoshop written in PHP". Upload an image using the Upload option under the File menu, then add some text using the Text option under the Drawing menu. I think it's relatively straightforward to understand it all. There's more about the project, and the source code for 0.2 available at:

http://www.ooer.com/index.php?section=p ... ct=phphoto

It's faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar from finished though.
faris10
Forum Newbie
Posts: 9
Joined: Sun Dec 11, 2005 6:25 pm

Post by faris10 »

onion2k wrote:Well .. to get you started ..

http://www.ooer.com/phphoto/index.php

PHPhoto is sort of "photoshop written in PHP". Upload an image using the Upload option under the File menu, then add some text using the Text option under the Drawing menu. I think it's relatively straightforward to understand it all. There's more about the project, and the source code for 0.2 available at:

http://www.ooer.com/index.php?section=p ... ct=phphoto

It's faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar from finished though.
Basicly my project it's for Tshirt website where the customer can upload the picture an add some text , then I can save the values in database . Thanks
faris10
Forum Newbie
Posts: 9
Joined: Sun Dec 11, 2005 6:25 pm

Post by faris10 »

http://www.carolinaartgallery.com/osCom ... /index.php
I have included that project on my website at the adress above.
I want to be able to change color and change the font shape , any ideas how to do that ?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Hmm.. you seem to have missed the point here.. You can't just install it and expect it to work exactly the way you want. I was suggesting that you take some of the code from PHPhoto (the text writing stuff) and create a new script based on it that integrates with your shop. What you're asking for is actually relatively complicated.

How much experience do you have in PHP?
faris10
Forum Newbie
Posts: 9
Joined: Sun Dec 11, 2005 6:25 pm

Post by faris10 »

onion2k wrote:Hmm.. you seem to have missed the point here.. You can't just install it and expect it to work exactly the way you want. I was suggesting that you take some of the code from PHPhoto (the text writing stuff) and create a new script based on it that integrates with your shop. What you're asking for is actually relatively complicated.

How much experience do you have in PHP?
Not that much in PHP. I came from C++ BackGround. I understand what you were talking about. I have copied things to my website and started customizing. If you look at it now it's not exactly as the original. I have removed some things. I'm studying the code now to see where I will have control of things. After I get to the point where there is what I need, I will try to implement that in my store.
Post Reply