Author Topic: Bug in lightbox.  (Read 3840 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Bug in lightbox.
« on: August 30, 2002, 04:18:35 AM »
if u add some images to lightbox and then edit an image and change its location (category) then in lightbox thumbnails will be missing, because it will point to old category id folder for e.x.:
I have 3 images 1.jpg, 2.jpg, 3.jpg all of them in category 'general' with ID '1'.
I move 2.jpg to category 'general2' with ID '2', then when I click on 1.jpg to see it wont show me 2.jpg thumbnail in 'next' link, because the actual link for the thumbnail will point to /thumbnail/1/2.jpg witch is wrong, since 2.jpg already in /thumbnails/2/2.jpg

P.S. I have anabled next image thumbnail in details.php

[edited]
forgot to mention, that thumbnails missing only in 'next/previous' links when u view an image (details.php). in category view everything is fine.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Bug in lightbox.
« Reply #1 on: August 30, 2002, 09:35:31 AM »
You're right, thanks. Please re-download the zip and replace details.php.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search