Improve photo-uploading flow (Opencart)

Completed Posted 1 year ago Paid on delivery
Completed Paid on delivery

1. To implement the validations while uploading photos:

a. Maximum weight – 3Mb.

If the user tries to upload a photo which weight is bigger than 3Mb – the corresponding error message should be shown.

b. Maximum size – 4000px * 4000px.

If the user tries to upload a photo which size is bigger than 3Mb – the corresponding error message should be shown.

c. Allowed format: jpg, jpeg, png, gif.

If the user tries to upload a photo with another format – the corresponding error message should be shown.

2. If all the validations from p.1 are successful:

a. To resize photos with the same proportion. The resized photo width/height should be less than 2000px.

For instance, the original photo = 3000px*4000px, the resized photo = 1500px * 2000px

b. To compress the resized photo keeping the quality

See how it works there: [login to view URL] – Upload photo – Compress – Auto (keep the quality)

c. Save the resized photo into the folder (not the original one)

3. Rework tool -> image -> resize function:

a. Resized photo should keep the proportion (and width/height cannot be bigger than noted in the inputs).

For instance, the inputs for the thumb are 220*220

-then the original photo = 3000px*4000px should be resized as thumb = 165px * 220px.

-then the original photo = 200px*200px shouldn’t be resized (weight/height both are less than 220px).

b. Resized photo should keep the quality

Credentials:

[login to view URL]

login: [login to view URL](gmail)

password: Phg2N53atny

PHP Open Cart Software Architecture HTML JavaScript

Project ID: #36071581

About the project

4 proposals Remote project Active 1 year ago

Awarded to:

a4logic

Hi, Hope you are well, We have best team in our office, We can give you good work on time, Regards

$120 USD in 2 days
(302 Reviews)
8.2

4 freelancers are bidding on average $115 for this job

grstarosta

⭐⭐⭐Senior Web & Mobile developer⭐⭐⭐ Hello, how are you? I wish you to preserve your health from the threat of COVID 19. I read your job posting and understand your requirements. I am a senior web developer who has a More

$155 USD in 5 days
(5 Reviews)
2.9
BrenoSantanaB

Hello friend. Let me introduce myself, so my name is Breno Santana. I am Software Engineer. I work as Developer since I was 12 yo. And I Am Linux Kernel Specialist, and CyberSecurity Specialist too. 
And I usually work More

$60 USD in 3 days
(0 Reviews)
0.0