View Issue Details

IDProjectCategoryView StatusLast Update
0028609Open CASCADEWebsite:Trackerpublic2017-04-20 10:16
Reporterkgv Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Summary0028609: Bugtracker - extend size of images to be inlined
DescriptionMantis automatically inlines attached images if they fit into specific size limits. Unfortunately, the current limit is too light - so that most images are not inlined and have to be downloaded to be seen.

It is suggested to increase size limit (which should be configurable according to description) to at least 1.6 MiB.
Steps To ReproduceSee attachments for #0028559 for example.
TagsNo tags attached.
Test case number

Activities

aiv

2017-03-31 12:25

reporter   ~0064826

I've set up the following configuration options:

/**
 * Specifies the maximum size (in bytes) below which an attachment is
 * previewed in the bug view pages.
 * To disable the previewing of attachments, set max size to 0.
 * @global int $g_preview_attachments_inline_max_size
 */
$g_preview_attachments_inline_max_size = 2 * 1024 * 1024;

/**
 * Specifies the maximum width for the auto-preview feature. If no maximum width should be imposed
 * then it should be set to 0.
 * @global int $g_preview_max_width
 */
$g_preview_max_width = 600;

/**
 * Specifies the maximum height for the auto-preview feature. If no maximum height should be imposed
 * then it should be set to 0.
 * @global int $g_preview_max_height
 */
$g_preview_max_height = 0;


Is it OK for you now? If not, please suggest exact figures.

kgv

2017-03-31 12:49

developer   ~0064827

> $g_preview_max_width = 600;
I would extend the width to 800 pixels.

aiv

2017-03-31 13:43

reporter   ~0064828

Ok, done.

kgv

2017-04-06 11:55

developer   ~0064968

The problem has been fixed - so I suppose the bug can be closed.

Issue History

Date Modified Username Field Change
2017-03-30 12:26 kgv New Issue
2017-03-30 12:26 kgv Assigned To => aiv
2017-03-31 12:25 aiv Note Added: 0064826
2017-03-31 12:49 kgv Note Added: 0064827
2017-03-31 13:43 aiv Note Added: 0064828
2017-03-31 13:43 aiv Assigned To aiv => bugmaster
2017-03-31 13:43 aiv Status new => resolved
2017-04-06 11:55 kgv Note Added: 0064968
2017-04-20 10:16 bugmaster Status resolved => closed
2017-04-20 10:16 bugmaster Resolution open => fixed