[solved] File Manager does not create thumbnails on upload

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
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

[solved] File Manager does not create thumbnails on upload

Post by paulbaker »

Been bugging me for a while and happens on each installation...

When I upload images (jpg format) using the File Manager a thumbnail is not automatically created. I have Site Admin > Settings - File Manager > "Create thumbnails on upload" set to yes.

When I select a file in File Manager and click "Create thumbnail" a thumbnail is produced OK.

When I upload a file using MicroTiny it creates a thumbnail automatically.

Here's a screenshot, the first 2 images were uploaded using File Manager, the third using MicroTiny.
thumbs.jpg
What would cause File Manager to not create thumbnails on upload?

Thanks

----------------------------------------------
Cms Version: 2.2.3.1
Installed Modules:
AdminSearch: 1.0.4
CGBlog: 1.14.4
CGExtensions: 1.56.2
CGSimpleSmarty: 2.1.6
CGTweet: 1.2
CG_WP2CGBlog: 1.0.6
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
CmsJobManager: 0.1.1
DesignManager: 1.1.3
FileManager: 1.6.4
FilePicker: 1.0.1
FormBuilder: 0.8.1.6
FrontEndUsers: 2.6
JQueryTools: 1.4.0.3
MenuManager: 1.50.3
MicroTiny: 2.2.1
ModuleManager: 2.1.2
Navigator: 1.0.8
News: 2.51.3
Search: 1.51.2
SimpleSiteInfo: 3.3

Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:
phpversion: 5.6.31
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.10.0-714.10.2.lve1.4.63.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.1.24
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/maidblokeadmin/public_html/tmp (0755)
tmp_cache: /home/maidblokeadmin/public_html/tmp/cache (0755)
templates_c: /home/maidblokeadmin/public_html/tmp/templates_c (0755)
modules: /home/maidblokeadmin/public_html/modules (0755)
uploads: /home/maidblokeadmin/public_html/uploads (0755)
File Creation Mask (umask): /home/maidblokeadmin/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: File Manager does not create thumbnails on upload

Post by calguy1000 »

I just tested and I think there's a minor issue in the preference somewhere.
If you go to the file manager settings, double check everything and hit submit... then thumbs do get displayed for new uploads.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: File Manager does not create thumbnails on upload

Post by paulbaker »

I went to Site Admin > Settings - File Manager and hit Submit without changing anything ("Create thumbnails on upload" is still set to yes).

Thumbnails are now created on upload, so you are right Calguy - thank you.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Locked

Return to “CMSMS Core”