• Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Low
  • Reported Version
  • Due in Version 1.1 devel
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray
Opened by Jehan - 30.01.2016
Last edited by peterdd - 17.02.2020

FS#2098 - Attached image cannot be downloaded


- Attach an image to a task.
- It shows as a link in your task (cf. screenshot “Screenshot from 2016-01-29 18-34-31.png”).
- Click on the link.

Result: it opens a “popup” with the image displayed in it. If the image is big, the popup is just so huge the image is not visible without boring horizontal and vertical scrolling (see “Screenshot from 2016-01-30 15-07-26.png” which shows what I see when I click the image link on my task).
I can’t even right click to download from the menu since I see no “Save Image As” item. (see Screenshot-no-save-image-in-menu.png).

My workaround was that if I drag and drop the attachment link in the address bar, I finally get the expected image, which I can finally save as! This workaround was hard to find, and I expect most people will just get frustrated of being able to view an image attachment, yet not save it locally.

I proposes the following:
- a small “download” icon next to the image link in the task for direct download (without preview).
- a “download” link/icon on the top-left of the image display popup (to download while previewing).

And as a side feature (maybe I should make a separate report?), I suggest that by default the image display popup constrains the image to the screen size, with a “see real size” link, so that you don’t get the popup with huge scrolling when opening a big image on a smaller screen.

Note: of course this issue does not appear with non displayable attachment. If I have a zip or a document, it proposes me to download it directly.

The task blocks this from closing
ID Project Summary Priority Severity Assigned To Progress
1737 Flyspray FS#1737 - Javascript Overhaul Very Low Low
Closed by  peterdd
17.02.2020 16:15
Reason for closing:  Complete
Project Manager

It can be seen as a problem of the Lightbox javascript.
If the browser has scwitched off javascript (e.g. Firefox about:config ‘javascript.enabled’ set to ‘false’), it is possible to save the attachment images.

I use another Lightbox plugin in a webshop for viewing zoomed product images and there it is no problem to use the right mouseclick-context menu and then you can select
“open link in new tab” and so on (tested firefox43) and you can also save the image.

Maybe we can simple modify some options of the current lightbox in flyspray, so the user can simply use the rightmouseclick-context menu..
Currently a rightmouseclick on a attachment link is like a left mouseclick..

Project Manager

made a change on github.
Now additional downloadlink is shown for attachment images until the javascript lightbox is modernized.

Project Manager


header('Content-Disposition: attachment; filename=...

for forcing the download of images, instead of just

header('Content-Disposition: filename=...

dear Peter
maybe this is not an issue, but my problem is: upload images approximately 3000 px x 2000 px and this image apears larger than the monitor
is it possible that the image is automatically resized to 800 px x xxx px size

Project Manager

I added your wish as FS#2325 , so any further discussion of your topic there.


Available keyboard shortcuts


Task Details

Task Editing