Author Topic: album.php v0.1.32  (Read 18167 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3376
  • Karma: +35/-2
    • Mike's Development Archive
album.php v0.1.32
« on: July 23, 2005, 09:06:10 »
Folks,

album.php v0.1.32 is ready for download! (See attachment to this post.) It's still very rough and has only a few features, but it's a start. The basic features are:

  • Ability to browse directory tree of photos/albums.
  • Automatically created thumbnails via GD (php-gd).
  • Titles/descriptions can be manually entered by creating/editing descriptions.cfg (see format below).
  • Can upload (invoked by index.php?function=upload). Can dynamically increase number of upload slots or upload a zip file of images.
  • index.php?function=versions allows you to check for album.php updates.

Still lots to do as you can see!

Install Instructions

  • Download the attached file and unzip it somewhere under your web root.
  • Edit album.cfg and manually change the values as desired.
  • Note that you may have to create the "metadata" directory and make it writable.
  • Browse to index.php and see if it works!

descriptions.cfg Format

This file is in standard Windows config file format, and should exist in the directory (album) containing the files. For example:

Code: [Select]
[/beachparty/imagename.jpg]
title=Beach Party
description=Our party at the beach

Demo

See the current release in action here! Note that zip file uploads have been disabled here (couldn't find an RPM and didn't want to compile the zip extension.) Also note that because this points to an album.pl album, you will see the images and their thumbs (since album.pl creates them in the same directory, but album.php creates thumbs under the metadata tree.)

Help!

Please post your questions, suggestions or problems here. We're also looking for help, anyone who wants to participate in the documentation, testing or coding, please let me know!


Cheers
Mike
« Last Edit: November 28, 2005, 13:01:32 by Mike Bobbitt »

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: album.php v0.1.32
« Reply #1 on: July 24, 2005, 23:14:59 »
Neat!  :D

The only change I had played with in v0.1.21 was to add a configuration variable for thumb prefix and then use it in thumb.php
Code: [Select]
$thumb_html.=$metadata."/".$thumbprefix.basename($photo);so that I could re-use my old thumbnails after moving them to the "metadata" structure.

If you want me to play with some idea, or try to figure out a piece, let me know.

J.J.

Offline prg

  • album.pl User
  • *
  • Posts: 1
  • Karma: +0/-0
  • I forgot to change the default text
Re: album.php v0.1.32
« Reply #2 on: August 07, 2005, 15:58:46 »
hey guys,

Ok ill just put it straight forward. I have no idea what to do. ??? I know the idea behind album.php and .pl but i just dont understand how it works. I tried the .pl one but nothing worked, the pl makes me think i need active pearl or something and the php just gives me an error:

ERROR!


Fatal error: Could not open album at C:/blah blah blah

There were 2 warnings. Please click here to see them.

The warnings say:

ERROR: File upload directory () is not writable. (See upload_tmp_dir in php.ini)
Warning: ZZIPlib library is not installed. You cannot upload .zip files. (See Extension=php_zip.dll in php.ini)

I know this is the last thing you want, someone who knows nothing! But i did read the instructions. What i have done is, just uploaded the files into a folder in my webspace... I am not sure whether i am meant to have anything else. I did see in the album.cfg =C:\Inetpub\wwwroot\album which i do remember seeing when i had pearl or some other program a while ago (the inetpub wwwroot part of it). Would it be too much to ask if you could tell me exactly what i needed and when to follow the instructions?

So i tried .pl and .php but none work for me, which ever is the easiest i would be most greatful if you could tell me how to do it please? I would like for people to be able to upload photo's so a range of us can share our photo's. I believe this is the program to do it with.

Thanks in advance guys for your help, i hope it wont be to much of a hassle.  8)

Kind Regards,

Pete


Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3376
  • Karma: +35/-2
    • Mike's Development Archive
Re: album.php v0.1.32
« Reply #3 on: August 10, 2005, 06:32:24 »
For album.pl, you do need to have a Perl interpreter on your system. (For Windows, that generally means having ActivePerl installed.)

For album.php, you need to edit album.cfg to set your album directory properly. Looks like it's currently not set to an existing directory. The warnings are about your PHP config, you'd need to edit php.ini and fill out the values cited above... for the zip entry, you also need to install that extension.

There are detailed install instructions for album.pl, which is currently more feature rich than album.php.


Cheers
Mike

Offline rav

  • album.pl User
  • *
  • Posts: 1
  • Karma: +0/-0
Re: album.php v0.1.32
« Reply #4 on: November 27, 2005, 23:08:12 »
Hi Mike,
I'm trying to download album.php but it gives me the error: page can not be found
Can you see what's happening?
Are still working on this album.php?
Thanks

Offline adwiseman

  • album.pl Contributor
  • ***
  • Posts: 53
  • Karma: +3/-0
    • akwiseman
Re: album.php v0.1.32
« Reply #5 on: November 28, 2005, 12:49:11 »
Mike,
It's been awhile sense I've visited.  Excited for a new and improved Album.php.  You PHP demo site does not appear to be working right now.  I'll be setting up the PHP site sometime this week.
I will play with it, but when you get a "stable" version, if you want me to do some robust QA to it, just ask.

Adam Wiseman

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3376
  • Karma: +35/-2
    • Mike's Development Archive
Re: album.php v0.1.32
« Reply #6 on: November 28, 2005, 13:05:48 »
Ok, the zip file and sample site are fixed... since this site is now hosted, there are a few warnings with PHP, but short of compiling my own PHP, there's not much I can do for the time being.

Offline st5150

  • album.pl User
  • *
  • Posts: 18
  • Karma: +0/-0
  • I forgot to change the default text.
Re: album.php v0.1.33
« Reply #7 on: March 20, 2008, 03:10:58 »
Hi Mike and the team.  Just checking up on the status of this project. I'm very impressed with the speed so far!  Is v0.1.33  the latest and greatest?  Any news to report?
« Last Edit: March 20, 2008, 03:18:54 by st5150 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3376
  • Karma: +35/-2
    • Mike's Development Archive
Re: album.php v0.1.32
« Reply #8 on: March 23, 2008, 10:52:49 »
Hi st5150,

Sadly, the only news is that development has pretty much stopped. :( It's a long way from being complete but other priorities sort of took over. There's always a slim chance we'll pick things up again but for now 0.1.33 is the best there is.

Sorry the news isn't better!

Cheers
Mike

Offline st5150

  • album.pl User
  • *
  • Posts: 18
  • Karma: +0/-0
  • I forgot to change the default text.
Re: album.php v0.1.32
« Reply #9 on: March 24, 2008, 20:53:48 »
No worries and I figured as much. You've already  provided a great <free> service to the online community with album.pl  and I thank you for that.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3376
  • Karma: +35/-2
    • Mike's Development Archive
Re: album.php v0.1.32
« Reply #10 on: March 25, 2008, 19:42:42 »
Thanks! I'd love to keep working on it time permitting. If I win the lottery or get fired who knows... If you see an update and I'm happy, you know it was the former... if I'm annoyed it was the latter. ;)