Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Manuel Lazo on September 10, 2003, 08:13:11 PM

Title: Photo Gallery
Post by: Manuel Lazo on September 10, 2003, 08:13:11 PM
Has anyone installed Yappa on SME 5.6 or any other photo gallery?? if someone could help me to do this, with a how to or a link??

Thanks
Title: Re: Photo Gallery
Post by: Steve Brock on September 10, 2003, 08:23:54 PM
Gallery works great. there's also a contributed howto on installing it.
http://www.familybrown.org/howtos/gallery-howto.html
Title: Re: Photo Gallery
Post by: Manuel Lazo on September 10, 2003, 09:11:16 PM
I'll try this photo gallery too (looks great). But right now I wanna make Yappa works, because I wanna know why is not working, well, is working, I can see the directories, and the photos on his original size, but I can not see the thumbnails or the rezise options. On the install file, it says that I have to provide the convert path (usually on /usr/local/bin/convert ) but I can not find this file. I try to install the two rpm that some how to recommended, but e-smith says it is allready installed, unless I made a rpm --force, but I don't wanna do that, just because I don't know what could happend!! (Newbie in linux :-(  ).

Has anyone had this trouble (and fixit of course ;)  ). I'll try the other project, but I wanna learn wht yappa is not working at 100%.

Thanks!!
Title: Re: Photo Gallery
Post by: Michael Smith on September 11, 2003, 12:53:54 AM
Tried yappa ... couldn't get it to work ... same symptoms as you had ... gave up & installed Gallery in an ibay.  Smooth sailing; haven't had any problems, even when upgrading Gallery.  I understand your frustration about Yappa, but why bother?
Title: Re: Photo Gallery
Post by: Doug M. on September 11, 2003, 01:10:21 AM
I'll have to second the recommendation of Steve. I use Gallery installed with help from Dan Browns how-to. Once installed updating to newer version of Gallery have been simple.
Title: Re: Photo Gallery
Post by: Manuel Lazo on September 11, 2003, 02:52:10 AM
Thank for all your help!! I allready install gallery. very easy, works at the first time!! and even looks better!! I tried Yappa because was the first photo gallery I saw. O well!! i tried to make it work!! no go. But I'm happy now with gallery!!

Thanks everybody!!
Title: Re: Photo Gallery
Post by: Ray Mitchell on September 11, 2003, 05:53:34 AM
Michael & Doug

I have installed an earlier version of Gallery using Dans howto also, and would like to upgrade
Any special tricks or requirements to upgrade a Gallery install.
Do I just do
rpm -Uvh latestgallery release.rpm

Regs & Thanks
Ray
Title: Re: Photo Gallery
Post by: Terry on September 11, 2003, 06:01:53 AM
Ray, download the newest version and follow their upgarde procedure.  I've used it on a gallery embedded within PostNuke, and 2 galleries in Ibays and it's worked just fine.
In a nut shell, backup current gallery, gunzip new version, untar new version, copy to gallery directory, over writing old files.  Enable configure mode, run setup, disable config, visit the gallery.  The first gallery you go to will present you with an option to upgrade all galleries, do that once and all galleries will be done.
Mine took about 10 minutes to run through the upgrading of the galleries (above and beyond the time it takes to tar all the files for backup).
Easy & Simple, just the way I like it.

Terry
Title: Re: Photo Gallery
Post by: Ray Mitchell on September 11, 2003, 06:05:15 AM
Thanks Terry
I'll give it a go
Ray
Title: Re: Photo Gallery
Post by: Jens Kruuse on September 13, 2003, 04:53:17 AM
And for completeness: I have integrated 4images with a Geeklog installation. I chose 4images over Gallery for the ImageMagick image processing, e.g. auto-generated thumbnails. I think that IM is the best tool for the job. :-)
Title: Re: Photo Gallery
Post by: Per Sørensen on September 14, 2003, 10:30:47 PM
Jens Kruuse wrote:
>
> And for completeness: I have integrated 4images with a
> Geeklog installation. I chose 4images over Gallery for the
> ImageMagick image processing, e.g. auto-generated thumbnails.
> I think that IM is the best tool for the job. :-)

I use ImageMagick in my gallery v. 1.3.4

Per
Title: Re: GALLERY under 6.0 beta3
Post by: Reinhold on September 24, 2003, 02:34:36 AM
Hi Per, Doug M. et al.

I tried to install Gallery into SME 6.03 ... with little success :-/
According to the Gallery Configuration it needs _
(1)_either_ imagemagik
(2) _or_  netpbm with netpbm-progs

The old rpm's from the  HowTo are not available/too old
with heavy rpm-hunting I had to stop as follows:

