Recover disk image via callback

1

Well, I'm developing a feature that aims to upload an image (this step has already been done) and right after I "retrieve" it to select some color in it ( ColorPicker with Canvas ), just like this example .

The problem is that I do not know how to retrieve such an image that is in a folder on my server to use with the colorpicker mentioned above.

For example:

I'm using a plugin to upload images called DropZone, when I upload the same image it's in a folder inside the server on disk EX :.

/app/joocebox-img/logo/logo_01.jpg 

So I wanted the upload plugin's successful callback to bring the image so that I would just embed it in ColorPicker for the user to perform color selection .

It would be possible to do this without creating an "image server", as this article ?

I'm using JavaEE + Spring MVC

    
asked by anonymous 13.01.2015 / 19:04

1 answer

1

Well, I ended up solving the problem by choosing a simple colorPicker jquery. I opted for this approach because of lack of time in the design and even to give the user a greater breadth.

    
16.01.2015 / 01:45