nicojeske / mousewheel-image-zoom

An Obsidian plugin that enables you to increase/decrease the size of an image by holding down a configurable key (defaults to left alt), hovering over an image in preview mode and scrolling.
MIT License
90 stars 5 forks source link

Unable to resize .jpeg file #22

Closed veniovinco closed 1 year ago

veniovinco commented 1 year ago

The issue occurs since the latest update of this plugin, version 1.0.14

nicojeske commented 1 year ago

Can you give me an example how you included the image in markdown? The plugin does not make a distinction about filetypes and on my local test setup everything seems to be working as expected.

veniovinco commented 1 year ago

![[image1.png]] -> this can be resized ![[image2.jpeg]] -> this cannot be resized ![[image3.jpg]] -> this cannot be resized I am pretty sure that this weird thing happens right after I update the plugin. I would try on another computer later. Can you reproduce this situation btw?

dapaning commented 1 year ago

This also happens to me and I can't resize the image. I returned to 1.0.13 and it works fine

nicojeske commented 1 year ago

I have confirmed that this issue can be replicated in my local environment. The issue should be addressed in the new version (1.0.15).

ku-zhen commented 1 year ago

hello,it does‘t work for the .jpg iamge either

image

ku-zhen commented 1 year ago

hello,it does‘t work for the .jpg iamge either

image

the plugin version 1.0.15 @nicojeske thanks~

ku-zhen commented 1 year ago

hello,it does‘t work for the .jpg iamge either

image

oh, I find it may be because of the image's name! After I changed its name, the plugin works!

nicojeske commented 1 year ago

There was a bug that images in subfolders where not correctly recognized. This should be fixed in 1.0.16 @ku-zhen