Open jdkemme opened 8 years ago
Is this a new 3.3 setting? never noticed this before...
Anyways, you're right, this setting should be taken into account...
This doesnt appear to be a new setting in 3.3. The behavior of the setting in redmine, when enabled, displays an image thumbnail preview. When the setting is unchecked, it removes the preview entirely.
Lightbox behavior honors this setting- when checked it displays the image at the thumbnail size. However when unchecked, unlike core redmine, it displays the image at hard coded width => '180'
in _links.html.erb
in the 'else' condition. To mimic core redmine behavior, the else condition that adds <div class='images'>
should be removed, or at least made optional via a setting.
Oh, yeah, you're right... This has been the behaviour ever since I took over the redmine_lightbox
project and forked it to redmine_lightbox2
.
While I agree with you that this setting should be taken into account, the current behaviour is still a great solution for those who cannot use imagemagik/rmagick on their system on which the thumbnail function depends...
Will think about that for the next release...
Redmine 3.3