Page 1 of 1
Thumbnails don't show!
Posted: Fri Apr 13, 2007 10:19 am
by scotch33
Hi,
In a new install of 1.0.5, i am unable to see thumbnails in the image manager. Also, when I try to edit the image it fails to do so and results in a broken link to the edited image in the preview.
I have access to the php config on this server, what settings should be 'on' in the config to allow the images stuff to work?
Are there any other reasons as to why tghis would not work?
Thanks!
John
Re: Thumbnails don't show!
Posted: Fri Apr 13, 2007 10:22 am
by RonnyK
John,
I think the thumbanails have the wrong rights to be visible. If you check the rights on the thumbnails and give full rights to tem you'll see them in the imagemanager and in the frontend.
Ronny
Re: Thumbnails don't show!
Posted: Fri Apr 13, 2007 10:25 am
by scotch33
further to earlier message - I have just checked another install on the same server. here thumbnails show and the editor works!
Could it be anything to do with the images themselves? They are all jpegs. here is a link to one that works...
Code: Select all
http://www.cmsdemo.webserverworld.co.uk/uploads/images/ball.jpg
here to one that doesn't -
Code: Select all
http://www.structureddesign.webserverworld.co.uk/uploads/images/Tong%20House,%20Amport/P1010030.JPG
Re: Thumbnails don't show!
Posted: Fri Apr 13, 2007 10:29 am
by scotch33
Thanks Ronny,
Do you mean chmod rights?
Re: Thumbnails don't show!
Posted: Fri Apr 13, 2007 10:31 am
by RonnyK
Yes,
I meant the chmod rights on the thumbnails.
BTW, pasting your second piece of code in the address-bar gives me a picture, not a thumbnail but the picture shows.
Ronny
Re: Thumbnails don't show!
Posted: Fri Apr 13, 2007 10:36 am
by scotch33
Yep - chmod's worked. Thanks Ronny!
Re: Thumbnails don't show!
Posted: Sat Apr 14, 2007 7:12 am
by Hare
You might want to change the file creation mask in the site preferences. That way you don't have to manually chmod the files. They are created with the proper permissions. The mask depends on the host. Most hosts I've used needed mask 022 or 002.
Remember to manually delete the old thumbs so that they are replaced with ones that have been created with the proper file permissions.
Re: Thumbnails don't show!
Posted: Fri Apr 20, 2007 5:40 am
by hyperviper
Hare wrote:
You might want to change the file creation mask in the site preferences. That way you don't have to manually chmod the files. They are created with the proper permissions. The mask depends on the host. Most hosts I've used needed mask 022 or 002.
Remember to manually delete the old thumbs so that they are replaced with ones that have been created with the proper file permissions.
Hi,
why is "default_upload_permission" not used for thumbs while it is correctly used for files?
Can you tell me where is the fragment of code which set permissions on thumbs?
Antonio
Re: Thumbnails don't show!
Posted: Fri Apr 20, 2007 5:51 am
by RonnyK
Antoinio,
I'm not sure about the settings for the rights, but I thought that thumbnails only where correctly inserted if it was done using the "ImageManager". If the "FileManager" is used, thumbnaills aren't generated.
Ronny
Re: Thumbnails don't show!
Posted: Fri Apr 20, 2007 6:10 am
by hyperviper
Ronny,
RonnyK wrote:
Antoinio,
I'm not sure about the settings for the rights, but I thought that thumbnails only where correctly inserted if it was done using the "ImageManager".
Yes, they are correctly uploaded using "imageManager" but with the "wrong" permissions
RonnyK wrote:
If the "FileManager" is used, thumbnaills aren't generated.
Ronny
I like "ImageManager" just because it creates thumbnails

but I don't like to change manually permissions... especially if they must be changed
by a low-skilled user (i.e. imagine an editor who can only use a text editor...

)
Antonio
Re: Thumbnails don't show!
Posted: Fri Apr 20, 2007 7:38 am
by RonnyK
Antonio,
do you have umask set to "002" in the global settings? as described in:
http://wiki.cmsmadesimple.org/index.php ... working.3F
Ronny
Re: Thumbnails don't show!
Posted: Fri Apr 20, 2007 10:03 am
by hyperviper
Ronny,
What do "global settings" refer to?
Do you mean the file "config.php"?
Or the settings of the host?
Thank you
Antonio
Re: Thumbnails don't show!
Posted: Fri Apr 20, 2007 11:19 am
by RonnyK
Antonio,
I meant in "Site Admin -> Global Settings" in the Admin panel of CMSMS.
Ronny
Re: Thumbnails don't show!
Posted: Fri Apr 20, 2007 11:44 am
by hyperviper
RonnyK wrote:
Antonio,
I meant in "Site Admin -> Global Settings" in the Admin panel of CMSMS.
Ronny
TA DAAAAA!!!
Maybe I am blind! It works good now!!!

Thank you very much, Ronny.
Antonio