Showing only one image as thumb

Permalink Browser Info Environment
Hi,

I like your add-on Touch Gallery. it's a nice piece of work for a fair price.
Is it possible to show only one big thumb of a set of images (the first in the file set) instead of all the images in a file set? I want to use the tight_grid template. Clicking on the big thumbnail will show the slideshow of all the pictures.

With kind regards,
Piet Geelen

Type: Pre-Sale
Status: Resolved
pigeelen
View Replies:
mnakalay replied on at Permalink Reply 1 Attachment
mnakalay
Hi,

Thank you for the nice words and for the review you left in June. I really appreciate it.

I am attaching a template called One Thumb Tight Grid that will do exactly what you want. Extract it in your root/application/blocks directory so you end up with:
root/application/blocks/touch_gallery/templates/one_thumb_tight_grid and inside that directory you will have the template files. Then just apply the template to your gallery.

Let me know if something is not clear.
pigeelen replied on at Permalink Reply
pigeelen
Hi,

Thanks a lot for your quick and excellent support.
It indeed does exactly what I want.

With kind regards,
Piet Geelen
pigeelen replied on at Permalink Reply 1 Attachment
pigeelen
Hi again,

I noticed a problem with the one-thumb-tight-grid-styles you made for me.
I choose a width and hight of 635 pixels. This is fixed and therefore it doesn't resize when the view decreases. On a tablet or laptop with a smaller screen text in the nearby column will overlap the image. Is it possible to make this thumb responsive as the standard image block of C5 does?
I add 2 images where you can see what I mean. One is the normal situation (1920x1080) and the other in a smaller screen where you can see that the text block and the menu block are responsive but not the thumbnail.
On smartphones and screens with a minimum width of 1920 pixels it works great.
I used a layout with 12 columns where the thumb block and the text block have a width of 4 and the outer columns a width of 2.

With kind regards,
Piet Geelen
mnakalay replied on at Permalink Reply 1 Attachment
mnakalay
Hello,

See the attached template, it's a modified version of the previous one. I think it will solve the problem.

Let me know if it's ok.
pigeelen replied on at Permalink Reply
pigeelen
Hi,

This is a brilliant solution for me. Thanks again for your help.
I only had to change the width and the padding in the .css file to avoid spacing.
Now it fits in the design.
I higly recommend this add-on, especially your quick service is admirable.

With kind regards,
Piet Geelen
mnakalay replied on at Permalink Reply
mnakalay
You are very welcome.

I know you already left a review but feel totally free to leave a second one if you want to :) No pressure, of course, your first one was really great.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.6
Version Installed - 5.7.5.6
Database Version - 20151221000000

# concrete5 Packages
Fruitful (1.2), Mega Menu (1.5.38), Quick Tabs (1.0), Styled Maps (1.2.0), Touch Gallery (2.1.5).

# concrete5 Overrides
blocks/testimonials/templates/dook/view.php, blocks/testimonials/templates/dook, blocks/testimonials/templates, blocks/testimonials, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, blocks/testimonials/templates/dook/view.php, blocks/testimonials/templates/dook, blocks/testimonials/templates, blocks/testimonials, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE

# 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.15 (CentOS)

# Server API
cgi-fcgi

# PHP Version
5.3.28

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, 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 - 128M
post_max_size - 128M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 128M
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 - 1440
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.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.