Actions
Improvement #1013
closedResize thumbnails of news
Start date:
Due date:
% Done:
100%
Estimated time:
Compatible Redmine Version:
Pull Request Link:
Description
News thumbnails should be rendered via:
<%= 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;"
) %>
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.
Updated by liaham almost 3 years ago
- Copied from Improvement #992: Resize thumbnails of news added
Updated by liaham almost 3 years ago
- Target version changed from unreleased to 1.0.4
Actions