viewerjs icon indicating copy to clipboard operation
viewerjs copied to clipboard

JavaScript image viewer.

Results 58 viewerjs issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** How to open Image in a new popup window with ViewerJs? **Describe the solution you'd like** Once I click on...

浏览器用Chrome Safair Edge 都是如此情况 **Screenshots** ```js import Viewer from 'viewerjs'; const defaultBaseOption = { navbar: false, title: false, toolbar: { zoomIn: 4, zoomOut: 4, prev: 4, next: 4, reset: 4,...

help wanted
question

We have over 100 images in viewer navbar and it takes time to click one by one to see whats in the end of list. Can we allow Viewer Navbar...

enhancement

**Summary** **What kind of change does this PR introduce?** (check at least one) - [x] Bugfix - [ ] Feature - [ ] Code style update - [ ] Refactor...

**Describe the bug** initViewer初始方法 看图页面 页面 parent 元素偶尔会拿不到 抛异常 **To Reproduce** Steps to reproduce the behavior: 点击数据选中弹出视图框 页面没有其他操作 偶会突然 initViewer 方法里 parent 元素访问报错 **Expected behavior** 正常获取视图parent 元素 **Screenshots** ![微信图片_20240827150138](https://github.com/user-attachments/assets/1eda3509-e456-48a8-b501-8467ebaa1fe7) ![Snipaste_2024-08-27_15-14-53](https://github.com/user-attachments/assets/1ea082ad-917e-4afe-b567-57281ea26d3f)...

initialCoverage=0.9,需要控制图片预览最小缩放为打开图片的初始大小,设置了minZoomRatio这个值,但是在打开图片预览过程中,屏幕缩放的时候不会重新获取这个值,导致最小缩放不正确,不是打开图片时的初始大小。

enhancement

能否支持 隐藏蒙层 的配置呢?项目中现在使用css样式强制覆盖,能实现蒙层消失了,但无法操作原蒙层下的输入框(即输入框不能获得焦点),查看源码猜测是enforceFocus方法导致的。

I have made a better quality toolbar icons (svg). You're welcome to use them. These icons are 200bytes lighter and much more crisp than your embedded ones:) ![toolbar_icons](https://github.com/user-attachments/assets/d896027d-2b7e-41c1-bbec-5117621ab646)