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.). 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. The strange thing is : there are no thumbnails, anywhere (but one). 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 : ---- |
|
Posts: 8601
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.
Posts: 30
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
Posts: 30
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.
Posts: 32509
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.
Posts: 30
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...
Posts: 32509
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)
Posts: 30
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.
Posts: 32509
what about alternatives to imagemagick? already tried deactivating imagemagick and activating the gd or netpbm module?
Posts: 30
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 !