Pillars (Bars) on side do not shrink or expand as photo zooms in and out

Đang mở
#500 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
frontend

Hướng nghiên cứu

The payload names no source file, so start by searching the web display code for the zoom effect and the fill setting. Reproduce with fill off and zoom on, using one landscape and one portrait photo, and compare how the top/bottom bars and the side bars are sized. Done when the side bars shrink and expand with the zoom the same way the top and bottom bars do.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Version

v1.0.29.0

Deployment Method

Web

Description

With zoom effect enabled and the fill setting disabled, when a landscape photo does not fit the frame aspect ratio and bars are added on top and bottom to fill the frame, the bars will shrink as the photo zooms in. Or, put another way, the photo expands to displace the bars as it zooms in. If instead the photo starts out zoomed in and gradually zooms out, the bars will start out small to allow the top and bottom of the photo to show even though the sides are cropped.

However, on a portrait photo, if bars are added on the left and right sides to fill the frame, then the bars are static. As the photo zooms in/out, the photo is cropped to fit within those side bars, even as the photo zooms in and could fill more of the frame.

I would expect the bars on the sides to behave the same as bars added to the top and bottom.

Reproduction
  1. Set ImmichFrame to have fill turned off and zoom effect turned on.
  2. Observe how bars on the top and bottom adjust to maximize how much of the photo is visible.
  3. Observe how bars on left and right are locked and the zooming photo is artificially cropped to fit within those sidebars.
Expectations

Side bars would behave the same as top and bottom bars.

Configuration

Logs

Pre-Submission Checklist
  • This is a bug report and not a feature request

  • I have provided all of the required information to reproduce the bug (config, logs, etc.)

  • I have checked for related issues and checked the documentation

Ngôn ngữ chính
C#
Star
2.4k
Fork
121
Merge trung bình
18 ngày 20 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của immichFrame/ImmichFrame

Tất cả issue của immichFrame/ImmichFrame

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.