Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: PhotoView issue #172

Closed
Mister-Hope opened this issue Feb 28, 2023 · 1 comment
Closed

[Bug]: PhotoView issue #172

Mister-Hope opened this issue Feb 28, 2023 · 1 comment
Labels
问题反馈 反馈问题帮助我们改进 VanBlog

Comments

@Mister-Hope
Copy link
Collaborator

Mister-Hope commented Feb 28, 2023

问题描述 | Describe the bug

Click here in https://blog-demo.mereith.com/post/28

image

You will trigger an preview panel, and it's definitely not expected.

Also the hidden donate image is found as page images.

image

You may need to update photoview selector and limits it to main content of page。

more

Support an extra attribute which allows not collecting an image could be better.

E.g.: vuepress-plugin-photo-swipe and vuepress-plugin-lightgallery both support no-index on image (e.g.: <img src="httpsa://example.com/image.png" no-index />) by setting selector to .theme-default-content :not(a) > img:not(no-index)

@Mister-Hope Mister-Hope added the 问题反馈 反馈问题帮助我们改进 VanBlog label Feb 28, 2023
@Mister-Hope Mister-Hope moved this to Todo in VanBlog Mar 3, 2023
@Mereithhh
Copy link
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
问题反馈 反馈问题帮助我们改进 VanBlog
Projects
Status: Done
Development

No branches or pull requests

2 participants