Koozali.org: home of the SME Server

Yappa Photo Galary

sidney

Yappa Photo Galary
« on: April 06, 2002, 12:55:50 AM »
Hello,

    I am needing some help getting the Yappa photo galary to work on my SME 5.1.2 server.
I created an ibay called photos and install Yappa in the photo\html ibay
the instruction says to create another album call photos.
In the Ibay is called photos\html\photos

I can not see any photos that I ftp in the photos\html\photos
by trying to veiw them using a browser. www.mydomain/photos
I chmod a+m photos\html\photos I still could not see the .jpg photos.


Is it an permissions problem or
does the Yappa does not support .jpg photos?



Thanks

sidney

Re: Yappa Photo Galary
« Reply #1 on: April 06, 2002, 01:12:08 AM »
I made a type-o in last post.
I chmod a+w /home/e-smith/files/ibays/photos/html/album-sample
I only see an image symbol but not the photo

Ben

Re: Yappa Photo Galary
« Reply #2 on: April 06, 2002, 07:39:44 AM »
i got exactly the same problem, if someone finds out that'd be awesome !

Ben.sidney wrote:
>
> I made a type-o in last post.
> I chmod a+w /home/e-smith/files/ibays/photos/html/album-sample
> I only see an image symbol but not the photo

Ben

Re: Yappa Photo Galary
« Reply #3 on: April 06, 2002, 07:39:44 AM »
i got exactly the same problem, if someone finds out that'd be awesome !

Ben.sidney wrote:
>
> I made a type-o in last post.
> I chmod a+w /home/e-smith/files/ibays/photos/html/album-sample
> I only see an image symbol but not the photo

Michael Smith

Re: Yappa Photo Galary
« Reply #4 on: April 06, 2002, 05:35:57 PM »
After some finagling I got to where I could see the images themselves in their full size, but no thumbnails.  I went so far as to install the latest ImageMagick binaries and tried very hard to put them in the correct directories, but something's obviously broken somewhere.  What I'm gleaning from a forum search is that YAPPA worked in 4.x but is broken in 5.x.

Ben

Re: Yappa Photo Galary
« Reply #5 on: April 08, 2002, 12:10:15 AM »
I came up to the same point, only could see original sized image, but no thumbnails or other formats....

and i tried with GD instead of ImageMagick...apparenty same results as you...

seems like imagemagick and GD do not do their job...?

if anyone can help, that'd be awesome !

Ben.

frits

Re: Yappa Photo Galary
« Reply #6 on: April 08, 2002, 05:17:29 PM »
just wanna follow the toppic

Sean Reynaud

Re: Yappa Photo Galary
« Reply #7 on: April 08, 2002, 09:55:15 PM »
I had the same problems.  The only pictures I could view were the originals, but none of the thumbnails, re-sized pictures.

It seems as if I had a problem with the GD module.  I tried compiling something that can use GD, but it said it could not find it.  From the command line, rpm -q gd showed me that I had 1.8.4-4.

What I ended up doing was installing ImageMagick 5.3.4 (I can recall if there were any dependancies, but I intalled those as required).  I edited gallery/html/config.inc.php to use  magick.  Yappa seemed to work for me since then.  The thumbnails etc get created.

/sean

Sidney

Re: Yappa Photo Galary
« Reply #8 on: April 11, 2002, 12:38:16 AM »
Hey Sean,

  Could you tell me where I can find imagemagick 5.3.4 and other dependancies. Also how to get it to work.

Or if anyone knows of a better way to get an photo gallory
to work on SME 5.1.2


Thanks

Todd Pearsall

Re: Yappa Photo Galary
« Reply #9 on: April 11, 2002, 01:34:12 AM »
>   Could you tell me where I can find imagemagick 5.3.4 and
> other dependancies. Also how to get it to work.
I don't use YPPA, but as for ImageMagick: Get it the RPM(s) from RedHat for RedHat 7.1.

> Or if anyone knows of a better way to get an photo gallory
> to work on SME 5.1.2
Gallery is in use on many SME 5.1.2 boxes and there is a HOW-TO written in the e-smith contributed HOW-TOs section.

Marco Steenbergen

Re: Yappa Photo Galary
« Reply #10 on: April 17, 2002, 02:29:20 PM »
Yappa stopped working after I upgraded PHP. It seems the gd library is screwed.
Installed ImageMagick-5.2.7-2.i386.rpm and now it's all OK.

Dependencies can be checked quickly at:

http://rpmfind.net//linux/RPM/redhat/7.1/i386/ImageMagick-5.2.7-2.i386.html

I found out ImageMagick-5.2.7-2.i386.rpm requires:

libtiff-3.5.5-10.i386.rpm
libjpeg6a-6a-7.i386.rpm
libungif-4.1.0-7.i386.rpm, which requires:
XFree86-libs-4.0.3-5.i386.rpm

and a couple of others which i had already installed.

freetype, bzip2....

Stephen

