jquery - How to take a snap of the final result after dropping an item on an image using javascript? -
i'm working on project need develop system people can create own design choosing given list of symbols , images , choose background. have completed parts regarding dragging , dropping etc. i'm stucked previewing final result in single image. i'm assuming need positions of elements in drag-and-drop container (or canvas) , pass php script (i can work php) , create new image using php's image library. clumsy , frustrating me. i'm here advice , suggestion experts.
so question is- "is there other ways regarding php or js can use desired result?"
thanks in advance.
you sir, right on target. optimization suggestions though pass dimensions json object, way array in php , can have multiple objects supplying each images source url.
there plenty of libraries handle actual generation. consider here http://php.net/manual/en/refs.utilspec.image.php theres plenty of tutorials available on subject. can tell you, using function imagecopymerge()
gd, , make breeze. more on topic here... merge 2 images in php
good luck , enjoy, feel free comment more questions.
Comments
Post a Comment