Possible to only show first thumb of the fileset?

Permalink Browser Info Environment
Hi,

Thanks for the excellent addon!

I have a question. Is it maybe possible to only show the first thumb of the fileset?
So you see only the first thumb, but still have the option to show the rest of the images in the fileset in the lightbox? Maybe I can do this by some small code changes myself?

Thanks again!

Type: Discussion
Status: In Progress
joostplas
View Replies:
joostplas replied on at Permalink Reply
joostplas
Actually that was pretty easy :)
This did the trick:

.thumb-item {display:none;}
.thumb-item:first-child {display:block;}

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3.1
Version Installed - 5.7.3.1
Database Version - 20150109000000

# concrete5 Packages
Equinox (1.0.0), Page Redirect (2.0), Page Selector Attribute (2.0), Thumb Gallery (1.0.2), Vivid Carousel (1.0.1).

# concrete5 Overrides
languages/da_DK, languages/fi_FI, languages/tr_TR, languages/nl_NL, languages/el_GR, languages/sl_SI, languages/sv_SE, languages/it_IT, languages/de_DE, languages/ja_JP, languages/fr_FR, languages/ru_RU

# 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.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips DAV/2 PHP/5.4.39

# Server API
apache2handler

# PHP Version
5.4.39

# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, newrelic, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend Guard Loader, 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 - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 32M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
newrelic.special.max_nesting_level - -1
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.4.10 (KHTML, like Gecko) Version/8.0.4 Safari/600.4.10

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.