Re: Yappa Photo Galary
« Reply #11 on: July 08, 2002, 01:37:14 PM »
Hmmm, I tried swapping over to Image Magick but still get the no image symbols. Just to check I'm doing it right here's what I did:
First I followed the how to from the e-smith site and installed Yappa 1.7 onto SME 5.1.2 with the two RPMs as indicated.
That didn't work so then I installed the RPMs indicated in the previous message and changed the variable in the config file from 'gd' to 'magick'.
That didn't work. Then I tried specifying the path to the convert file (as it wasn't there when I looked where it said it was!) it seems to be in a folder called X11R6?
That didn't work either!
Any suggestions?
Cheers
Steve

ActronZS

Re: Yappa Photo Galary
« Reply #12 on: August 25, 2003, 01:55:39 PM »
hi all

i change this:

chgrp -R www /home/e-smith/files/ibays/actronzs/html/yappa/photos *
chown -R www /home/e-smith/files/ibays/actronzs/html/yappa/photos *
chmod 0760 -R /home/e-smith/files/ibays/actronzs/html/yappa/photos *

now it works! :-)

my config.inc.php file:



/*
 * YAPPA, main configuration
 */

$config = array(

/* title of your collection */
"title" => "Actron's photo album",

/* directory where album dirs are stored */
"photo_root" => "/home/e-smith/files/ibays/actronzs/html/yappa/photos",

/* image module: magick, gd */
"image_module" => 'gd',

/* full path to ImageMagick's convert program */
"convert_path" => '/usr/X11R6/bin/convert',

/* thumbnails width and height */
"thumb_width" => 100,
"thumb_height" => 100,

/* thumbnails per row in thumbnails view */
"thumbs_per_row" => 3,

/* total thumbnails rows per page */
"thumbs_rows" => 2,

/* albums per row in homepage */
"albums_per_row" => 4,

/* available sizes */
"resize_options" => array( "640x640", "800x800", "original" ),

/* cache resized images? */
"resize_cache" => true,
"cache_root" => '/home/e-smith/files/ibay/actronzs/html/yappa/photos',

/* jpeg quality for resized images */
"resize_quality" => 60,

/* default size when viewing an image */
"resize_default" => "640x640",

/* news filename */
"news_filename" => "news.html",

/* album info filename */
"info_filename" => "info.txt",

/* image captions filename */
"captions_filename" => "captions.txt",

/* hits counter log filename */
"log_filename" => "hits.log",

/* sort by none, name, mtime */
"sort_by" => "name",
"album_sort_by" => "name",

/* sort order (a)scending or (d)escending, not used when 'sort_by' is 'none' */
"sort_order" => "a",

/* date format used when printing dates, refer to PHP's date format documentation */
"date_format" => "Y/m/d H:i:s",

/* size of the pages navbar in thumbnail mode (must be multiple of 2) */
"navlink_pages" => 10,

);

?>

ActronZS

Re: Yappa Photo Galary
« Reply #13 on: August 25, 2003, 01:56:06 PM »
hi all

i change this:

chgrp -R www /home/e-smith/files/ibays/actronzs/html/yappa/photos *
chown -R www /home/e-smith/files/ibays/actronzs/html/yappa/photos *
chmod 0760 -R /home/e-smith/files/ibays/actronzs/html/yappa/photos *

now it works! :-)

my config.inc.php file:



/*
 * YAPPA, main configuration
 */

$config = array(

/* title of your collection */
"title" => "Actron's photo album",

/* directory where album dirs are stored */
"photo_root" => "/home/e-smith/files/ibays/actronzs/html/yappa/photos",

/* image module: magick, gd */
"image_module" => 'gd',

/* full path to ImageMagick's convert program */
"convert_path" => '/usr/X11R6/bin/convert',

/* thumbnails width and height */
"thumb_width" => 100,
"thumb_height" => 100,

/* thumbnails per row in thumbnails view */
"thumbs_per_row" => 3,

/* total thumbnails rows per page */
"thumbs_rows" => 2,

/* albums per row in homepage */
"albums_per_row" => 4,

/* available sizes */
"resize_options" => array( "640x640", "800x800", "original" ),

/* cache resized images? */
"resize_cache" => true,
"cache_root" => '/home/e-smith/files/ibay/actronzs/html/yappa/photos',

/* jpeg quality for resized images */
"resize_quality" => 60,

/* default size when viewing an image */
"resize_default" => "640x640",

/* news filename */
"news_filename" => "news.html",

/* album info filename */
"info_filename" => "info.txt",

/* image captions filename */
"captions_filename" => "captions.txt",

/* hits counter log filename */
"log_filename" => "hits.log",

/* sort by none, name, mtime */
"sort_by" => "name",
"album_sort_by" => "name",

/* sort order (a)scending or (d)escending, not used when 'sort_by' is 'none' */
"sort_order" => "a",

/* date format used when printing dates, refer to PHP's date format documentation */
"date_format" => "Y/m/d H:i:s",

/* size of the pages navbar in thumbnail mode (must be multiple of 2) */
"navlink_pages" => 10,

);

?>
Ben wrote:
>
> i got exactly the same problem, if someone finds out that'd
> be awesome !
>
> Ben.sidney wrote:
> >
> > I made a type-o in last post.
> > I chmod a+w
> /home/e-smith/files/ibays/photos/html/album-sample
> > I only see an image symbol but not the photo