Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Zooming Images which don't match the hardcoded thumbnail aspect ratio cause problems

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

@zachwise đang làm issue này rồi.

Từ ngày 4/9/2015.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

The autogenerated thumbnails of the zooming images are 313x207 (based on the original sketches)

Some example Zooming Images don't match that aspect ratio, which means that the thumbnail is visible when the image is zoomed:
image

We could probably handle this in part by hiding the thumbnail when the large image is produced, but also, is it problematic to have thumbnails which cut off part of the original image? I'm not sure if the current mechanism for automatically generating the thumbnails can be made to preserve the aspect ratio.

Is there a design rationale for enforcing a common size for all zooming image thumbnails? I'm guessing that people will want flexibility, but if any of this is going to be automated, we need to pin it down. (Alternatively, people can use the media browser to upload both forms of the image and put the URLs in directly...)

Ngôn ngữ chính
HTML
Star
9
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 NUKnightLab/learncms

Tất cả issue của NUKnightLab/learncms

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.