Author Topic: latest photo  (Read 2165 times)

0 Members and 1 Guest are viewing this topic.

Offline ps

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 61
  • Karma: +0/-0
  • I forgot to change the default text.
latest photo
« on: December 09, 2003, 19:39:53 »
I don't use the upload feature on my album because i have ftp access so its faster to do it that way, plus my host doesn't have imagemajic installed.

So I was wondering if it is possible to make an option that when you choose show latest photos, it reads the date of the directory and shows a photo from that album.


Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:latest photo
« Reply #1 on: December 10, 2003, 16:20:12 »
It's on the to do list. A quicker way might be to just create a bogus album.log, since that's where the recent upload info comes from...

Offline ps

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 61
  • Karma: +0/-0
  • I forgot to change the default text.
Re:latest photo
« Reply #2 on: December 11, 2003, 21:44:25 »
Cheers mike thats a good idea.

Can you give me the layout of the album.log so i can do that for now.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:latest photo
« Reply #3 on: December 12, 2003, 10:30:31 »
Sure, every upload is on a new line, and these fields are tab delimited:

Date/time
IP Address
Uploader name
Uploaded filename

For example:

Code: [Select]
2003/12/11 02:43:48     192.168.1.1    ps /ps/image.jpg