Add a default image size setting

Use case or problem

Could we add a default image size setting that users can configure in the Settings? All images uploaded would automatically use the preferred size first. I use Obsidian Publish for publishing study notes and currently have to manually resize every single image I upload daily by modifying each single tag. And modifying the image tag on phone is very hard because there’s a bug between multiple image tags that it’s very hard to make the tag even show up.

Proposed solution

Add a default image size setting in the Settings that users can configure. All uploaded images should automatically use this width (optional) and height (optional) by default.

2 Likes

I want to be able to set the maximum height and width of the picture by default
Right now I’m using css to set it up

.workspace-leaf-content img:not([width]), .workspace-leaf-content audio, .workspace-leaf-content video {
    max-height: 50px;
    /* max-width: 50px; */
}

However, when embedded in the canvas, once edited, it will become the size of the original image, I do not know if anyone has a way