question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Images size - beta version

See original GitHub issue

What happened?

With beta version images doesn’t follow the same rule defined by Obsidian to scale image according to its aspect ratio.

In general, if we want to scale the image retaining the ratio we omit the height:

![[image.jpg|200]]

However, dataview seems to not follow this rule. For example:

image1:: ![[Freud.jpg]]

image2:: ![[Nietzsche.jpg|200]]

image3:: ![[Marx.jpg|200]]

image4:: ![[Weimar.jpg|100]]

image image image image

Output in dataview table:

image

Removing image4: image

I didn’t find any “rule” in the behavior of images with defined size.

DQL

TABLE image1, image2, image3, image4
WHERE file.path = this.file.path

JS

No response

Dataview Version

0.5.18

Obsidian Version

0.14.6

OS

MacOS

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
blacksmithgucommented, May 9, 2022

Fixed in upcoming release.

0reactions
mnvwvnmcommented, May 9, 2022

Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Photoshop image size and resolution - Adobe Support
Learn how to work with image size and resolution in Photoshop. Learn about pixel dimensions and printed image resolution.
Read more >
Machine images | Compute Engine Documentation
When an image is created, its storage size in bytes is based on the set of blocks that have been written on the...
Read more >
Generic System Image releases - Android Developers
Android Generic System Images (GSIs) are for app developers to perform app validation and for ... System partition size: GSI + GMS file...
Read more >
Midjourney IMG Resolution Guide: Get the BIGGEST Images ...
Understand the standard image sizes in Midjourney and how to get the biggest, highest resolution exports possible.#ai #midjourney.
Read more >
Optimizing: Images - Next.js beta docs
Size Optimization: Automatically serve correctly sized images for each device, using modern image formats like WebP and AVIF. Visual Stability: Prevent layout ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found