Home Forums Plugin Support WP User Frontend Pro Image gallery file limit not working.

This topic is: not resolved

This topic contains 13 replies, has 2 voices, and was last updated by  Nayem 4 years, 2 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #41168

    Ivan
    Member
    Post count: 6

    Hi,

    I created a form with an image gallery field. In the Max Files option I put 5. However when I try the form Im able to upload more than 5 images.

    Any idea of why this might be happening?

    #41171

    Nayem
    Moderator
    Post count: 6480

    Hello Ivan,

    I have checked in my side with the Image Upload filed and where the maximum number was set as- 5. But everything is working here fine. Please provide a screenshot here.

    Thanks.

    #41287

    Ivan
    Member
    Post count: 6

    1

    2

    As you can see, I can upload 6 or more files without hitting the limit, and in the form the file limit is set to 5.

    This happens in Safari, Chrome and Firefox.

    #41365

    Nayem
    Moderator
    Post count: 6480

    Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

    Thank you ๐Ÿ™‚

    #42227

    Nayem
    Moderator
    Post count: 6480

    I have logged in to your site. You are using the previous version of Wp user fronted pro. Please update your plugin to the latest version which is v2.2.7. If the problem remain after this then please let me know.

    Thanks.

    #43798

    Ivan
    Member
    Post count: 6

    I upgraded and the problem still happens

    #43828

    Nayem
    Moderator
    Post count: 6480

    Hello Ivan,

    Can you please provide your details again?. I will check whats going wrong there. Provide your login details by using this form: http://wedevs.com/provide-login-details/.

    #44053

    Nayem
    Moderator
    Post count: 6480

    Hello Ivan,

    I have checked your site. The problem was with your theme. Please switch to a default theme and you will see that everything will work fine.

    Thanks.

    #44055

    Ivan
    Member
    Post count: 6

    Thanks Nayem,

    Obviously I can't just switch to a default theme. Can't you help us debug the issue with the theme we're developing?

    I didnt see any errors in the firebug console.

    #44057

    Nayem
    Moderator
    Post count: 6480
    This reply has been marked as private.
    #44058

    Ivan
    Member
    Post count: 6

    Nayem,

    I am the developer of the theme.

    Thanks, we'll be looking for another plugin with more comprehensive support.

    #44061

    Nayem
    Moderator
    Post count: 6480
    This reply has been marked as private.
    #44062

    Ivan
    Member
    Post count: 6

    Nayem,

    Can the problem be because I have two uploaders in the same page?

    I see that this get declared

    jQuery(function($) {
    new WPUF_Uploader(‘wpuf-featured_image-pickfiles', ‘wpuf-featured_image-upload-container', 1, ‘featured_image', ‘jpg,jpeg,gif,png,bmp', 2048);
    });
    in the first one. I assume the “1” is the number of pictures,

    however

    Theres another field

    jQuery(function($) {
    new WPUF_Uploader(‘wpuf-pc_imagegallery-pickfiles', ‘wpuf-pc_imagegallery-upload-container', 15, ‘pc_imagegallery', ‘jpg,jpeg,gif,png,bmp', 2048);
    });

    Allowing for 15 pictures. Maybe the second declaration is overriding the first one? The WPUF_Uploader is not saved to a variable so it might be that. You can pass that info to your developer.

    If you log off and try this registration page “http://publicars.codeandartifice.com/perfil/registrate/” youll be able to see that the image limit works.

    #44143

    Nayem
    Moderator
    Post count: 6480
    This reply has been marked as private.
Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Image gallery file limit not working.’ is closed to new replies.