This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
Dynamic 'folder' option
  • Hi:
    How can I set the 'folder' option to a dynamic variable which I read from a drop-down list?

    The folder value, example: '/images/product/shirts' is stored in an element named $('#destinationFolder').

    What am I doing wrong?

    -----------------------

    $('#fileUpload').uploadify({
    'uploader' : '/include/uploadify/uploadify.swf',
    'script' : '/admin/product/uploadify.php',
    'cancelImg' : '/images/cancel.png',
    'fileExt' : '*.jpg;*.jpeg;*.gif;*.png',
    'fileDesc' : '*.jpg; *.jpeg; *.gif; *.png',
    'folder' : $('#destinationFolder').val(),
    'multi' : true
    });
  • I figured it out.

    * Solution: *

    $('#fileUpload').uploadify({
    'uploader' : '/include/uploadify/uploadify.swf',
    'script' : '/admin/uploadify.php',
    'cancelImg' : '/images/cancel.png',
    'multi' : true,
    'onSelect' : function (){
    $('#fileUpload').uploadifySettings('folder', $('#folderName').val());
    }
    });