(1) I come as close as:
rpm -ivh  ImageMagick-5.4.3.11-1.i386.rpm
error: failed dependencies:
    libungif is needed by ImageMagick-5.4.3.11-1
    libdps.so.1   is needed by ImageMagick-5.4.3.11-1
    libdpstk.so.1   is needed by ImageMagick-5.4.3.11-1
    libICE.so.6   is needed by ImageMagick-5.4.3.11-1
    libSM.so.6   is needed by ImageMagick-5.4.3.11-1
    libX11.so.6   is needed by ImageMagick-5.4.3.11-1
    libXext.so.6   is needed by ImageMagick-5.4.3.11-1
    libXt.so.6   is needed by ImageMagick-5.4.3.11-1

(2) with several tries of depdencies for netpbm and netpbm--progs, the closest to working combination seems to be:

rpm -Uvh  netpbm-9.24-6.i386.rpm
Preparing...                ########################################### [100%]
package netpbm-9.24-6 is already installed
-------------------------------------------------------------------------
rpm -Uvh  netpbm-progs-9.24-6.i386.rpm
error: failed dependencies:
    libpng12.so.0   is needed by netpbm-progs-9.24-6
-------------------------------------------------------------------------
... but I cannot find any libpng .rpm that will install.

CAN ANYBODY HELP and point me to a working combination - I'm stuck!

Regards
Reinhold
Title: Re: GALLERY under 6.0 beta3
Post by: Dan Brown on September 24, 2003, 02:43:06 AM
Try the netpbm RPMs that will be in my contribs directory (on your favorite e-smith.org mirror) some time tonight (probably after about 11:00 PM EDT).  They worked just fine on my SME 6.0b3 install.
Title: Re: GALLERY under 6.0 beta3
Post by: Per Sørensen on September 24, 2003, 02:44:18 AM
Reinhold wrote:
>
> Hi Per, Doug M. et al.
>
> I tried to install Gallery into SME 6.03 ... with little
> success :-/
> According to the Gallery Configuration it needs _
> (1)_either_ imagemagik
> (2) _or_  netpbm with netpbm-progs

On the Gallery download page there are som netpbm binaries just for Gallery, so you don't have to install the whole netpbm package.

Per
Title: Re: GALLERY under 6.0 beta3
Post by: Reinhold on September 24, 2003, 03:04:30 AM
Thanks Dan,
Thanks Per
... you guys are faster than superman's speeding bullet .-)

(Dan) I'll have a look in a few hours

(Per) Do you mean:
http://sourceforge.net/project/showfiles.php?group_id=7130
... there are only quite outdated netpbms  date: 2001-04-17 00:00
The only one applicable (methinks):
netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz
will not install.
... or am I wrong at that url ?

Thanks again
Reinhold
Title: Re: GALLERY under 6.0 beta3
Post by: Manuel Lazo on September 24, 2003, 03:27:26 AM
Well, you can try to get the rpm versions of redhat, the one that is close to SME 6.0 beta 3. I did that with SME 5.6, I downloaded from redhat 7.3 the rpm required!!, you can try with redhat 8.0 or 9.0..

Luck!!
Title: Re: GALLERY under 6.0 beta3
Post by: Reinhold on September 24, 2003, 04:16:37 AM
Hi Manuel

Thx for the reply.

* Actually the rpm that "almost" installs _is_ from RedHat 8 Distro...
(look at the version numbers I gave above)

* RedHat 9 versions for netpbm (and especially netpbm-progs) have/had lot's of unmatched dependencies....
(As I said above: I did quite a lot of hunting (or about 12 versions each in combinations .-))

Dan has it working under 6.0 b3 so I'll just have a look at what combi works - ltr...

ANYBODY got ___ImageMagick___ to work in 6.0 b3???
(pls post the rpm filename ... so that I can try and hunt it)
From the description this seems to be the better manipulation app !

Regards
Reinhold
Title: Re: GALLERY under 6.0 beta3
Post by: Per Sørensen on September 24, 2003, 11:08:06 AM
>
> (Per) Do you mean:
> http://sourceforge.net/project/showfiles.php?group_id=7130
> ... there are only quite outdated netpbms  date: 2001-04-17
> 00:00
> The only one applicable (methinks):
> netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz
> will not install.
> ... or am I wrong at that url ?

You just have to unpack to a directory, and then set the path to that directory in the gallery setup

I'm now using Imagemagick and used these RPM's:

ImageMagick-5.4.9-1.i386.rpm
ImageMagick-Magick++-5.4.9-1.i386.rpm
ImageMagick-perl-5.4.9-1.i386.rpm

I'm still using SME 5.6, but try them anyway since 6.0 is still RH 7.3.

Per
Title: Re: GALLERY under 6.0 beta3
Post by: Reinhold on September 24, 2003, 02:36:55 PM
Per

