Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How do I get The URL of an uploaded file? (not the download link)
Hi there,
for use with the jQuery jPlayer, i’d like to get the URL of an uploaded file – the txp download link will unfortunately not work with jPlayer (at least not x-browser, it works in FF only) …
Any ideas? Cheers, -F
Offline
Re: How do I get The URL of an uploaded file? (not the download link)
Did you try
yourrsite.tld/files/file_name.ext
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: How do I get The URL of an uploaded file? (not the download link)
sorry colak, maybe i should have been more specific: how do i dynamically get the URL of a file, txp-style?
so i was looking for sth. like <txp:file_url id=“5” /> …
Last edited by funtoosh (2011-01-17 16:37:55)
Offline
Re: How do I get The URL of an uploaded file? (not the download link)
<txp:file_download_list id="5"><txp:site_url />files/<txp:file_download_name /></txp:file_download_list>
Code is topiary
Offline
Re: How do I get The URL of an uploaded file? (not the download link)
thx jeff!! works!!
Offline