Set the profile picture program based on user behavior from the uploaded profile picture

Source: Internet
Author: User

After a period of time, 98% of users choose to upload their own photos instead of calling the camera for direct shooting.

Objectives:

1. Review queue

2. The original user system is not affected.

3. Delete irrelevant portraits.


Flowchart: the user uploads the Avatar to the queue. One user has only one queue and the Avatar image is set as the user ID. If a new avatar is uploaded, the original avatar will be overwritten.


Therefore, the number of portraits is a factor of 2. 1. original avatar. 2. New avatar. If the new profile picture is approved, the old profile picture will be overwritten.


Database Design:

1. The original user system has only one profile picture field.

2. The Avatar queue has UID and new user avatar and review status.



Set the profile picture program based on user behavior from the uploaded profile picture

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.