Title: dk2k2014's Replies | WordPress.org

---

# dk2k2014

  [  ](https://wordpress.org/support/users/dk2k2014/)

 *   [Profile](https://wordpress.org/support/users/dk2k2014/)
 *   [Topics Started](https://wordpress.org/support/users/dk2k2014/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dk2k2014/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dk2k2014/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dk2k2014/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dk2k2014/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dk2k2014/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Grey overlay while viewing any image from a gallery](https://wordpress.org/support/topic/grey-overlay-while-viewing-any-image-from-a-gallery/)
 *  Thread Starter [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/grey-overlay-while-viewing-any-image-from-a-gallery/#post-15940890)
 * Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Grey overlay while viewing any image from a gallery](https://wordpress.org/support/topic/grey-overlay-while-viewing-any-image-from-a-gallery/)
 *  Thread Starter [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/grey-overlay-while-viewing-any-image-from-a-gallery/#post-15938856)
 * This grey overlay is shown over the clicked photo and affects the colours of 
   this photo
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Photo Gallery] Images not showing when clicking in gallery [reopened]](https://wordpress.org/support/topic/images-not-showing-when-clicking-in-gallery-reopened/)
 *  Thread Starter [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/images-not-showing-when-clicking-in-gallery-reopened/#post-15182416)
 * Didn’t notice that this plugin isn’t maintained any longer. Fix is available 
   here [fix](https://github.com/dk2k/resp_gallery_with_lightbox)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Photo Gallery] Images not showing when clicking in gallery](https://wordpress.org/support/topic/images-not-showing-when-clicking-in-gallery/)
 *  [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/images-not-showing-when-clicking-in-gallery/#post-13885389)
 * hi guys,
    I face the same issue. You can see the behaviour described by [@lawestra](https://wordpress.org/support/users/lawestra/)
   here: [http://vosmon.ru/photogallery/](http://vosmon.ru/photogallery/) Just click
   on any gallery and you will see the black screen. Free version as well
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Can’t upload photos; install the PHP-XML module](https://wordpress.org/support/topic/cant-upload-photos-install-the-php-xml-module/)
 *  [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/cant-upload-photos-install-the-php-xml-module/#post-11037954)
 * Guys, I’m facing this issue. Obviously, this error message doesn’t reflect the
   steps to fix it. Please provide the full list of PHP modules needed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Photo Gallery] Is it possible to handle mouse scroll up and down](https://wordpress.org/support/topic/is-it-possible-to-handle-mouse-scroll-up-and-down/)
 *  Thread Starter [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/is-it-possible-to-handle-mouse-scroll-up-and-down/#post-10828071)
 * Guys, I’ve composed a fix and can provide a patch. Will try posting here, but
   indentation will break most likely. Contact me via [dk2k@mail.ru](https://wordpress.org/support/users/dk2k2014/replies/dk2k@mail.ru?output_format=md)
   if you want. Fix can be tested here
 * — D:/user/Documents/responsive-gallery-with-lightbox/lightbox/swipebox/jquery.
   swipebox.js Sat Oct 27 11:30:24 2018
    +++ D:/user/Documents/jquery.swipebox.js
   Mon Oct 29 23:05:23 2018 @@ -52,6 +54,20 @@ return ui; }
 * + // This function checks if the specified event is supported by the browser.
   
   + // Source: [http://perfectionkills.com/detecting-event-support-without-browser-sniffing/](http://perfectionkills.com/detecting-event-support-without-browser-sniffing/)
   + function isEventSupported(eventName) { + var el = document.createElement(‘div’);
   + eventName = ‘on’ + eventName; + var isSupported = (eventName in el); + if (!
   isSupported) { + el.setAttribute(eventName, ‘return;’); + isSupported = typeof
   el[eventName] == ‘function’; + } + el = null; + return isSupported; + } + plugin.
   init = function() {
 *  plugin.settings = $.extend( {}, defaults, options );
    @@ -207,6 +223,7 @@
 *  // Devices can have both touch and keyboard input so always allow key events
   
   $this.keyboard(); + $this.mouse();
 *  $this.animBars();
    $this.resize(); @@ -499,6 +516,34 @@ },
 *  /**
    + * Mouse navigation + */ + mouse : function () { + var wheelEvent = isEventSupported(‘
   mousewheel’) ? ‘mousewheel’ : ‘wheel’; + var $this = this; + $( window ).bind(
   wheelEvent, function( event ) { + event.preventDefault(); + //event.stopPropagation();
   + + var oEvent = event.originalEvent; + var delta = oEvent.deltaY || oEvent.wheelDelta;
   + + // deltaY for wheel event + // wheelData for mousewheel event + + console.
   log(delta); + if (delta > 0) { + // Scrolled up + $this.getNext(); + } else if(
   delta < 0) { + // Scrolled down + $this.getPrev(); + } + + } ); + }, + + /** *
   Navigation events : go to next slide, go to prevous slide and close */ actions:
   function () { @@ -759,6 +804,9 @@ */ destroy : function () { $( window ).unbind(‘
   keyup’ ); + // need to check which event to unbind the same way as having binded
   it + var wheelEvent = isEventSupported(‘mousewheel’) ? ‘mousewheel’ : ‘wheel’;
   + $( window ).unbind( wheelEvent ); $( ‘body’ ).unbind( ‘touchstart’ ); $( ‘body’).
   unbind( ‘touchmove’ ); $( ‘body’ ).unbind( ‘touchend’ );
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsive Photo Gallery] Is it possible to handle mouse scroll up and down](https://wordpress.org/support/topic/is-it-possible-to-handle-mouse-scroll-up-and-down/)
 *  Thread Starter [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/is-it-possible-to-handle-mouse-scroll-up-and-down/#post-10827117)
 * Not fixed in the new version 1.7.1 – in the image view mode scrolling moves the
   position on the page and doesn’t switch to the next or to the previous image

Viewing 7 replies - 1 through 7 (of 7 total)