using downloadList with ajax

i have a page where several documents are dynamicly loaded with ajax.
i need to make a donload link on the pdf of the loaded document (ajax call).
with my tests the ajax response is that the function getDownloadURL() doesn't exists.
Is there possible to use the downloadList.php library for an ajax call or may i have to use a personal function?
If possible, how to do that


  • acrylian Administrator, Developer
    getDownloadURL() is of course a plugin based one. Not knowing how your ajax call is setup it all may be all just outside of Zenphoto context. So you would have to load all needed Zenphoto stuff manually since the plugin is of course dependent on that. A example of the site would probably help a bit to answer.
Sign In or Register to comment.