opentype Posted Saturday at 08:14 AM Posted Saturday at 08:14 AM 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. Patreon Lukazuki, SeNioR-, Marius and 7 others 10
SeNioR- Posted Sunday at 03:02 PM Posted Sunday at 03:02 PM (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 Sunday at 03:06 PM by SeNioR-
Recommended Posts