Image Manager thumbnails

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
swathes

Image Manager thumbnails

Post by swathes »

I've uploaded several images into the uploads/images folder, and the thumbs are generating on the server, but not displaying on the Image Manager module.

Also uploaded via the image upload form, and same thing.

Any ideas how to resolve?
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Image Manager thumbnails

Post by nils73 »

I encountered the same problem and found, that ImageManger creates own thumbnails and uses a certain naming-rule starting with the prefix "thumb_" - so if you use the same prefix, it will not work because it will be overwritten each time you use ImageManager. What I did was to use a new folder within images called "thb" and put my thumbs there. That does the trick then.

Regards,
Nils
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Image Manager thumbnails

Post by Dee »

Try changing your umask setting to 002, see http://wiki.cmsmadesimple.org/index.php ... working.3F
swathes

Re: Image Manager thumbnails

Post by swathes »

Dee = I tried your approach - and now it seems to work ok.  Any suggestions how I can rebuild the thumbs for the images which were initially uploaded?

D
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Image Manager thumbnails

Post by Dr.CSS »

If you go to Image Manager and view the larger images it will make thumbs of them auto. to check for them FTP to site and look in uploads/images if you put them in another sub folder look in there...
Bogoris

Re: Image Manager thumbnails

Post by Bogoris »

Dee wrote: Try changing your umask setting to 002, see http://wiki.cmsmadesimple.org/index.php ... working.3F
Hello,

I've the same problem swathes had.
I had already seen this wiki page but I don't know how to change the umask setting. Could someone tell me how to do that ? Is this done with a FTP program ? Does it have anything to do with chmod ?

Thank you in advance,

Bogoris
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Image Manager thumbnails

Post by Dee »

Bogoris wrote: I had already seen this wiki page but I don't know how to change the umask setting. Could someone tell me how to do that ?
It's set in the admin, follow "Site Admin" » "Global Settings" in the menu.

Regards,
D
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Image Manager thumbnails

Post by slloyd »

I tried that and it still doesn't work. I still see red x's for the thumbnail preview in Image Manager.
Bogoris

Re: Image Manager thumbnails

Post by Bogoris »

Dee wrote:
Bogoris wrote: I had already seen this wiki page but I don't know how to change the umask setting. Could someone tell me how to do that ?
It's set in the admin, follow "Site Admin" » "Global Settings" in the menu.

Regards,
D
It works :)
Thank you for your help, and thanks a lot for this wonderful CMS  :) .

Regards,

Bogoris
terimurphy
Forum Members
Forum Members
Posts: 41
Joined: Sat Nov 26, 2005 1:15 am

Re: Image Manager thumbnails

Post by terimurphy »

Same problem for me on Album 8.02. I changed the mask, but still had rex x's instead of thumbnails. So I went to image manager as suggested and saw this error note:  (I ftp'd my images in a folder called Portfolio")

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/portfolio/) is not within the allowed path(s): (/home/john:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/john/public_html/cmsms/lib/filemanager/ImageManager/Classes/ImageManager.php on line 217

My line 217 looks like this:

Code: Select all

if(($path != "/") && (is_dir($path))) 


I'm on OpenSourceHost. Previously they've fiddled with things that made thumbs visible for existing images but not ones newly uploaded.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Image Manager thumbnails

Post by Dr.CSS »

Sounds like permission problem and/or path is set wrong in config.php, the one set for images...
terimurphy
Forum Members
Forum Members
Posts: 41
Joined: Sat Nov 26, 2005 1:15 am

Re: Image Manager thumbnails

Post by terimurphy »

Oh my. The nice fellows at OpensourceHost traced it to this bug report regarding subdirectories in image manager. But the report says the error message should not affect performance.

http://dev.cmsmadesimple.org/tracker/index.php?func=detail&aid=961&group_id=6&atid=101
"Note that everything works fine - uploads/etc. The only problem is the message. The problem simply appears to be a bad path used at some point."
terimurphy
Forum Members
Forum Members
Posts: 41
Joined: Sat Nov 26, 2005 1:15 am

Re: Image Manager thumbnails

Post by terimurphy »

(finishing my previous post)
I got rid of the subdirectory structure and re-uploaded all my image folders into Upload Images, but still no thumbnails (after clicking the images in image manager.)
If it is a problem in config.sys, could someone tell me where to look? I'v verified that I do not have the problems referred to elsewhere with "GD" in caps or slashes in wrong direction.
Dopple

Re: Image Manager thumbnails

Post by Dopple »

FYI. Once you change the umask to 002, this won't show images already uploaded as thumbs. Any you upload after changing the setting should work.
Locked

Return to “CMSMS Core”