[ SOLVED ]Album 0.9.2 and thumbnail problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Bobonov

[ SOLVED ]Album 0.9.2 and thumbnail problem

Post by Bobonov »

I have some problem with the creation of the thumbnail
I created an account and associated it to the group photo which has only "use album" and "file Manager" permission.
When this user upload photo to the server and associate them to a gallery the thumbnail is not created, nor error message show up even with php.ini setted to print all the messages.

When I try to do it with my admin account, which has all the permissions, it works.
I tried to look at other permissions setting but it does not seem to me that there is something relevant to set.

Since with the admin account I do not have any problem I think is not a problem of permission of the directory.

Any suggestion or there is a problem within album?
****  --> S O L U T I O N <--  ****
I post here the solution so the people find it immediately. If it doesn't work for you check also the rest of the posts.

Basically album to fully works need for the group that manage it also the "Modify Files" permission.
The creation of the thumbnail is demanded to the image manager which became avail to the user only with  "Modify Files" permission.
A note should be added to album help.
Last edited by Bobonov on Thu Oct 11, 2007 11:26 am, edited 1 time in total.
Bobonov

Re: Album 0.9.2 and thumbnail problem

Post by Bobonov »

Did anyone had similar problem with album???
If some one has album installed but use it with admin account, can please do a test with a normal user so at least can confirm this issue or I know there is something wrong with my installation?
alby

Re: Album 0.9.2 and thumbnail problem

Post by alby »

Bobonov wrote: When I try to do it with my admin account, which has all the permissions, it works.
I tried to look at other permissions setting but it does not seem to me that there is something relevant to set.

Since with the admin account I do not have any problem I think is not a problem of permission of the directory.
In order:
1. Folder permission problem
2. umask creation (set 002 or 000 in Global settings)
3. $config['default_upload_permission'] = '664'; in config.php

Alby
Bobonov

Re: Album 0.9.2 and thumbnail problem

Post by Bobonov »

1. Folder permission problem
With account in the admin group no problem therefore is not a folder permission problem

2. umask creation (set 002 or 000 in Global settings)
Already done

3. $config['default_upload_permission'] = '664'; in config.php
it is already at 664

Just to clear better the situation
I have the following group:
Admin --> this group has all the permission on all module, it is the admin!
photo --> this group has only "use album", "use file manager" and "advanced use of the file manager"
I created a new user "photouser" and assigend it to the group "photo"
When this user upload a photo, either with the filemanager or using directly album, the upload goes fine.
Afterwards using album and this user I associate the photo to an album.
No thumb is created.
If I assign "photouser" to the admin group the thumbnails are created without problem, even the thumbnails of photo associated in previous steps are created as soon as I go (using album) to the folder in the upload photo section.

I made also another test, 2 different browser so I can do 2 independent access with 2 different user.
First user in admin group, second user in photo group
The user in photo group upload a phot and associate it to an album, no thumbnails created
The use in admin group goes to the photo folder using album and without doing any other action, beside entering the folder, cause the creation of all the missing thumbnails for this folder.

I think album relay on some other permission that using album to create  the thumbnails.

I hope I was clear enough.
Bobonov

Re: [ SOLVED ]Album 0.9.2 and thumbnail problem

Post by Bobonov »

Look at the top topic for the solution.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am

Re: [ SOLVED ]Album 0.9.2 and thumbnail problem

Post by nicmare »

VERY BIG THANK YOU! I had the same problem and was extremly confused. therefore your solution was a big help for me!
Locked

Return to “CMSMS Core”