Improvement #992
Updated by liaham almost 3 years ago
News thumbnails should be rendered via: ```ruby <%= image_tag( thumbnail_path(attachment), :srcset => "#{thumbnail_path(attachment, :size => thumbnail_size * 2)} 2x", :style => "max-width: #{thumbnail_size}px; max-height: #{thumbnail_size}px;" ) thumbnail_tag(attachment) %> ``` By doing so, the image will integrated in a small default size (as configured in administration area) improving the performance of the page when loading.