-
-
Notifications
You must be signed in to change notification settings - Fork 215
Description
Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
8.0.4
Describe the bug
The "crop to fit" setting affects external images only. When I localize images, the layout switches to fit full size.
I fixed it with this snippet:
.internal-embed.media-embed.image-embed.is-loaded:not(:has([width])) img {
width: 100% !important;
height: 100% !important;
min-height: 100% !important;
object-fit: var(--image-grid-fit, cover) !important;
}
Debug info
SYSTEM INFO:
Obsidian version: v1.9.12
Installer version: v1.9.12
Operating system: Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 24.6.0
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: Minimal v8.0.4
Snippets enabled: 0
Restricted mode: off
Plugins installed: 2
Plugins enabled: 2
1: Minimal Theme Settings v8.1.1
2: Style Settings v1.0.9
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.