sissilab / obsidian-image-toolkit

An Obsidian plugin for viewing an image.
MIT License
309 stars 22 forks source link

Default image size setting #87

Open Fan4Metal opened 1 year ago

Fan4Metal commented 1 year ago

It would be great to have setting for default image size for a viewer, not only fullscreen. For example 1:1, fit screen and so on. Also it would be great to use mouse scrollwheel for image switching.

Great plugin, thanks!

sissilab commented 1 year ago

It would be great to have setting for default image size for a viewer, not only fullscreen.

Sorry, I can't get it clearly about default image size setting. When to show an image in default image size as follows:

  1. click an image?
  2. view an image in a full-screen mode?
  3. all images in a markdown file without specific size?
Fan4Metal commented 1 year ago

Sorry for late reply. I'll try to explain. Every time I click an image it opens with a size of some fraction of obsidian window. And every time I have to scroll a bit to enlarge it to fit it better in a window. I would like to setup this default size (maybe in percentages).

complexmoth commented 5 months ago

I would also appreciate this functionality.

Just to confirm, When i click on an image from obsidian's live preview mode, it shows at size 100%. This can be quite small on my screen, requiring me to manually zoom in (sometimes up to 1000% for long images) to read text in the image. I would like a setting that sets the default behaviour to zoom the image to fill the screen.