View Issue Details

IDProjectCategoryView StatusLast Update
0003072mantisbtfeaturepublic2003-12-13 04:41
Reportered Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Summary0003072: Attached file should be opened up in new browser window - Suggestion
Description

When an attached file is clicked on, it replaces the existing Mantis browser window. It would be better if the attached file is opened in a new browser window, so it doesn't affect the main Mantis window.

Additional Information

If the attachment is detected to be GIF/JPG/PNG, maybe just refresh the Mantis page and display the image directly in the same bug screen. Provide a "Hide/Show" image button.

TagsNo tags attached.

Activities

vboctor

vboctor

2003-03-23 22:03

manager   ~0004034

  • I think showing the attachment contents in a separate window is a good idea.
  • As for showing it in the same bug screen, this is automatically done if the image size in bytes is smaller than or equal to $g_preview_attachments_inline_max_size.
ed

ed

2003-03-24 02:30

reporter   ~0004039

Thanks for your feedback. Is $g_preview_attachments_inline_max_size available in version 0.17.5?

vboctor

vboctor

2003-03-24 02:36

manager   ~0004040

No, I added this feature in 0.18.0a3 (see 0000838).

vboctor

vboctor

2003-03-24 04:37

manager   ~0004041

Fixed in CVS. Will be available in 0.18.0a5.

Related Changesets

MantisBT: master 1a741b77

2003-03-23 22:36

vboctor


Details Diff
Fix 0003072: Attached file should be opened up in a new browser window.

M core/file_api.php
- Add target="_blank" to the file attachment hyperlinks.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2124 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003072
mod - doc/ChangeLog Diff File
mod - core/file_api.php Diff File