viewerjs
viewerjs copied to clipboard
JavaScript image viewer.
Hi, when we try to load the viewer with 100 or more images, we have noticed - the first image waits for quite a while before being shown. We think...
**Is your feature request related to a problem? Please describe.** 有些需求希望在图片展示后,对其进行一些附加动作,比如在图片指定位置添加标注,需要通过canvas等方式实现,且能够跟随图片的缩放、拖拽一起运动。但是现在.viewer-canvas下只有一个img标签,缩放拖拽只能直接操作它,没法在img标签里插入其他的元素。 **Describe the solution you'd like** 希望能将 `.viewer-canvas > img` 改成`.viewer-canvas > div > img`这样的形式,在img外面包裹一层div,缩放拖拽等操作的对象是这个div。这样就可以在viewed事件之后在div里进行一些元素操作。 **Describe alternatives you've considered** 如果启用这个功能的实际效果不稳定或者可能附带其他潜在问题,可以作为试验性的配置项,默认关闭。
**Is your feature request related to a problem? Please describe.** 目前,显示图片时,图片会比屏幕小一点(目测约90%的屏幕大小)。我希望图片能真正做到全屏。 **Describe the solution you'd like** 增加一个选项,使得图片显示时为100%。
Hello 👋 **Is your feature request related to a problem? Please describe.** Initial transition, when image appear and resized from zero to larger size isn't nice, especially on large screen....
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...
I'm in a situation where it would be really useful to be able to toggle the value of the `slideOnTouch` option. I'd like to be able to do this while...
1.当只有单个图片时,在手机里平移图片,很容易移除屏幕外,体验不是那么好。有多个图片时,就容易产生翻页。 2.另外,双击某个图片位置,并不是以双击的那个位置作为放大中心,而是整个图片的中心。 建议可以优化一下使用,谢谢。
**Is your feature request related to a problem? Please describe.** the plugin is somewhat slow when navigate big images. **Describe the solution you'd like** If plugin preloads the next image,...
Double-clicking (with toggleOnDblclick true) does not reset the image. It returns it to the default zoom, but does not recenter the image. In some cases it could disappear offscreen. Double-clicking...