Page 1 of 2

Picture or image server

Posted: 19 Oct 2007, 04:54
by Kristian Karl
Hi,

I would like my Bubba to host pictures and images, like Gallery2. But since the hardware requirements are a bit to much for sweet Bubba, I was wondering if I could get some tips.

Is Apache::Gallery [http://apachegallery.dk/] an option? It requires Imlib2 dev, but when I do:
bubba:~# apt-get install libimlib2-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libimlib2-dev
So that may be a dead end as well...

Any suggestions?

/Kristian

Posted: 19 Oct 2007, 05:29
by tor
Hi Kristian,

I would recomend running spgm,http://spgm.sourceforge.net/?lg=us which is a very minimalistic gallery application that still works nicely.

This is also discussed in this thread http://excito.org/forum/viewtopic.php?t ... light=spgm (Maybe time for a howto on setting it up )

/Tor

Posted: 20 Oct 2007, 08:24
by Kristian Karl
Yeah, SPGM was really nice, and it's fast as well. Really good!

Remember though to create the thumbnails on another machine than bubba, since that can be a time consuming affair.

Thanx for the tip!

Posted: 26 Oct 2007, 15:58
by JohanJ
tor wrote:Hi Kristian,

I would recomend running spgm,http://spgm.sourceforge.net/?lg=us which is a very minimalistic gallery application that still works nicely.

This is also discussed in this thread http://excito.org/forum/viewtopic.php?t ... light=spgm (Maybe time for a howto on setting it up )

/Tor
Can someone with the knowledge set up a guide how to install SPGM please.

Posted: 26 Oct 2007, 21:02
by Jocke
tor wrote: (Maybe time for a howto on setting it up )

/Tor
Yes that would be really nice with a howto

Posted: 30 Oct 2007, 02:24
by JohanJ
is there no one who fells to put together a how to to all noobs ?

:oops:

Posted: 05 Nov 2007, 13:02
by JohanJ
Jocke wrote:
tor wrote: (Maybe time for a howto on setting it up )

/Tor
Yes that would be really nice with a howto
no one ? :roll:

Posted: 06 Nov 2007, 16:38
by tor
Ok,

I have started a short howto on installing spgm. Can be found here: http://excito.org/forum/viewtopic.php?t=781

/Tor

Thumbnails

Posted: 07 Nov 2007, 09:39
by Kramer
Hi

Does anybody know good program that auto generats thumbnails and name them _thb_picname.jpg when placed in i the photodir?

This to be able to just place the photos in the right dir and then everything is automaticly generated.

I saw the HOWTO for SPGM looks like a nice program.
Is it possible to change to photo dir to /storage/pictures so I dont have to have 2 versions of the photos one for web and one for my PS3.

/Kramer

Posted: 07 Nov 2007, 11:55
by msx
http://www.imagemagick.org comes with some command line programs to edit photos, i've used it some time ago, can also apply many effects and such

Posted: 21 Nov 2007, 09:33
by tor
Hi,

I have added a small package that provides thumbnail capabilities, jpg only, to use on Bubba.

Install the epeg0-bin package to get it.

To use it. Log into bubba in a shell and change into the directory you want to build thumbnails in. Issue

Code: Select all

mkjpegthumb
and it should build thumbnails of any jpeg found in that directory.

This package is a _lot_ more efficient than imagemagick, which can take minutes to rescale an image, but has the drawback in that it only work on jpegs.

/Tor

Posted: 21 Nov 2007, 11:16
by Kramer
Hi

Thanks for the reply. One question. Does that command goes down through Dirs.

ex if I run it in /photo will it go through /photo/jan/ and /photo/jan/party

/Kramer

Posted: 21 Nov 2007, 12:17
by John W
Kramer wrote:Hi

Thanks for the reply. One question. Does that command goes down through Dirs.

ex if I run it in /photo will it go through /photo/jan/ and /photo/jan/party

/Kramer
If you add -R it will.

Posted: 21 Nov 2007, 14:17
by Kramer
Thanks

Will check it out.

/kramer

Posted: 06 Dec 2007, 11:16
by dengamle
This looks great!

Until now I've sort of put this thumbnail-generation/photo-export-to-bubba issue on hold for my home gallery (because I've been more into looking at the GeoCoding-side of my photos :D), but I'll definitely have a look at the epeg0-bin package sometime in the future.

Thank you for great support Tor!

It would be great if I didn't have to think too hard about adding new image galleries/photo folders to bubba (i.e. not having to manually generate photos in different sizes on my pc before exporting to bubba), and this might be the solution.

Best regards

Den Gamle.