Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 17. Oct 2017, 18:55

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: preview_select_js_url
PostPosted: 9. Jan 2007, 15:46 
Offline

Joined: 3. Jan 2007, 19:03
Posts: 7
Can you pass the file name that is selected to this function, or just a URL? And if so, how?

I would like to somehow make it so when a user selects a file, the full download URL AND hyper link appear* and perhaps a description of the file. Also open to other suggestions on how this can be done.

Thank you.

* the show_full_url_for_selected_file feature does not work for me because I am using redirect paths by Apache and the URL displayed is incorrect.


Top
 Profile  
 
 Post subject:
PostPosted: 9. Jan 2007, 16:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
you only pass an url. (you can actually hardcode it to the page but I think noone who looks at the source code of the page should know what you are calling ;))

e.g. set the last selected file to the session in the php file.

then write e.g. a file called returnvalue.php that contains the code you want to display.

and in the js you call this url to get some information and display it e.g. in an iframe.

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO