Skip to content

Add image zoom feature for image viewer. 添加图片拖动和缩放功能 #1183

Closed

Description

Clear and concise description of the problem

We hope to add a zoom feature to the image viewer to browse the image details. 希望为图片查看器添加一个拖动、通过鼠标滚轮放大和缩小图片功能,以浏览图片细节。

For example, in the following scenario, although you can click on the image to view it, some of the small text in the image is still unclear. 例如以下场景中,虽然能点开图片查看,但是图片的部分微小文字仍然看不清楚。

image
image

Suggested solution

Add a picture dragging, zooming in and out function to the picture viewer. Take the following video for effect example.
具体交互效果类似如下视频

QQ20241027-223433.mp4

Alternative

No response

Additional context

No response

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions