70470 Posts in 6879 Topics - by 687 Members - Latest Member: Laricwashere

Author Topic: Image block on front page  (Read 1048 times)

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Image block on front page
« 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!
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Image block on front page
« Reply #1 on: September 13, 2005, 09:59:10 PM »
*bump*

Just clicked on another image preview...problem still there.
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline The Shoctor

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 5803
  • Karma: 17
  • Steam ID: shadohawk@shadoworks.net
  • XBox Gamer Tag: TheShoctor
  • XFire: shadoworks
Image block on front page
« Reply #2 on: September 13, 2005, 10:11:28 PM »
And I just thought that was a feature.  I never payed it much mind.

Support LAN Play!
ლ(ಠ益ಠლ) "I have more than 20 friends EA!" --FITES.NET
(╯°□°)╯︵ ┻━┻
"Close enough." --UGC League

Offline Pride

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4714
  • Karma: 0
Image block on front page
« Reply #3 on: January 10, 2006, 06:55:39 PM »
damn, how did I miss this?? my bad sully
Insert witty signature here...

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Image block on front page
« Reply #4 on: January 10, 2006, 07:02:31 PM »
Haha...told ya so
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline Pride

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4714
  • Karma: 0
Image block on front page
« Reply #5 on: January 10, 2006, 07:15:56 PM »
Ok, should be fixed.
Insert witty signature here...