-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
gallery.js: Wrong image sizes in attributes #11548
Labels
bug
[triage] something behaving unexpectedly
help wanted
[triage] Ideal issues for contributors to help with
Comments
ErisDS
added
bug
[triage] something behaving unexpectedly
help wanted
[triage] Ideal issues for contributors to help with
labels
Apr 20, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
stale
bot
added
the
stale
[triage] Issues that were closed to to lack of traction
label
Jul 19, 2020
Can some one assign me I can look at this week after next? |
I can and have reopened this. |
sainthkh
added a commit
to sainthkh/Ghost
that referenced
this issue
Sep 14, 2020
issue TryGhost#11548 The cause of the problem was the server resizing images whose width is over 2000px. (core/server/web/api/middleware/normalize-images.js) To solve this problem, I introduced a new function `normalizeImageSizes` under `core/server/lib/mobiledoc.js`. It loops cards and checks if images and galleries have images whose width is over 2000px and normalize them.
kevinansfield
added a commit
to TryGhost/Koenig
that referenced
this issue
Oct 19, 2020
refs TryGhost/Ghost#11548 - use `options.imageOptimization.maxDefaultWidth` to calculate correct width/height for gallery card images when image transformation is enabled and a the image will have been resized to fit the max width - this won't break themes because we already output width/height for gallery images and the aspect ratio stays the same - added code ready for image card width/height but left it commented out for now because adding width/height is a breaking change in themes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
[triage] something behaving unexpectedly
help wanted
[triage] Ideal issues for contributors to help with
Issue Summary
A summary of the issue and the browser/OS environment in which it occurs.
To Reproduce
Technical details:
The text was updated successfully, but these errors were encountered: