DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-11 05:40:10

ihachi
New member
Registered: 2008-08-11
Posts: 2

Web-based photo album support?

I am looking for features similar to Synology's Photo Station:
http://www.synology.com/enu/products/fe … ation3.php

The closest thing I found is PHP Album (one of the few out there that does not require a database):
http://www.phpalbum.net/

After installing ffp v0.5 and enabling lighttpd with php, I tried to get phpalbum v0.41 to work. So far, the site is up but couldn't do anything with the images (can't display, can't generate preview). So I tried to dig deeper and found the following in the phpinfo() printout, Configure Command section: '--with-gd=shared' '--with-jpeg-dir=/ffp' '--with-png-dir=/ffp'

Some questions:

1. Does anyone know any other web-based photo album software out there which is light-weight enough to run on DNS-323?

2. Does ffp v0.5 come with the GD2 library? If not, do I have to go through the cross-compiling thing and do it myself?
(what is /mnt/HD_a2/ffp/include/php/ext/gd/libgd?)

3. I'm not familiar with lighttpd and PHP. How does PHP get enabled without a proper php.ini file? I saw php.ini-dist and php.ini-recommended under /mnt/HD_a2/ffp/etc/examples but there is none under /mnt/HD_a2/ffp/etc/php.ini

I believe this is a good feature to have. Thanks in advance for your valuable input.

Offline

 

#2 2008-08-11 06:05:48

jrbilodeau
Member
Registered: 2007-11-26
Posts: 47

Re: Web-based photo album support?

Dalbum would be another alternative, i used that one at first, but found it slow to create the thumbnails. then i tried phpalbum, but couldn't seem to get it to work and finally i decided to use gallery which i really like, but it requires mysql, but there is a mysql and php-mysql pacakage.

to answer your other question fonz php package for funplug 0.5 has gd2 enabled, i think you just have to set it extension=gd.so in the php.ini file.

Offline

 

#3 2008-08-11 15:30:41

9re9
New member
Registered: 2008-08-11
Posts: 4

Re: Web-based photo album support?

ihachi, it sounds like you've figured out what's wrong - you haven't configured PHPAlbum to use gd2.  I took a quick look, and didn't see that anyone had ported gd2 to the fun_plug, but I did see that there was a port of ImageMagick, which has similar functionality to GD2, and can be used with other photo albums such as Coppermine.  If it's not already running on your DNS-323, you'll also have to install MySQL.  As for Coppermine being too much to run on your 323, I doubt it.  Just don't have Coppermine process too many photos at once.

Oh, as a general disclaimer: I haven't installed or run Coppermin on my 323.  I wish you luck though.  Let us know how it turns out.

Last edited by 9re9 (2008-08-11 15:31:43)

Offline

 

#4 2008-08-12 18:50:58

ihachi
New member
Registered: 2008-08-11
Posts: 2

Re: Web-based photo album support?

Thanks for the tips. I installed Gallery 1.5 and it seems to be working with ImageMagick packaged by fonz. Gallery 1.x does not require database backend, but still has lots of features. Now I just have to figure out how to use it effectively (i.e. how to organize albums from pre-existing directories full of photos).

Offline

 

#5 2008-08-13 04:19:56

jrbilodeau
Member
Registered: 2007-11-26
Posts: 47

Re: Web-based photo album support?

not sure if gallery 1.x has this feature (gallery 2.2.x does) but there is a plugin to upload from webserver, and when you upload the picture you can check off use symlinks... so it'll create a system link instead of a copy of your pictures. that way you wont have duplicates

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB