Project

General

Profile

Actions

Improvement #1013

closed

Resize thumbnails of news

Added by liaham almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Compatible Redmine Version:

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.


Related issues 1 (0 open1 closed)

Copied from xmera Omnia - Improvement #992: Resize thumbnails of newsClosedliaham

Actions
Actions #1

Updated by liaham almost 3 years ago

Actions #2

Updated by liaham almost 3 years ago

  • Status changed from New to Closed
Actions #3

Updated by liaham almost 3 years ago

  • Target version changed from unreleased to 1.0.4
Actions

Also available in: Atom PDF