Page 1 of 1

Image Manager thumbnails

Posted: Mon Nov 20, 2006 8:46 pm
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?

Re: Image Manager thumbnails

Posted: Tue Nov 21, 2006 12:00 pm
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

Re: Image Manager thumbnails

Posted: Tue Nov 21, 2006 12:13 pm
by Dee
Try changing your umask setting to 002, see http://wiki.cmsmadesimple.org/index.php ... working.3F

Re: Image Manager thumbnails

Posted: Tue Nov 21, 2006 9:09 pm
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

Re: Image Manager thumbnails

Posted: Wed Nov 22, 2006 12:02 am
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...

Re: Image Manager thumbnails

Posted: Mon Jan 22, 2007 9:37 pm
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

Re: Image Manager thumbnails

Posted: Mon Jan 22, 2007 9:54 pm
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

Re: Image Manager thumbnails

Posted: Tue Jan 23, 2007 3:47 am
by slloyd
I tried that and it still doesn't work. I still see red x's for the thumbnail preview in Image Manager.

Re: Image Manager thumbnails

Posted: Tue Jan 23, 2007 6:48 pm
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

Re: Image Manager thumbnails

Posted: Thu Jan 25, 2007 12:28 am
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.

Re: Image Manager thumbnails

Posted: Thu Jan 25, 2007 5:36 am
by Dr.CSS
Sounds like permission problem and/or path is set wrong in config.php, the one set for images...

Re: Image Manager thumbnails

Posted: Fri Jan 26, 2007 7:01 pm
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."

Re: Image Manager thumbnails

Posted: Fri Jan 26, 2007 8:54 pm
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.

Re: Image Manager thumbnails

Posted: Fri Mar 09, 2007 9:24 am
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.