thumbnail

Permalink Browser Info Environment
Hi,
I'm new to the pixel theme and concrete but must say I like working with it. However I have two questions regarding thumbnails. In the page list block I would like to change the height and width of the thumbnails of blog entry and not showing them at all on small mobile devices.

I can't seem to find this option.

Thanks

Type: Discussion
Status: Resolved
vvannen
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi,
1- You can change it via block templates. For example for the block template used in 'Blog' page, which created by pixel content import, you should open: '\packages\theme_pixel\blocks\page_list\templates\pixel_blog_full_small_thumb.php' and in line 99 you should see default thumb size which is 370*270.
2- For hiding images in mobile device you should manually insert a class. For doing that, first rename '\packages\theme_pixel\themes\pixel\css\less\custom.dev.less.tmp' to 'custom.dev.less', then insert this styles into it:
@media screen and (max-width: 767px) {
   div.small-thumbs div.entry-image img {
      display: none;
   }
}

concrete5 Environment Information

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

# concrete5 Packages
Pixel Theme (1.4.2)

# 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

# Server API
fpm-fcgi

# PHP Version
5.6.31-4+0~20170804100521.6+jessie~1.gbpea630b

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imagick, imap, intl, json, libxml, mbstring, mcrypt, mhash, mssql, mysql, mysqli, mysqlnd, OAuth, openssl, pcre, PDO, pdo_dblib, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, redis, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 900
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 2G
post_max_size - 256M
sql.safe_mode - Off
upload_max_filesize - 256M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
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
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 5.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.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 have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.