viewerjs
viewerjs copied to clipboard
JavaScript image viewer.
**Describe the bug** 图片列表中存在无法显示的图片时,inline模式无法正常运行 **To Reproduce** Steps to reproduce the behavior: 在线demo: https://codepen.io/mirari/pen/yLVrpNd 当前例子为viewer的inline模式正常显示状态。 将脚本12行的异常URL注释取消,即可看到viewer无法正常运行 **Expected behavior** 除了无法显示的图片,viewer应该能够显示。 **Additional context** 发现之前也有几个issue反馈类似问题,但没有提供在线例子。 #325 #344
![qq 20170911063606](https://user-images.githubusercontent.com/15311147/30253629-a4697618-96bb-11e7-85a9-0ec1bc32d933.png) 结合layer制作的效果,源文件viewer.js和.css都有改到。大家可以按图自己参考修改
源码中: var TEMPLATE = ....; -------------------- 所有工具按钮放在一个ul里。像我个人就喜欢把next和prev按钮放在图片两侧。 这样就需要改到源码。很不方便。
**Is your feature request related to a problem? Please describe.** is there any events in playing ? if i click play button, i have a play event at start. but...
From what I've seen in the docs, there doesn't seem to be a way to make the navbar's thumbnails bigger. I'm working on a website that has many users who...
1.图片永远居中,放大后移出显示边界时自动停靠到图片边缘 2.移动超出显示范围一定的比例则切换下一张或上一张 demo 地址: http://jsrun.net/CfNKp/edit
## I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [x] Feature request [ ] Documentation...
when play the image gallary, if could change the image showed curent, through the keyboard pre/next.because i need the img show full screen.
Hi! Thank you for your work, i was wondering about the following: **Is your feature request related to a problem? Please describe.** If I use transition: false, then turns off...