Skip to content

Fix inline image collapse when file is not ready#2379

Open
tf wants to merge 1 commit intocodevise:masterfrom
tf:img-collapse
Open

Fix inline image collapse when file is not ready#2379
tf wants to merge 1 commit intocodevise:masterfrom
tf:img-collapse

Conversation

@tf
Copy link
Member

@tf tf commented Mar 20, 2026

Use the file's width to determine whether actual dimensions are available instead of just checking file presence. An unprocessed image file exists but has no dimensions yet, causing the aspect ratio fallback to be skipped and the image to collapse to zero height.

Use the file's width to determine whether actual dimensions are
available instead of just checking file presence. An unprocessed
image file exists but has no dimensions yet, causing the aspect
ratio fallback to be skipped and the image to collapse to zero
height.
@tf tf added this to the v17.2 milestone Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant