Please tell me a simple javascript filepicker in which you can select one of the files located in a specific folder on the server or enter a link to your file. I draw attention to the fact that the filepicker should not be able to upload files to the server.
- it is not clear exactly what you want. js here a little to do with it. - zb '
- @eicto, why not enough? There are a lot of things on js roxyfileman.com/demo - mountpoint
- @mountpoint what a horror ... (I'm talking about roxy) - zb '
- @eicto, the insides are probably terrible, and a quite good file manager is mountpoint
- does not look horrible - zb '
|
2 answers
Here is a script that creates a simple file picker and adds it to your webpage:
var fp = document.createElement("input"); fp.type="file"; document.body.appendChild(fp); |
The option is good, but by that time I had already solved the problem with the help of the basic editor, in my case this is ckeditor with the ckfinder module. I had to copy it once again in the ckfinder configuration settings. It turned out everything is very simple;)
|