Hi,
I've gotten Fast Gallery up & running.. but it only seems to work properly when I have "Hierarchy" turned off.
I've got two sub-folders in the watched folder:
sites/default/files/images/cards/Birthday
sites/default/files/images/cards/Just For Fun
When I have hierarchy turned off, it displays all the thumbnails just fine. But as soon as I enable it, if I try to view my gallery, it gives me the message "No pictures found. First set your configuration and then make sure to run the Cronjob."
Every time I've changed the hierarchy setting, I've run the cron job, but it makes no difference.
I'm running Drupal 6.4 on PHP 5.2.6.
Any ideas?
Thanks!
Comments
Comment #1
awilder commentedUpdate - the problem seems more related to whether or not Fast Gallery recognizes the images within the folder.
I replaced my "Birthday" and "Just For Fun" folders with three other "test" folders. I also replaced the PNG files I had in those first folders with a few other JPG files. Once I did that, the hierarchy started working fine. Apparently Fast Gallery didn't recognize the PNG files (even though it did recognize them when I had hierarchy disabled).
However, Fast Gallery seems to recognize some but not all of the .jpg files! But when hierarchy is disabled, it shows all of the files as thumbnails.
I can't figure out why this might be the case. All of my images have lower-case extensions... I'm pretty sure it's not just the filename, but it must be something else to do with the file.
Any ideas why it might recognize some images and not others when hierarchy is disabled?
Comment #2
ncy commenteddid you type the path manually? make sure it ends with a '/' slash. that's one possible thing that might cause a Hierarchy problem. do your JPGs have EXIF data in them? there's a comment in the code saying images with no EXIF date won't be shown, and sorting by date is actually the default setting (i haven't been able to duplicate this problem though, all my jpgs with no EXIF data still show ...) can you post or send some of the JPG files that aren't working?
to really clear out the database, you should click on the Clear DB button. that will truncate the database tables. run cron after that and see if the results are any better or different.
-nick
Comment #3
awilder commentedHi Nick,
Thanks for helping me out on this.
I'm not setting the path manually (though I did try that as well)... so that's not the problem.
I just tried adding some EXIF data (through Windows "Title" and "Author" tags) to a couple of pics that aren't working, and that didn't seem to help. It still sees some pics and not others, pretty consistently. One of the pics it wasn't displaying already had camera EXIF data as well.
The weird thing is that it shows ALL pictures when hierarchy is turned off.... It's only when hierarchy is turned on that it gets picky.
Here's something even weirder, and perhaps another clue -- Even if it won't display the images with hierarchy turned on, it will still show one of them as a folder thumbnail!
I've attached one image as an example. This image will display fine when hierarchy is off, or as the thumbnail for the folder when hierarchy is on... But even when it shows that thumbnail, if I click on it to view the folder, I still get the "No pictures found..." error message. (I did run the cronjob as well, of course).
Here's a link to my gallery if that would be helpful. http://www.luxiouslabs.com/fast_gallery
Thanks again!
- Andrew
Comment #4
awilder commentedI just found the other bug report "No pictures found" http://drupal.org/node/314080 which notes the same problem (don't know how I missed that yesterday!).
Changing to "Sort By Name" (instead of by Date) seems to have solved the problem. Guess this is a bug with the "Sort By Date" function with hierarchy turned on?
Comment #5
ncy commentedoh right! i thought this sounded familiar, haha. i can't track down why Sort By Date is working incorrectly. i did post a (what looks to be unrelated) Sort By Date bug here: #314206: Sort by Date Taken Incorrect but i can't see offhand why this would cause a problem with images not showing.
i'm currently working on a complete rewrite of maybe 90% of the code, hopefully fixing many of the noted bugs and some others i've noticed, also adding a few features and removing redundant code. it includes things like setting custom alias path and custom title, more help text, fully-implemented sorting options, displaying image captions and folder labels, customizing teaser length for captions, Lightbox slideshow support.
Comment #6
ncy commentedi made a new (unofficial) version. see if you still get the problem there (if you have time to test it):
#316967: Alternative Version - New Features and Fixed Issues
Comment #7
rapsli commentedcheck out 6.x-3.1-beta1 (http://drupal.org/node/320444)
Comment #8
ncy commentedComment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.