Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Browse button not visible
  • I've this:


    <fieldset id=\"product_images\">
    <div id=\"fileQueue\"></div>
    <input type=\"file\" name=\"file\" id=\"file\" />
    </fieldset>


    And the Javascript code is:

    $(\"#file\").uploadify({
    'uploader' : 'uploadify.swf',
    'script' : 'uploadify.php',
    'cancelImg' : 'cancel.png',
    'buttonText' : 'Buscar',
    'folder' : 'upload/pci',
    'fileDataName' : 'img_file',
    'fileDesc' : 'Imágenes JPG',
    'fileExt' : '*.jpg;*.jpeg',
    'queueID' : 'fileQueue',
    'auto' : true,
    'multi' : true
    });


    The plugin is loaded correctly, but when the page is loaded, the button (both with ID "file" and "fileUploader") turn invisible. Why? Any help??
  • This also happened to me - you have to ensure you have uploaded the browse button, and it's correctly linked in. The browse button is uploadify.swf, and you can link it as below:

    This is working for me:

    $(document).ready(function() {
    $("#uploadify").uploadify({
    'uploader' : 'images/uploadify.swf',
    'cancelImg' : 'images/cancel.png',
    'script' : 'inc/uploadify.php',
    'folder' : '<?=$uploadsdir; ?>',
    'queueID' : 'fileQueue',
    'auto' : true,
    'multi' : true,
    'onComplete' : true,
    'fileDesc' : 'You can upload images and documents',
    'fileExt' : '*.gif;*.png;*.jpg;*.doc;*.bmp;*.docx;*.rtf;*.txt'
    });
    });