Page 1 of 1

how can I display path to script in uploadify's js code?

Posted: Sun Jul 11, 2010 7:23 pm
by cve
I'm working on somethink like Gallery module and I want to hook nice uploadify plugin to it, but I need to provide a path to the script that handle uploaded files (this is the action.upload.php in the main folder of module):

Code: Select all

$('#upload').uploadify({
		'uploader': '../modules/Galeria/uploadify/uploadify.swf',
		'script': 'how to display path to the action.upload.php',
		'folder': '../modules/Galeria/albums',
		'cancelImg': '../modules/Galeria/uploadify/cancel.png'
		});

Re: how can I display path to script in uploadify's js code?

Posted: Sun Jul 11, 2010 8:39 pm
by NaN