This module allows the moderator to view the recently uploaded images by the users for their account. The moderator can either approve or disapprove the images based on the site policy. The approved image will be published in the user's account across the site.

Similar project
Avatar Approval

How they're different

1) Avatar approval module generates an md5 hash value for every image uploaded, thereby the images that have already gone through the moderation process will directly show on the user's profile. Since the hash value is tied to the file name, it is inoperative when the file name changes. To avoid this conflict this module sends all the uploaded image for moderation.
2) The workflow doesn't place a temp image while the uploaded image is sent for moderation instead the uploaded image is stored with permanent status and appears on the user's profile when approved from the moderator.
3)The user is intimated about the status of the approval workflow during their login, using the status message, and so when the user's image is disapproved, their current image is retained.

Project Link
User Image Approval

Git Instructions
git clone --branch 8.x-1.x git@git.drupal.org:project/image_approval.git

PAReview checklist
https://pareview.sh/pareview/https-git.drupal.org-project-image_approval...

Comments

prethiee created an issue. See original summary.

prethiee’s picture

Issue summary: View changes
rohitrajputsahab’s picture

Status: Active » Needs work

FILE: .../image_approval/image_approval.links.menu.yml
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
12 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: .../image_approval/image_approval.links.task.yml
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
13 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

rohitrajputsahab’s picture

Flush your cache not all cache.

File name = ImageApprovalOverview.php
line number = 308
drupal_flush_all_caches();

rohitrajputsahab’s picture

Please add composer.json file in module directory.

avpaderno’s picture

Status: Needs work » Closed (duplicate)
Related issues: +#3006223: [D7] Image Approval

We just accept applications from users who don't have the vetted role. Any application created after the role is given is closed as Closed (duplicate) (if a previous application is found) or Closed (won't fix).

The purpose of these applications is not reviewing every project users create, but reviewing a single project created from users who aren't vetted users to make them able to opt into security review coverage for their (past and future) projects.