Thanks again for all your patience.
Guess I'm close to giving up here ...

# rpm -Uvh ImageMagick-5.4.9-1.i386.rpm
error: failed dependencies:
        libICE.so.6   is needed by ImageMagick-5.4.9-1
        libSM.so.6   is needed by ImageMagick-5.4.9-1
        libX11.so.6   is needed by ImageMagick-5.4.9-1
        libXext.so.6   is needed by ImageMagick-5.4.9-1
        libXt.so.6   is needed by ImageMagick-5.4.9-1
        libdps.so.1   is needed by ImageMagick-5.4.9-1
        libdpstk.so.1   is needed by ImageMagick-5.4.9-1

...seems quite close to the dependency problems I had before.
OR is this "X11" and "dp.."  stuff only needed for a graphical setup ???
...  and how can I safely circumvent and ignore it ???
HOW COME you do get this installed on an older machine ?
(do you have a development (i.e. compile) environment installed ?)

Regards
Reinhold
Title: Re: GALLERY under 6.0 beta3
Post by: Per Sørensen on September 24, 2003, 02:50:58 PM
> Thanks again for all your patience.
> Guess I'm close to giving up here ...

Too early to give up yet :-)

>
> # rpm -Uvh ImageMagick-5.4.9-1.i386.rpm
> error: failed dependencies:
>         libICE.so.6   is needed by ImageMagick-5.4.9-1
>         libSM.so.6   is needed by ImageMagick-5.4.9-1
>         libX11.so.6   is needed by ImageMagick-5.4.9-1
>         libXext.so.6   is needed by ImageMagick-5.4.9-1
>         libXt.so.6   is needed by ImageMagick-5.4.9-1
>         libdps.so.1   is needed by ImageMagick-5.4.9-1
>         libdpstk.so.1   is needed by ImageMagick-5.4.9-1
>
> ...seems quite close to the dependency problems I had before.
> OR is this "X11" and "dp.."  stuff only needed for a
> graphical setup ???
> ...  and how can I safely circumvent and ignore it ???

I did a search on google on your dependencies, and i think it wants XFree86.
Try these:

XFree86-libs-4.2.0-8.i386.rpm
XFree86-xfs-4.2.0-8.i386.rpm
XFree86-font-utils-4.2.0-8.i386.rpm

I don't know if you need them all

> HOW COME you do get this installed on an older machine ?
> (do you have a development (i.e. compile) environment
> installed ?)

No, but i have the PDF printer installed and Hylafax, and i think the RPM's from there helps.

Give it another try...

Per
>
> Regards
> Reinhold
Title: Re: GALLERY under 6.0 beta3
Post by: Reinhold on September 24, 2003, 07:35:30 PM
Hi Per

 Thanks again for all your patience ... still holds
>> Guess I'm close to giving up here ...
>Too early to give up yet :-)
Nah ... I was close ... but as long as you support me

FIRST: I do have Gallery working under 6.0b3 !
HOORAY! HOW?
- went: http://sourceforge.net/project/showfiles.php?group_id=7130
- grabbed: netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz
...and put this *.tgz into a fresh mkdir /opt/netpbm  
- went to that dir, unzipped, untar'ed
- cd /opt/netpbm
- unzip *
- tar -xf *.tar
...and JUST AS YOU SAID :
USE: the Gallery Setup to point to /opt/netpbm where it is needed.
Obviously the netpbm will not be available systemwide but "who cares" .-)

So what I'm doing right now is inserting those pics a friend wants.-)

Since you confimed my guess, Per, that the needed stuff is from X-Windows,
I have serious doubts whether I'll need ImageMagik .-) - I rather give your pdf printer etc. "an installation try", then go for ImageMagik again!

BTW: Dan ... the contribs directories are still too confusing for me (note: I am with SME for all of a week now .-). Didn't find the right mirror yet .-) ...but will keep looking.

Thanks again guys ...  Gallery is great!!!

Reinhold
Title: Re: GALLERY under 6.0 beta3
Post by: trevor on November 22, 2003, 08:20:51 AM
FYI, for anyone who needs this... I finally got ImageMagick installed -- currently on SME 6.0b3 +updates. These are the rpm's I used:

     |  --> ImageMagick-5.4.9-1.i386.rpm
     |  --> ImageMagick-Magick++-5.4.9-1.i386.rpm
     |  --> ImageMagick-perl-5.4.9-1.i386.rpm
     |  --> XFree86-libs-4.2.1-13.73.3.i386.rpm
     |  --> libtiff-3.5.7-2.i386.rpm

#rpm -Uvh *.rpm

Then test with:
#convert -version

Hope this helps someone else...