Javascript file manager

First draft to generate image path directly from a view using javascript.
Then you can create your manager: