Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 18, 20169 yr I noticed that the gallery widget is using Medium images. Is it possible to force small for the widget?
February 24, 20169 yr Yes, if the image has the medium image, it uses it: {{if $image->medium_file_name}} <a href='{$image->url()}' title='{lang="view_this_image" sprintf="$image->caption"}' class='ipsThumb ipsThumb_bg ipsThumb_large' style='background-image: url("{file="$image->medium_file_name" extension="gallery_Images"}");'> <img src='{file="$image->medium_file_name" extension="gallery_Images"}' alt=''> </a> {{else}} <a href='{$image->url()}' title='{lang="view_this_image" sprintf="$image->caption"}' class='ipsNoThumb ipsNoThumb_video ipsThumb_bg ipsThumb_large'></a> {{endif}} Template Gallery -> Front -> Widgets -> imageRow.
Archived
This topic is now archived and is closed to further replies.