Picture viewer only appears on top even in scrolled-down pages
  • If you have a big gallery, in which you have to scroll down to see all the pictures, when you click a picture of the bottom of the gallery, the picture viewer appears at the top of the page instead of at the current position of the viewport, which is very annoying because you have to scroll up again just to watch the picture and after, scroll down to continue browsing, and so forth...

    The effect is even worse in Firefox and Opera because only the top part gets darkened, in Internet Explorer at least all the viewport gets darkened, even if the image is only at the top.

    A possible quick solution to this would be to add pages so you can't scroll down the page. But the best solution would be to make the picture appear at the current viewport position.

    You can see what I'm talking about in my installation of the minishowcase, here:

    http://liliput.mine.nu/fotos
  • thanks mccoy, i missed that. i'll post an update ASAP
  • Haven't had sufficient time to corroborate my findings, but in addition to picture viewer issue I experienced erratic behaviour of the double-clicking of the thumbnails. Worked fine on the default gallery and sometimes an other one(s), then suddenly stopped. After multiple clicks, I received a Windows stack-overflow error. Create thumbnails False does not change a thing.
    Can't tell if its related, but reverted to b76 for the time being.
  • great, i am concerned too by this problem.
    i'm looking forward to the modifications ;-)))
  • great, i am concerned too by this problem.
    i'm looking forward to the modifications ;-)))
  • updated version is online (v08b79)

    if you're still having problems after upgrading to v08b79, please let me know here and include a link to the gallery. it helps since i might be missing something you have on your settings that i don't on my test server.
  • johanv

    could you give me more information on the operative system, browser and server software you're using. also, could you include a link to the online gallery?

    that'll help, thanks.
  • the double-clicking bug on the *galleries* menu has been solved. the behaviour you describe regarding double-clicking of thumbnails i cannot reproduce it, sorry.
  • I did some testing on 2 PCs (both latest XP, latest IE v6) and a Mac OS 10.4.8 / Safari 2.04 on b76 and b79 (redownloaded today) and reproduced the erratic behaviour in all instances, regardless of Create_Thumbnails and permission settings.

    What happens is the following (on all machines):
    Initially all seems to work fine, but switch a couple of times between galleries, click some thumbnails and sooner or later there is a gallery where clicking does no longer work. When this sets in, it affects the whole gallery. Even then loading another gallery might solve it for that gallery, but not for the previous one or again it might to return later. Truely erratic. Reloading minishowcase via the URL (index.php) resets everything, but sooner or later it starts again.

    Some things I noticed:
    -on the PCs, the behaviour starts after a Javascript error in the statusbar below. Once a Javascript error is encountered, it stays an error although the clicking still may or may not work. While the behaviour is the same on the Mac, I have not seen this error. Only reloading the index.php can clear the error.
    -on the PCs, I have encountered "stack overflow at line 0" messages but you can kill the message after which the erratic behaviour continues as before
    -on all machines, reloading the index.php after the behaviour has set in seems to take a lot longer than at the first instance.
    -on all machines, once the behaviour sets in, particularly smaller galleries (6 pics, i.e. size of Venezuela gallery) seem prone to this behaviour

    links:
    b76: www.zero-emissionplatform.eu/GA1photogallery
    b79: www.zero-emissionplatform.eu/minishowcase

    NB1. I don't know my servers SW and settings but can find out if you after testing do think it is relevant
    NB2. The b79 of today looks identical to me as that of 2 days ago. I.e. the enlarged picture it still reproduced at the top only / may require scrolling
    NB3. Not being a specialist, but neither being a computer novice, I suspect some temporary memory or buffer overflow being at the heart of the problem. The long time reload of index.php also point in this direction as far as I can tell.
  • a stack overflow means an array or object is being accessed at an index that does not exist. so this message means i have to check thoroughly my javascript array handling.

    i also know the memory usage of my clumsy javascript is making shit hit the fan all over the place... not good, is it?

    unfortunately, minishowcase is behaving too erraticly to continue being offered. i might shut it down until i can rewrite the ajax engine.

    thanks for the feedback

In this Discussion