Project

General

Profile

Edit Copy Actions

Feature #5321

closed

Feature #5320: Create product UI form

Product Image Upload in frontend

Added by Yalavarthi Thriveni 12 days ago. Updated 6 days ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
11/28/2025
Due date:
12/02/2025
% Done:

100%

Estimated time:
3:00 h
Spent time:

Description

As an Admin/User
I want to upload a product image with a 10MB size limit
So that the product can have a visual representation in listings and detail pages

Acceptance Criteria
AC1: Upload image file (Max 10MB)

User must be able to select an image file from the system.

Allowed types: JPEG, PNG, JPG, WEBP.

File size must be ≤ 10MB.

If file exceeds 10MB → show toaster:
“Image size exceeds 10MB. Please upload a smaller file.”

AC2: Show loader during upload

After clicking “Upload”, a loader/spinner must appear.

Loader disappears only when:

Upload is completed, or

Upload fails.

AC3: Show success & error toast notifications

On success:
“Image uploaded successfully.”

On failure:
“Failed to upload image. Please try again.”

AC4: Show preview after upload

After successful upload, the uploaded image URL must be displayed immediately.

The preview should show:

Thumbnail

Remove/Change option (optional)

AC5: Integrate with product create/edit forms

Image upload function must be integrated in:

Create Product Form

Edit Product Form

Uploaded image URL must be saved in product API payload as imageUrl.


Files

request.png (136 KB) request.png Karthik Palakonda, 12/02/2025 09:59 AM Delete

Add

Subtasks


Add

Related issues

Edit Copy Actions

Also available in: Atom PDF