opentype Posted December 14 Posted December 14 I appreciate the various layout options and the inclusion of more images in the 5.x widgets, but it seems the new widgets don’t use thumbnails even if they are available. Example: Here is a Record Feed widget which shows the images in a size of just 30×30 pixels, yet it loads the full size record images, which might be 5000 pixels wide each. 😱 Please add a condition to use the thumbnail when available. Adriano Faria, Adlago, SeNioR- and 7 others 10
SeNioR- Posted December 15 Posted December 15 (edited) ACP > Pages > Page Management > Templates > Database Templates > Listing > recordRow Find: {{if $row->showRecordImage()}} <figure class="ipsData__image"> {{if $row->record_image}} <img src="{file="$row->record_image" extension="cms_Records"}" loading="lazy" alt=""> {{else}} <i></i> {{endif}} </figure> {{endif}} Replace with: {{if $row->showRecordImage()}} <figure class="ipsData__image"> {{if $row->record_image_thumb}} <img src="{file="$row->record_image_thumb" extension="cms_Records"}" loading="lazy" alt=""> {{elseif $row->record_image}} <img src="{file="$row->record_image" extension="cms_Records"}" loading="lazy" alt=""> {{else}} <i></i> {{endif}} </figure> {{endif}} Wait 5 minutes for the widget to refresh. Edited December 15 by SeNioR-
Recommended Posts