install seems ok but strange results

fly.cub

Joined: 2005-03-31
Posts: 30
Posted: Sun, 2005-04-10 21:59

EDIT : I may have found the problem. All my picture files are 'jpg', but supported MIME types list doesnt contain 'jpg' (it has jpeg, gif, png, etc.).
If that's the problem, how do I add 'jpg' to the MIME type list ?

I've been playing with G1 for the past 2 weeks and did a lot of customization ( http://72.9.244.74/~severyn/gallery ) but got stuck on the square thumbnails trick.
So I decided to do the bigger jump to G2.
The installation script is very elegant. Really liked it.
I got an all systems go, green light on everything. Even on G1 import.

The strange thing is : there are no thumbnails, anywhere (but one).
I don't even see photos in the slideshows. Another weird thing is when I use the menu 'rearrange items' it displays tiny "thumbs" -- 3 px wide maybe ?? I've also come accross very small thumbs that are very narrow...

my G2 : http://72.9.244.74/~severyn/gallery2/main.php

Can somebody give me some pointers as to where to look for the solution ?

FYI : I've activated ImageMagick -- and it's already installed on my host servers.

Once I get this issue figured out, I'll start to customize my G2 in the same manner as my G1 (I'll probably need some help...).

Thanks !

BTW :
In Admin Modules, only ImageMagick is installed.
In Settings :
Directory to ImageMagick binaries : /usr/local/bin/
Test results : all passed.
IM version : 6.1.7
All files are jpg.

----

Gallery URL (optional):http://72.9.244.74/~severyn/gallery2/main.php
Gallery version: G2 beta 1
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):
[/][=cyan]

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-11 00:46

jpg and jpeg are the same mime type.
odd that your resized images appear to be created just fine, but the thumbnails are not.. do "edit album"/Album tab on an album and make sure a reasonable thumbnail size is set, and check "rebuild thumbnails".. does this help? if not i first suggest upgrading.. either to a current nightly build or beta-2 which is coming out very soon.

 
fly.cub

Joined: 2005-03-31
Posts: 30
Posted: Mon, 2005-04-11 09:40

OK I don't know what's going on :
- I've checked the size of my thumbnail settings and rebuilt the thumbnails : nothing happened...
- Since most of the existing albums were imported from G1, I created an new album from scratch (called test album). The results are better but there are a couple of strange things :
1. the highlight thumb has a very odd shape -- narrow and vertical.
2. the square thumbs have a very poor quality

 
fly.cub

Joined: 2005-03-31
Posts: 30
Posted: Tue, 2005-04-12 17:12

Here's an update to my problems :

1. Finally decided to get the latest build so I tried CVS, but I'm new to this so I didn't really know what to do... In the end, I ftp-ed the latest build straight on my host's server. The upgrade process is very neat.

2. Things are weider now :
- the site runs with no style sheet at all : doesn't matter which style in choose the menus... my site looks bare.
- the thumbnails issue seems to get better but it's still acting weird. Some thumbnails are of good quality, others are distorted, and other have still that long vertical narrow shape.

All this makes me wonder : can I really use G2 ? I know html and css, I'm fairly new to php but I can get by on simple stuff. I may be under the wrong impression, but it seems the difficulty is in the large number of files that have to be managed, and change on a almost daily basis. Am I wrong in thinking that I can loose my customization work with an update ? Or that one day I can have a working site, but the next day the upgrade will make it not function ?

This is not a critic of the work (not at all!) or the method used to design G2, I'm just a private user who's trying to decide if he can build his private personnalized photo album with G2... Any comments will be appreciated ! Thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-04-12 17:37

when i browse to your gallery, i see the mess. but i see also that it's still "beta 1" and not "the latest build".
perhaps things are very strange on your server. perhaps there are still old layouts /themes cached. don't know.
get the latest version of g2 (it's almost beta 2) from http://galleryupdates.jpmullan.com (the file current.gallery2.tar.gz) install it over your current gallery2 files and run the upgrader (which starts automatically when you browse to your gallery2 after you replaced all files via ftp).

note: if you have the option to not use ftp to transfer the thousands of gallery2 files, use it!! that's very important. and if you have no other choice but transfering these huge amount of files via ftp, check very carefully in the upgrader/installer step "systemcheck step". if all files are present and none modified.

 
fly.cub

Joined: 2005-03-31
Posts: 30
Posted: Tue, 2005-04-12 18:04

thanks for your quick post. I just dowloaded current.gallery2.tar.gz, extracted on my server and ran the upgrader. Apparently all my modules were up to date.
By the way the upgrader didn't run automatically when I browsed to my gallery -- I had to point to the /upgrade directory.

re. your note : I don't know what else beside ftp I could use. I have a CVS client (MacCVSClient X) to download the files on my local machine. But then I don't know how to update my remote machine -- you can guess I'm not familiar with command line interface...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-04-12 18:49

if you use cvs, make sure you take the warnings in the systemcheck step serious.

last try:
go to site admin -> maintenance. clear / delete the caches (db / template) by hitting the two links there.

if that doesn't bring any improvements, delete your gallery and try again.
(empty the database, empty the g2data directory, run the installer)

 
fly.cub

Joined: 2005-03-31
Posts: 30
Posted: Tue, 2005-04-12 19:59

We're making progress. I went for a clean install.

The result is here :
http://72.9.244.74/~severyn/gallery2/main.php

But the thumbnails still don't show...

Aaarghhh.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-04-12 20:43

what about alternatives to imagemagick? already tried deactivating imagemagick and activating the gd or netpbm module?

 
fly.cub

Joined: 2005-03-31
Posts: 30
Posted: Tue, 2005-04-12 21:25

ImageMagick comes installed at my ISP (TotalChoiceHosting.com) and it was working great with G1...
Nonetheless, I deactivated IM and activated Gd.
There's been random activity : some thumbs appeared, others not (that may have to do with refresh/reload time though), but the most bizarre was : some were square and some not.
I went back to the Site Admin to check on the status of Square Thumbs : it was down; so I activated it.
But then, on reload of my album, NONE of the thumbs were square...
All the preceding notes were about the "Bruxelles" album.

I then created another album from scratch ("Californie"). This time everything went right on the first run.

All this is a mistery to me.

Thanks again for your help !