New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Picture or image server

Got problems with Bubba? Then this forum is for you.
Kristian Karl
Posts: 2
Joined: 08 Jan 2007, 12:02

Picture or image server

Post 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
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post 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
Co-founder OpenProducts and Ex Excito Developer
Kristian Karl
Posts: 2
Joined: 08 Jan 2007, 12:02

Post 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!
JohanJ
Posts: 32
Joined: 21 Sep 2007, 09:15

Post 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.
Jocke
Posts: 13
Joined: 05 Jan 2007, 14:09
Location: Lund, Sweden

Post by Jocke »

tor wrote: (Maybe time for a howto on setting it up )

/Tor
Yes that would be really nice with a howto
JohanJ
Posts: 32
Joined: 21 Sep 2007, 09:15

Post by JohanJ »

is there no one who fells to put together a how to to all noobs ?

:oops:
JohanJ
Posts: 32
Joined: 21 Sep 2007, 09:15

Post 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:
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post 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
Co-founder OpenProducts and Ex Excito Developer
Kramer
Posts: 24
Joined: 23 Oct 2007, 17:38

Thumbnails

Post 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
msx
Posts: 106
Joined: 13 Jan 2007, 06:03
Location: Venice
Contact:

Post 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
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post 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
Co-founder OpenProducts and Ex Excito Developer
Kramer
Posts: 24
Joined: 23 Oct 2007, 17:38

Post 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
John W
Posts: 62
Joined: 17 Jan 2007, 11:47

Post 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.
Kramer
Posts: 24
Joined: 23 Oct 2007, 17:38

Post by Kramer »

Thanks

Will check it out.

/kramer
dengamle
Posts: 19
Joined: 05 Jan 2007, 20:14

Post 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.
Locked