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

Blog: image cropper seems to remove transparency #15782

Closed
kraktus opened this issue Jul 25, 2024 · 0 comments
Closed

Blog: image cropper seems to remove transparency #15782

kraktus opened this issue Jul 25, 2024 · 0 comments

Comments

@kraktus
Copy link
Member

kraktus commented Jul 25, 2024

Exact URL of where the bug happened

https://lichess.org/@/YOUR_USERNAME/blog/new

Steps to reproduce the bug

make a draft, then try to add this picture as title image
display

(This image has transparent padding to make it 1.6 aspect ratio)

What did you expect to happen?

Image with transparent borders uploaded

What happened instead?

Image with black borders uploaded
image

kraktus added a commit to kraktus/lila that referenced this issue Jul 28, 2024
fix lichess-org#15782

There are various bug/issues related to the cropperjs lib with transparency

fengyuanchen/cropperjs#551
fengyuanchen/cropperjs#1072

so had to bypass it and keep the original image.
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

1 participant