kisstkondoros / gutter-preview

Other
158 stars 37 forks source link

hover img src has not effect in .vue files #7

Closed Moerj closed 7 years ago

Moerj commented 7 years ago

qq20170523-091539

As the picture shows. Img preview on the left is ok. But cursor hover has no preview.

Image preview 0.9.1 OS: macOS Sierra vscode 1.12.2

kisstkondoros commented 7 years ago

Version 0.10.0 is available including the fix for this issue. 🎆

Moerj commented 7 years ago

qq20170612-015326 2x

@kisstkondoros It is not work on 0.10.0 !😰

Moerj commented 7 years ago

qq20170612-020115 2x @kisstkondoros Ok. I add Image suffix. It work. Thanks.

Can it fit suffix automatically?

kisstkondoros commented 7 years ago

Sorry but no, file extension should not be added automatically. In your case the image provider find the image based on the id in the url, if I would try to guess the file extension it would cause unnecessary overload for the target server. In general there could be multiple files with the same name but different extension, therefore it must be uniquely identified.

Moerj commented 7 years ago

I got it. Thanks very much!