Thumbnailer breaks when using automatic height and exact sizing

Permalink 0 0 Browser Info Environment
I noticed that if you have a thumbnail type setup with an automatic value (like Width = 400 & Height = Automatic) and the sizing is set to Exact no thumbnail is ever generated. This problem is magnified by the fact that the file_manager_detail thumbnail type is set to this value by default which is why the thumbnail preview doesn't work in Concrete 5.8.2.1.

I don't think it's related but I also noticed that in version 5.8.1, you could view a files thumbnails within the file properties but in 5.8.2.1, that link has been removed. What's really strange is it only seems to be removed if you are doing a fresh Concrete install. If you have an older version of Concrete and update to 5.8.2.1, the thumbnail link is still there.

Also, I noticed that when you are getting a thumbnail URL, if a file doesn't have a thumbnail, Concrete used to default back to the file URL. Now, it provides the URL for where the Thumbnail should be even if it doesn't exist. I now have to check to see if the URL for the Thumbnail exists which is fine but I liked it better before.


Status: New

concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000

# concrete5 Packages
Advanced Google Maps (1.2.20), KDC Image (1.1)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.23 (Win64) PHP/5.6.25

# Server API
apache2handler

# PHP Version
5.6.25

# PHP Extensions
apache2handler, bcmath, bz2, calendar, com_dotnet, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 2500
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
xdebug.max_nesting_level - 256
xdebug.max_stack_frames - -1
xdebug.var_display_max_children - 128
xdebug.var_display_max_data - 512
xdebug.var_display_max_depth - 3
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36