Frag Infinity Tournament, Inc. - FITES LAN Party - www.fites.net

LAN Party Forums => FITES Feedback => Started by: sully! on August 23, 2005, 10:59:44 PM

Title: Image block on front page
Post by: sully! on August 23, 2005, 10:59:44 PM
I've noticed that the image block on the front page is not linking to the correct photo that it is previewing.

For example, right now it is showing me http://www.fites.net/modules.php?name=coppermine&file=displayimage&album=12&pos=47 as the preview image, but the link that's attached to it is http://www.fites.net/modules.php?name=coppermine&file=displayimage&album=12&pos=483

Notice that the last element of the URL is different (the "pos=###" part that indicates which image in the album to display). It seems to be generating a random number for the image number and when clicking on it, it will default to the last image in the album. I tried manually changing that number to any number higher than the number of pictures in the album and it always goes to the last image in the album.

In theory, it may at some time generate a random number less than the number of images in the album and therefore not default to the last image in the album, but still not the correct image.

Sounds like it's time to dig into the code and yank that randomness out!
Title: Image block on front page
Post by: sully! on September 13, 2005, 09:59:10 PM
*bump*

Just clicked on another image preview...problem still there.
Title: Image block on front page
Post by: The Shoctor on September 13, 2005, 10:11:28 PM
And I just thought that was a feature.  I never payed it much mind.
Title: Image block on front page
Post by: Pride on January 10, 2006, 06:55:39 PM
damn, how did I miss this?? my bad sully
Title: Image block on front page
Post by: sully! on January 10, 2006, 07:02:31 PM
Haha...told ya so (http://www.asturcon3.com/emicons/KOLOBOK/aiwan_smiles/tease.gif)
Title: Image block on front page
Post by: Pride on January 10, 2006, 07:15:56 PM
Ok, should be fixed.