Thumbnails don't show!

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.
Post Reply
scotch33
Dev Team Member
Dev Team Member
Posts: 285
Joined: Tue Feb 14, 2006 9:56 pm

Thumbnails don't show!

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Thumbnails don't show!

Post 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
scotch33
Dev Team Member
Dev Team Member
Posts: 285
Joined: Tue Feb 14, 2006 9:56 pm

Re: Thumbnails don't show!

Post 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
scotch33
Dev Team Member
Dev Team Member
Posts: 285
Joined: Tue Feb 14, 2006 9:56 pm

Re: Thumbnails don't show!

Post by scotch33 »

Thanks Ronny,
Do you mean chmod rights?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Thumbnails don't show!

Post 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
scotch33
Dev Team Member
Dev Team Member
Posts: 285
Joined: Tue Feb 14, 2006 9:56 pm

Re: Thumbnails don't show!

Post by scotch33 »

Yep - chmod's worked.  Thanks Ronny!
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

Re: Thumbnails don't show!

Post 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.
hyperviper

Re: Thumbnails don't show!

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Thumbnails don't show!

Post 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
hyperviper

Re: Thumbnails don't show!

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Thumbnails don't show!

Post 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
hyperviper

Re: Thumbnails don't show!

Post by hyperviper »

RonnyK wrote: Antonio,

do you have umask set to "002" in the global settings? as described in:

http://wiki.cmsmadesimple.org/index.php ... working.3F

Ronny
Ronny,
What do "global settings" refer to?
Do you mean the file "config.php"?
Or the settings of the host?
Thank you
Antonio
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Thumbnails don't show!

Post by RonnyK »

Antonio,

I meant in "Site Admin -> Global Settings" in the Admin panel of CMSMS.

Ronny
hyperviper

Re: Thumbnails don't show!

Post 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
Post Reply

Return to “CMSMS Core”