Use as directory logo


Just downloaded yesterday, works wonderfully but I'm having issues with one gallery and setting an image as the directory logo. I go to the gallery page in setup, pick which one I want as the logo, click save config, but that check box is not setting. In another album, I am able to set one as the directory logo, and can change it, save it refresh, etc.

I renamed the album to have no spaces in the directory name, deleted the cache relating to that folder, and rebuilt the cache with the new directory, but it still won't accept any directory logo except the first alphabetically.

Any ideas? Thanks!

UPDATE: I went directly to the album_####.php file correlating to this album and changed the array on the file I wanted as the directory logo to 'true.' Once I did this, my album picture changed, but when doing it through the form, no dice.

Perhaps your chmod settings

Perhaps your chmod settings for this specific directory? Is it writable?

In my data

In my data directory:

-rw-r--r-- 1 www-data www-data 19085 Aug 18 15:04 album_files_1003.php
-rw-r--r-- 1 www-data www-data 41769 Aug 18 15:06 album_files_1007.php

I can make updates to one album via the setup pages, but not the other, so the folder itself is able to be written to.

error log


I have the same problem: some directories can have a logo set and some cannot. I post the error log:

09/09/05 17:05:08 array_slice() expects parameter 1 to be array, null given
${PATH_TO_PHPALBUM}/main.php (Line:981)

09/09/05 17:05:08 Invalid argument supplied for foreach()
${PATH_TO_PHPALBUM}/main.php (Line:982)

I tried setting various images as the logo and it failed for all of them (however I haven't try all cause there are quite a lot of them).

Hope this helps.


Are the users/owners of the

Are the users/owners of the directories all the same?

I've had also a kind of similar problem and in the end it was caused by a user/owner difference.

Joep Meijer

Using phpAlbum on



somthing for lovers.. and .. nothing for others............

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.