WordPress.org

Ready to get started?Download WordPress

Forums

Folder Gallery
Thumbnail folders empty. (3 posts)

  1. zx5000
    Member
    Posted 5 months ago #

    I'm having trouble with creating galleries. It creates the cache folders but they are all empty.

    It's installed on ubuntu 13.04 with Apache2.

    Here are some details
    Top level Folder permissions

    drwxrwxrwx 3 jpowell jpowell 4096 Nov  4 10:43 Marino
    
    jpowell@ipstulsa-lnx3:~/www/gallery/photos$ ls -l Misc
    total 47844
    
    drwxr-xr-x 2 www-data www-data    4096 Nov  4 10:31 cache_160x0
    -rwxrwxrwx 1 jpowell  jpowell   311409 Nov  4 10:11 Cat-Corrine-on-the-kitchen-floor.jpg
    -rwxrwxrwx 1 jpowell  jpowell  2675674 Nov  4 10:11 Company-1.jpg
    -rwxrwxrwx 1 jpowell  jpowell  5201603 Nov  4 10:11 Company-2.jpg
    -rwxrwxrwx 1 jpowell  jpowell  5297027 Nov  4 10:11 Company-3.jpg
    -rwxrwxrwx 1 jpowell  jpowell  6280672 Nov  4 10:11 General-Store.jpg
    -rwxrwxrwx 1 jpowell  jpowell   701765 Nov  4 10:11 Greenhouse-2.jpg
    -rwxrwxrwx 1 jpowell  jpowell   433158 Nov  4 10:11 Greenhouse-Not-Marino.jpg
    -rwxrwxrwx 1 jpowell  jpowell   913028 Nov  4 10:11 Kodachrome-Greenhouse.jpg
    -rwxrwxrwx 1 jpowell  jpowell   370905 Nov  4 10:11 Nice-Old-Car.jpg
    -rwxrwxrwx 1 jpowell  jpowell  1309666 Nov  4 10:11 Presidential-Motorcade.jpg
    -rwxrwxrwx 1 jpowell  jpowell  2309864 Nov  4 10:11 Savanna-Sabula-Bridge-Sabula-Iowa.jpg
    -rwxrwxrwx 1 jpowell  jpowell  2173982 Nov  4 10:11 Scene-Between-Sabula-and-Maquoketa-Iowa.jpg
    -rwxrwxrwx 1 jpowell  jpowell    45957 Nov  4 10:11 Scenic-1.jpg
    -rwxrwxrwx 1 jpowell  jpowell  2280814 Nov  4 10:11 Scenic-2.jpg
    -rwxrwxrwx 1 jpowell  jpowell  2577585 Nov  4 10:11 Scenic-3.jpg
    -rwxrwxrwx 1 jpowell  jpowell  3378763 Nov  4 10:11 Scenic-4.jpg
    -rwxrwxrwx 1 jpowell  jpowell  2721557 Nov  4 10:11 Scenic-5.jpg
    -rwxrwxrwx 1 jpowell  jpowell  1771628 Nov  4 10:11 Steen-Hollow-Route-67-Sabula-Iowa.jpg
    -rwxrwxrwx 1 jpowell  jpowell   920063 Nov  4 10:11 Unknown-Girl.jpg
    -rwxrwxrwx 1 jpowell  jpowell  5820756 Nov  4 10:11 Unknown-Man.jpg
    -rwxrwxrwx 1 jpowell  jpowell    94258 Nov  4 10:11 Unknown-Woman.jpg
    -rwxrwxrwx 1 jpowell  jpowell  1354011 Nov  4 10:11 Victorian-Lady-2.jpg
    
    jpowell@ipstulsa-lnx3:~/www/gallery/photos$ ls -l Misc/cache_160x0/
    total 0

    http://wordpress.org/plugins/folder-gallery/

  2. zx5000
    Member
    Posted 5 months ago #

    Update: I could manually generate them to get the site up but this is no solution. I would like this to be automatic so I can add/remove/rename photos.

    From each cache_160x0 run this command.

    ls ../*.jpg | sed 's|../||g' | while read file; do sudo convert ../$file -resize 160x-1 $(echo $file | tr A-Z a-z); done

  3. vjalby
    Member
    Plugin Author

    Posted 5 months ago #

    Of course FG generates itself the thumbnails inside the cache_xxxx directory. It doesn't on you system because the cache directories is not writable. I don't know why, but it's on your side. Maybe an Apache config option, or a php.ini one.

    Vincent

Reply

You must log in to post.

About this Plugin

About this Topic