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

bulk editor actions on custom galleries cause preview images to display at incorrect dimensions #1169

Open
beatricelucaci opened this issue Jan 28, 2025 · 0 comments
Assignees
Milestone

Comments

@beatricelucaci
Copy link

Describe the bug
When applying bulk editor actions on custom grid galleries, the preview images appear excessively large.
This happens because the image dimensions are being calculated incorrectly based on the grid system.
For normal galleries, images are resized properly (e.g., 1000px to 250px), but for custom grid galleries, the calculation should be based on the number of grid squares (1 square = 125px). Instead, the width is being set to 125px multiplied by the image's original width, resulting in oversized previews.

https://support.wpchill.com/conversation/24207?folder_id=81

@TeoAlex TeoAlex self-assigned this Jan 29, 2025
TeoAlex added a commit that referenced this issue Jan 29, 2025
@TeoAlex TeoAlex added this to the 2.11.12 milestone Jan 29, 2025
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

2 participants