Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Display Thumbnails for Images, Files, and Videos in Mail Attachments . #1984

Open
ashishkumar-webkul opened this issue Jan 20, 2025 · 0 comments
Assignees

Comments

@ashishkumar-webkul
Copy link
Collaborator

ashishkumar-webkul commented Jan 20, 2025

Title

Enhancement: Display Thumbnails for Images, Files, and Videos in Mail Attachments

Issue Description

Currently, mail attachments are listed without visual previews. To improve the user experience, thumbnails for images, files, and videos should be displayed in the attachments section of emails. This enhancement would provide users with a quick preview of the content, making the interface more intuitive and visually appealing.

Feature Request Details

  1. Images: Display thumbnails for image attachments (e.g., JPEG, PNG, GIF).
  2. Videos: Display video thumbnails (e.g., MP4, AVI) as a static image or an animated preview (if feasible).
  3. Files: Display icons or small previews for supported file formats (e.g., PDF, Word, Excel).
  4. Fallback: Show a generic icon for unsupported or unknown file types.
  5. Light/Dark Mode: Ensure thumbnails are appropriately styled for both themes.

Benefits

  • Enhances the visual appeal and usability of the mail attachments section.
  • Allows users to identify attachments quickly without needing to download them.
  • Improves productivity by reducing the need for unnecessary file openings.

Preconditions

  1. Admin must be logged in.
  2. Mail configurations must be done.
  3. Emails with various attachment types (images, videos, files) should be available for testing. ### **Steps for

Acceptance Criteria

  • Thumbnails for images, files, and videos are displayed in the mail attachments section.
  • Thumbnails adapt seamlessly to different screen sizes and light/dark themes.
  • Unsupported file types display a suitable fallback icon.
  • Performance impact of thumbnail generation is minimal.

Steps to Reproduce

  1. Go to Admin -> Mails -> Inbox -> Check Mail with Attachment.
  2. Now see that there we can see Pin Icon is appearing.

Screenshot

https://prnt.sc/SW-BcLhq537r
https://prnt.sc/LGuksNEtS3t1

@ashishkumar-webkul ashishkumar-webkul changed the title Enhancement: Display Thumbnails for Images, Files, and Videos for Better UI . Enhancement: Display Thumbnails for Images, Files, and Videos in Mail Attachments . Jan 20, 2025
shivendra-webkul added a commit to shivendra-webkul/laravel-crm that referenced this issue Jan 22, 2025
shivendra-webkul added a commit to shivendra-webkul/laravel-crm that referenced this issue Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants