Page 1 of 1

Client side image editor

Posted: Mon Jan 03, 2011 4:13 pm
by tariq
Hi sorry for being a pain but i really needed some help!

I'm after a client side image editor. I wanted customers to have the ability to upload a picture and edit the picture. By editing i mean basic editing such as crop and zoom and place onto a defined canvas side.

Thanks in advance.

Re: Client side image editor

Posted: Mon Jan 03, 2011 4:23 pm
by Neilos
Hi tariq,

I notice a problem with your request straight off the bat.
tariq wrote: I'm after a client side image editor.
php runs server side. You can construct the editor using php but the functionality will need to come from somewhere else. Unless that is, if you want to be reloading pages every time the user moves, zooms or crops something. (That wouldn't provide a very smooth user experience)

Might I suggest that you use a ready made tool that you can embed into your site. A quick search yielded;

http://www.picmeleo.com/

I hope this helps

Re: Client side image editor

Posted: Mon Jan 03, 2011 4:47 pm
by tariq
hi thanks for the superfast reply what i wanted to do was create something like this: https://www.yourimage2canvas.co.uk/secu ... canvas.php.

If you have a look at the create your order it allows customers to place their canvas based on attributes selected. Such a rectangle canvas would allow only a rectangle crop.

I also wanted to integrate this into virtuemart if possible

Re: Client side image editor

Posted: Mon Jan 03, 2011 5:24 pm
by Neilos
Hi tariq,

Yeah, it's a super nice idea but unfortunately I don't think that php is the code of choice for creating such an application. Besides, you'll be hard pushed to get someone to build it for you, so I think that an off the shelf version would be best, unless you want to code it yourself. In which case I suggest that you think about what you want it coded in. I would have thought that a nice flash app would be nice, maybe java. You could even build it using javascript. All of which would be great but php is not really a viable choice here, so with worries about going off the forum topic I suggest you try javascript or flash forums to ask people if they think that it can be done easily.

If you need some help deciding on direction then please ask. Also are you keen to build it with php for some reason?

Re: Client side image editor

Posted: Mon Jan 03, 2011 5:56 pm
by tariq
Hi Neilos,

Thanks for that i just assumed i could have done that in php but your right php def doesnt seem like the way forward. Any suggestions would be welcome lol

I've done several searches but cant find anything with a fixed aspect ratio for the crop element. If you've got any suggestions i'm more than willing to pay for your services as i'm at my wits end :?

Re: Client side image editor

Posted: Mon Jan 03, 2011 8:33 pm
by Neilos
Unfortunately I don't have the time at the moment. I have a 2nd year maths exam in two weeks and too snowed under with my programming projects to be able to lend sufficient time to anyone elses tasks. Even though it would be fun to make a small program for this as I've never done it before.

However I wouldn't have thought it would be too difficult for someone to knock up a basic image editor using jQuery. How's your javascript programming? If it's not good then you could hit up some tutorials maybe.

Just out of interest, what would the specifications for the editor be?

Re: Client side image editor

Posted: Mon Jan 03, 2011 11:53 pm
by Christopher

Re: Client side image editor

Posted: Tue Jan 04, 2011 2:48 pm
by tariq
does anybody know how to connect this to virtuemart?

Re: Client side image editor

Posted: Wed Jan 05, 2011 10:12 am
by pickle
Moving to the HTML/CSS/UI Forum.