Log in | Register | Lost password

Bottom
Something wrong with the gallery-block
  • Posted: 06.09.2003, 01:01
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Looks like there is something wrong with the gallery-block that shows a thumbnail of a picture in the gallery. When I enable this block, my stats count every page view as two page views. If I disable the block everything is normal.

    What is wrong?
  • Posted: 09.09.2003, 16:34
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Images are display by running a PostNuke module (Photoshare) function - which is the same as viewing a page. So first you view the actual page - that counts for one - then the image is loaded - which counts for the second.

    The problem gets bigger for thumbnails overview - if you have N thumbnails you will get N+1 pagehits registered.
  • Posted: 09.09.2003, 20:15
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Is there any way of fixing this?
  • Posted: 09.09.2003, 20:33
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    No, not the way Photoshare is build. That would require a complete rewrite of the Photoshare core - supposing I could figure out a way to do access control without starting up PostNuke.

    Or perhaps it is possible to make the page counter ignore certain calls - I may research a bit into this.

Template courtesy of Designs By Darren.