Resizing - how does it determine height and width

Permalink Browser Info Environment
When this is run, if you have images that are wider/taller than they need to be for the max size of a given block, does the optimizer change the size of these images too or does it just run an optimization on them or?

Type: Pre-Sale
Status: Resolved
plschneide
View Replies:
A3020 replied on at Permalink Reply
A3020
Image Optimizer does not change the resolution (width / height) of images. To change the resolution, you can use Thumbnail Types or the getThumbnail method in concrete5. (those are often used in themes / blocks).

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.3
Version Installed - 8.4.3
Database Version - 20180716000000

# concrete5 Packages
Brimstone Theme (2.1.6), Cloneamental (0.9.3), Dynamic Images (1.2), ExchangeCore reCAPTCHA (1.1.1), EZ Paypal (2.0.1), Genesis Theme (1.1.9), Hotel Diving (1.0), Hotel Package (1.0), Lazy Menu (1.0.7), Login/Logout Link (1.0), Random Image (1.0), Responsive Embed (1.0.1), Stucco (2.1.6), Vimeo Video (1.0.2), We Feature (1.0), Zoomer (1.0.1)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - Off
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
5.6.40

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 1064M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 20M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.