image file editing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
monsta-toast
Forum Newbie
Posts: 16
Joined: Sat Jan 17, 2009 3:21 pm
Location: NEWCASTLE UPON TYNE

image file editing

Post by monsta-toast »

hi i have an image uploader on my site where you can upload pics for an online catalogue. i know need to know the best way of editing and deleting the images. any one got any ideas cheers
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: image file editing

Post by pickle »

Editing: GD or ImageMagick
Deleting: unlink()
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
monsta-toast
Forum Newbie
Posts: 16
Joined: Sat Jan 17, 2009 3:21 pm
Location: NEWCASTLE UPON TYNE

Re: image file editing

Post by monsta-toast »

pickle wrote:Editing: GD or ImageMagick
Deleting: unlink()

thanks but i didn't mean that sort of editing. i was after something more simple like changing the image file on the db.

how would i replace an image?
User avatar
monsta-toast
Forum Newbie
Posts: 16
Joined: Sat Jan 17, 2009 3:21 pm
Location: NEWCASTLE UPON TYNE

Re: image file editing

Post by monsta-toast »

just wondering if any one had any ideas
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: image file editing

Post by onion2k »

monsta-toast wrote:how would i replace an image?
Just upload a new one and save it's details over the old one whereever you're storing the filename and path.

Whereabouts in Newcastle are you? I'm there too...
Post Reply