Author Topic: Legends  (Read 4755 times)

0 Members and 1 Guest are viewing this topic.

Offline anwatson

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • I forgot to change the default text.
Legends
« on: December 05, 2002, 06:22:26 »
Just a really small error I have noticed:
The legend icons do not seem to appear on the main page.  
I have done a temp fix by adding symbolic links to the gif files from the main album directory.

Is this normal or just me doing something wrong?

« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Legends
« Reply #1 on: December 05, 2002, 07:15:18 »
It's a bug!

I fixed it in the zip file, just re-download and replace album.pl.

Good catch, thanks!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline anwatson

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • I forgot to change the default text.
Re: Legends
« Reply #2 on: December 05, 2002, 09:09:26 »
Got the new zip file and replaced the album.pl file but problem still exists.

I have this installed on RH72 server
the cgi-bin dir is /var/www/html/cgi-bin
the main photo dir is /var/www/html/album
and the images are in /var/www/html/images

I have set the img_dir variable to ../images (IE the relative path of the url)

when you view this variable through the web configuration manager it shows an error saying this directory does not exist.  if I change the vaiable to ../html/images the configuration display shows ok but when you view the album you get no thumbnails.

I have reset the variable back to ../images and created a symbolic link from /var/www/images to /var/www/html/images.  This then works.  I could have just moved images but I have other stuff that looks for the images directory.  

I am happy with this so unless you can see an easy fix and can be bothered to change it I wont worry.

Great product though!!!!!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Legends
« Reply #3 on: December 05, 2002, 09:42:42 »
Buggy code is bad, so I've taken another crack at it. This time it should at least display correctly in the config screen...

You're right though, ../images is the correct value for img_dir. If the new code doesn't work, I can take a look at your album if you want...

Cheers
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »