-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit number of Files Uploaded #516
Comments
I can't see it if it's available, but I believe this would be a great enhancement. Currently I'm altering my $fields (Logo) array to contain 'ajax' => 'true', 'multiple' => 'true'. It would be great if we could have one more as 'limit' => '4' (or some number) |
+1 I could also integrate this info field editor very easily if core handled it |
Yeah this could be good to have. |
Hi Mike, |
Hi Mike and Myles, Hi, is there something we can hope for? |
@mikejolley getting a lot of requests for this, any status update on if this will be added to core? Thanks |
@tripflex How would you think this needs handling? I think the multi-upload script has a setting for it, but we'd need to pass the max limit to it somehow. |
Semi/temp solution for this:
|
If the limit is set to 5, why not just create 5 boxes of image uploader? Each box can only be filled with 1 image. The upload method can by selecting an image or drag and drop |
Is this feature possible? |
Does anyone know if this is coming anytime soon? Would be a fantastic feature! |
Guys, Where i imput that code: jQuery(function() { Please, update the plugin with the limit option, that causing a lot of problems for me. Thanks for all! Rafael |
@mikejolley @tripflex , Hey guys, is this something you're still looking in to doing? Any ideas if how we can get this off the ground? Will this be supported in future updates if we can get this up and running. best wishes |
+1 2672102-t |
Hey guys, this is a very importan point. What is the current status of that implementation? How can I use the code, which is commented above? Please help! Please!!! :D |
@bbostan I agree, this is an important feature. Unfortunately I've not been getting any feedback on it's status and I've resulted in manually limiting the amount of images that are uploaded. Far from perfect. |
@jammin138 can you maybe help me to limit the amount of images manually? (My E-Mail is [email protected] ... ) |
@bbostan I quite literally have to check new submitted listings as they're uploaded. Not ideal, but it works. It allows me to offer customers with free listings a restricted amount of images and paid user unlimited images. |
@jonathandezoete Hey Jonathan, where do we have to input the commented code for your solution? A lot of people are asking for that ... 👍 |
You can output it anywhere on the page where the upload fields are showing! |
@mikejolley Is it not time to implement this feature? |
I managed to get the code working that @jonathandezoete kindly supplied. I'm using "WP Job Manager Field Editor" with my website and put that code into the job "description" field itself. The issue I'm having is if a user uploads one image at a time it works fine, but the user selects multiple images to upload the code doesn't work. I don't suppose anyone has a fix for this? bw, |
@jammin138 Can you maybe expain how exactly you put the code in to the descripton field? Do you really mean it like the picture. I can't believe that this will work ... |
@bbostan you have to surround the code with script tags:
my genius mate @mikezs helped me |
hi guys, if you got this feature working with WP Job Manager - Fields On Mon, Jul 4, 2016 at 4:12 AM, jammin138 [email protected] wrote:
Sent by, Contact Number: +6017 788 6632 (MR. ALVIN GAN) PREMIER COMPANY ADVERTISING, WEBSITE DESIGN, E-COMMERCE, PLATFORM |
Guys, this feature is very important for everbody. Is not just on Image Gallery, this option need to be able on all fields like category or tags. We are waiting. |
Tags |
@brasilh This is a picture of it setup on my website. Like I've said the issue I have is if the user tries to upload more then one image at a time the code doesn't work. It only works when a use uploads each image individually. Ideally I think something should be set up so that users can upload a limited amount of images for free and if they pay for a more "premium" account they then get more images... |
Yes, I had first uploaded one by one very fast, now one by one until is fully uploaded, and no difference. |
Oh god one years i really want to cry |
It's on the way to be included with the next release of Field Editor plugin, hopefully getting it out this week (plan is for tomorrow) |
Sorry about the stupid question, do we need to call Jquery somewhere else? On Mon, Jul 4, 2016 at 10:43 AM, jammin138 [email protected] wrote:
|
@tripflex I'm going to give you a virtual high five when this comes out! Great work |
jQuery slice may solve this problem with a client-side parse
|
Hi, nobody find a solution ? |
@tripflex It's up running perfectly! Thanks for adding this feature, great work. |
Hey sorry guys forgot to post on here, the latest update 1.5.0 includes this new feature, plus enhancements I made to it. Initial check is done on frontend using JavaScript/jQuery for maximum images, both for ajax and non-ajax uploads. Once the user submits the listing, it is also checked via PHP to make sure nobody works their way around the frontend JavaScript. If the field doesn't have a custom description, it will also now show the max files allowed next to max filesize Here's the changelog for latest: |
Hi, I would like to output the images as a modal image gallery (with lightbox). Is anyone here achieved such functionality with custom code or have heard of such plugin? Where should I start? |
@DomMTL just noticed your reply when reviewing this, the latest version of field editor now includes a new output as "WordPress Image Gallery" which will output thumbnails and then open then in a lightbox when clicked. |
Is there any option to limit the number of files that are allowed to be uploaded depends on the Job Package?
The text was updated successfully, but these errors were encountered: