Project page: https://www.drupal.org/sandbox/arshadkhan35/2820351
Description
This module creates a Bulk Image Uploader form that enables you to upload bulk images in a zip file at a specified location inside files directory,It also compress all the image with jpeg Quality factor that provided by user in uploader form. This is great for uploading bulk images with ".jpg" extension and compressing its size.
While this module allows you to directly upload bulk images in a zip file, it is highly advisable to use all images with ".jpg"
extension if you want to compress it size.
Instructions
After you enable this module:
- got to Structure ,navigate to Upload Images and click.
- Add path where you want to upload the zip,This should be a folder inside files directory .
- Add jpeg quality factor ranging from 0 to 100.
- choose zip file containing all images.
- submit,file will be uploaded.
Git clone:
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/arshadkhan35/2820351.git
My Reviewed projects:
Comment | File | Size | Author |
---|---|---|---|
#19 | bulk-image-uploader-error.png | 127.87 KB | shashikant_chauhan |
#19 | bulk-image-uploader-sample-input.png | 77.44 KB | shashikant_chauhan |
#8 | UploadInterface.patch | 529 bytes | deepanker_bhalla |
Comments
Comment #2
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #4
PA robot CreditAttribution: PA robot commentedFixed the git clone URL in the issue summary for non-maintainer users.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #5
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #6
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #7
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #8
deepanker_bhalla CreditAttribution: deepanker_bhalla as a volunteer and at HyTechPro.com commentedHi,
I have tested your module and found out that while the .zip file is uploaded and the form is submitted. The directory is created but the success message coming on the front is "image is not jpg hence not uploaded."
The images are JPG only but after running it is saying that it's not which is also not uploaded. Whereas I can see the folder under my directory.
Suggestion: If the same name zip file is uploaded again then there must be an option to confirm whether to replace or not?
Comment #9
jeetendrakumar CreditAttribution: jeetendrakumar as a volunteer and at HyTechPro.com commented@arshadkhan35
1. pareview.sh gives some errors.
https://pareview.sh/node/1183
2. image_upload.module is empty. you can remove it.
Comment #10
PA robot CreditAttribution: PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #12
ashishdalviHi Arshad Khan,
Automated Review
Minor suggestion from automation review :
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
This review uses the Project Application Review Template.
Comment #13
ashishdalviHi Arshad,
Collect your review bouns to fast forward module review process.
More information : https://www.drupal.org/node/1975228
Thanks
Comment #14
arshadkhan35 CreditAttribution: arshadkhan35 commentedThanks Ashish.Dalvi,
All the suggestion mentioned in #12 has been implement and pushed to repo.
Comment #15
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #16
ashishdalviPlease refer comment #13 for collecting your review bouns.
Comment #17
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #18
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #19
shashikant_chauhan CreditAttribution: shashikant_chauhan as a volunteer and at Iksula commentedHello Arshad,
Kindly fix the below issue.
Manual Review
a) Correct the Spelling for word service
b) Replace deperecated function drupal_unlink.
https://api.drupal.org/api/drupal/core%21includes%21file.inc/function/dr...
c) drupal_set_message is not used as correctly. Use placeholder, don't use direct code in function.
https://api.drupal.org/api/drupal/core%21includes%21file.inc/function/dr...
2. In file bulk_image_upload_and_compressor/image_upload.routing.yml, you have created 2 routs. I checked the code in those files they are showing the same form. Whats the use creating 2 routs for the same form??
3. Getting access denied for URL http://localhost-drupal8/img_content
4. There is no validation is set in the form. see the attached files.
5. In file bulk_image_upload_and_compressor/src/Form/UploadInterface.php
a. replace the deprecated mkdir with
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!File!FileSystem.p...
b. replace the deprecated drupal_realpath with https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21Fi...
c. replace the deprecated drupal_unlink with https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21Fi...
This review uses the Project Application Review Template.
Comment #20
PA robot CreditAttribution: PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #21
arshadkhan35 CreditAttribution: arshadkhan35 commentedComment #22
apaderno