Recently I updated our company-wiki to DokuWiki version: Release 2012-01-25 "Angua" PHP version 5.2.15. The server is an iMac with 10.5.8. Now I notice the following behavior: Pictures, which I "call" with the plugin "gallery" (actual version):
will now be displayed vertically or horizontally compressed, or with "right cursor button" is not displayed only the next picture, but "he" jumps directly for example 5 images further, shortly showing/flashing all pictures up to this fifth. Somewhat later the tab of the browser freezes sometimes.
In between I deleted browser- and wiki-caches and I restarted the web server but the "error" remains. I also reinstalled gallery and I even installed a new dummy dokuwiki with only one page the the gallery call, but the error remains.
The error also occurs on my own computer (10.7.3 Macbook Pro; DokuWiki Release 2012-01-25 "Angua" PHP version 5.3.8), on which a copy of the company-wiki runs.
The phenomenon occurs in both Safari and Firefox.
(Somebody else mentioned that he could confirm this and that additionally pictures are displayed in the wrong series and picture names do not match with pictures)
I can confirm this problem on new installation of Angua + Gallery. The problem occurs on Firefox, Chrome and Opera, with different templates. Lightbox mode is not usable because of this..
Hi, I managed somehow to locate and fix the problem even without understanding of the code :) The problem concerns moves to the next/previous photo by keyboard only. The problem lies in the gallery plugin, specifically in its modification of lightbox script. To fix it, I have put "self._set_cursor();" after lines with self._move(+1);".
In order to fix it also in IE, add self._set_cursor(btn); But don't ask me why :)
Thank you Marek. I also could fix my problem by using your patch. If you ever come to Aachen (Germany), I will spend you a beer:-)
Thanks, I appreciate it, actually its too far from my present target (Berzdorfer_See), but you never know ;)
should be reported at plugin's tracker
The problem is still not solved. I've tried to use Marek's solution and I've added "self._set_cursor(btn);" after "self._move(+1);" (it appears two times in code).
If I press right cursor while displaying image in lightbox mode, it works quite good, usually it jumps properly to next image (not so often but sometimes photo is wrongly displayed as vertical). But try to press left cursor key - everything goes crash just like before trying to fix the problem in code.