uploadify and absolute filepaths ?
Posted
by Haroldo
on Stack Overflow
See other posts from Stack Overflow
or by Haroldo
Published on 2010-05-18T13:00:25Z
Indexed on
2010/05/18
13:10 UTC
Read the original article
Hit count: 781
can anyone with experience of the plugin see anything I'm doing wrong?
var SITE_ROOT = 'http://localhost/hf_latest_desktop/';
$("#uploadify").uploadify({
'uploader' : SITE_ROOT+'st_wd_assets/js/uploadify/scripts/uploadify.swf',
'script' : SITE_ROOT+'st_wd_assets/js/uploadify/scripts/uploadify.php',
'cancelImg' : SITE_ROOT+'st_wd_assets/js/uploadify/cancel.png',
'folder' : SITE_ROOT+'res/img/temp',
'auto' : true,
'multi' : false,
'buttonImg' : SITE_ROOT+'st_wd_assets/img/uploadify-button.png'
});
it loads in the swf fine (can see it in firebug), however the upload button does not show and there is no functionality?
edit:
it looks like it could be something to do with it encoding the " : " entity in the absolute paths for example examining the .swf it the attributed are encoded ie:
&buttonImg=http%3A//localhost/hf_latest_desktop/st_wd_assets/img/uploadify-button.png
© Stack Overflow or respective owner