php file are scaned under data directory

I am using the latest version of phpalbum. The php file version, not the installer. When it is configured, there will be automatically generated many .php and .ick files under the data directory. After scanning, these files were cached in the album. They were showed on the homepage of the album.

I am trying to find out the problem. I see these files can be disabled under the "gallery link" of the setup page. But when new photos are uploaded, new .php and .ick files will be generated. I have to disable these new files one by one again. I think these files could not be scaned.

What is the problem?

Thank you.