teable icon indicating copy to clipboard operation
teable copied to clipboard

[Feature Request] Enhance Image Preview Capabilities in File Preview

Open boris-w opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe.

Currently, the file preview functionality is limited, especially for images. Users often find it frustrating when they cannot zoom, rotate, or drag images within the preview window. This limitation hinders the ability to view images in detail and from different angles, impacting the overall user experience.

Describe the solution you'd like

To enhance the image preview capabilities, the following features should be implemented:

  • Image Zoom: Allow users to zoom in and out on the preview image.
  • Image Rotation: Allow users to rotate the preview image to view it from different angles.
  • Image Dragging: Allow users to drag the image within the preview window to view different parts of the image.

These features will make the file preview more flexible and user-friendly.

boris-w avatar Jul 26 '24 09:07 boris-w

Hi @boris-w,

I'd like to help build this feature.

Just to make sure I'm on the right track, the drag feature would let users click and drag a zoomed-in image so they can see different parts of it. I've attached some screenshots to show what I mean.

Screenshot-1 - Zoom in and zoom out button image

Screenshot-2 - Drag icon to view different parts of the image image

P.S. - These are just rough examples to explain the idea, and the icons are just placeholders.

Does this match what you had in mind? Please let me know if there's anything else I should consider.

Thanks,

Yash Ghugardare

yghugardare avatar Aug 08 '24 17:08 yghugardare

Hi @yghugardare , I’m sorry for not seeing this until now. It's great to hear that you're willing to contribute this feature and share your thoughts about it. You’re right. It would be great if rotation could be added as well.

boris-w avatar Aug 21 '24 04:08 boris-w

Hi @boris-w , Thanks for responding! I'll definitely try to implement this features!

yghugardare avatar Aug 22 '24 15:08 yghugardare