ozntel / oz-image-in-editor-obsidian

This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
339 stars 13 forks source link

Editor mode: invert and resise image does not work together #37

Closed trungng2006 closed 3 years ago

trungng2006 commented 3 years ago

The invert mode work well for preview mode.

For editor mode, when only #invert was used, then it work. ![[Pasted image 20210706170912.png|#invert]] However, when i add size adjustment, the image revert back to normal color (no invert) ![[Pasted image 20210706170912.png|#invert|800]

trungng2006 commented 3 years ago

If i change the #invert and resize position, then invert work, but the image will not resize in both editor and preview mode. ![[Pasted image 20210706170912.png|800|#invert]

ozntel commented 3 years ago

image

It works in Editor. Related to the Preview mode, you need to reach out to Obsidian developers since I am not handling the render process of the Preview mode.