Skip to content

Aspect ratio of images not constant in table view of a base inside another note #859

@Peptino

Description

@Peptino

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

I made a Wine Cellar Tracker and want to see the images of the labels in the first column of a table view with Bases. I added the image with the image() function.
When the column is narrow, the image is fitted to the witdth of the column. As long as the height of the row is larger than the scaled image everything is fine.

When the height of the image is larger than the height of the row there are 2 different behaviours:

  • in a pure base file the width of the image (and so the aspect ratio) stays constant
  • in another note, where I have integrated the base with ![[basefile.base]] the image got stretched.

Image

With the default theme, the problem doesn't arise. I tested it in the sandbox vault with just "Minimal Theme" installed.

Debug info

SYSTEM INFO:
Obsidian version: v1.9.12
Installer version: v1.9.10
Operating system: Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:30 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6020 24.6.0
Login status: not logged in
Language: en
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: 1
Plugins enabled: 1
1: Minimal Theme Settings v8.1.1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions