• I’ve just installed and set up version 1.8.2 of the uploader. After reading the many previous (closed) posts on multiple images, I ended up uploading the new npu.upload.php from http://binbox.io/q3o54#xHeBQEft in order to make multiple uploads go smoothly. Now it works fine EXCEPT, please tell me how to limit the uploads to 3. I don’t know code enough to find where it is in the file.

    The page I’m working on is http://sfwomenartists.org/wp/upload/.

    I’d also like to have the ‘Add Picture’ button disappear after the 3rd upload! Is that possible?

    Finally, where can I change the wording from ‘Add Picture’ to ‘Add another Image’

    And to add to the other feature requests: in the next update, I hope you will eliminate the mile-long numbers appended to the file names, and consider more flexibility in the upload form, e.g. a capcha option!

    https://wordpress.org/plugins/nextgen-public-uploader/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Mortus Eclipse

    (@mortus-eclipse)

    I would have to look into how to disable or hide the “Add picture” button this should be doable by adding some code to the jQuery function that adds the additional fields. What is needed I am not sure however.

    As for changing the text on the “Add picture” button, this is on line 427 for the short code form and line 566 for the widget form. Simply edit the value “Add picture” to what is desired on those lines:

    $strOutput .= "\n</div><br/><input type=\"button\" value=\"Add picture\" id=\"addBtn\">";

    Thread Starter jlevant

    (@jlevant)

    Thanks for responding Mortus

    The first issue is of course the important one! If you figure it out, it would be wonderful!

    As to the changing of the button wording, excuse my stupidity, but on what file do I find this?

    Thread Starter jlevant

    (@jlevant)

    Oops – never mind – I found the file! Still wanting to limit the uploads though – or at least have the button disappear after three….

    brunus

    (@brunus)

    Yes, I’d be really cool if we could limit the number of picture to be uploaded and even more if we could have the whole upload field disappear after the user has sumbitted the pictures, otherwise the feback message gets a bit lost in the page and leaves the user unsure whether the operation has worked or not.

    thanks

    Thread Starter jlevant

    (@jlevant)

    If anyone knows how to do this, I think you’d get a lot of applause….

    Thread Starter jlevant

    (@jlevant)

    While still wanting to limit the number of uploads as above, I now would also like to know how to lengthen the field size for ‘image description’ in the settings page. I am not using it for image description (since there’s only one and there are 3 images possible) but want to use it for general information (uploader’s name and full titles of images). I can’t find the file with the size of the form field. NB: I am looking in npu-upload.php.

    jlevant – I looked at your website, and would like to do the same thing to mine, upload multiple images. I went to http://binbox.io/q3o54#xHeBQEft and saw the npu-upload.php that you referred to. My problem is that I don’t know the procedure for incorporating into my site (where to go, and what to do when I get there).

    I’d be grateful if an “Idiot’s How-To” would be created so that I can follow it and add the code to upload multiple images?

    Thread Starter jlevant

    (@jlevant)

    Sorry, geneboyd – I just followed directions. I’m no geek at all and don’t remember anymore what I did! It looks like Mortus Eclipse above might be able to help you as he/she did me.

    Thanks for the reply jlevant. My problem is that I never could find any directions, or instruction on how/what to do. So I just copied the npu-upload.php code and replaced the original code with it. That changed things up a bit for me in the right direction, but it gave me an error code I didn’t understand. Since I couldn’t figure it out, I just deleted and re-installed the plugin.

    Mortus Eclipse – Can you help me out of this dilema?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘More on multiple image uploads’ is closed to new replies.