Feature #1006

Display thumbnails of attached images

Added by Andrew Ness over 9 years ago. Updated about 5 years ago.

Status:ClosedStart date:2008-04-07
Priority:LowDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Attachments
Target version:2.1.0
Resolution:Fixed

Description

It would be nice to display a thumbnail of images that are attached to an issue. If you click the thumbnail you would see the entire image.

thumbnails.png (12.9 KB) Jean-Philippe Lang, 2012-07-07 15:51


Related issues

Related to Redmine - Patch #1023: Patch for #1006 Closed 2008-04-08
Duplicated by Redmine - Feature #3823: show attached screenshots preview on "issue details" page Closed 2009-09-04
Duplicated by Redmine - Feature #6205: insert image Closed 2010-08-25
Duplicated by Redmine - Feature #3711: Extending Wiki Inline-images to include size parameters. Closed 2009-08-05

Associated revisions

Revision 9933
Added by Jean-Philippe Lang over 5 years ago

Displays thumbnails of attached images of the issue view (#1006).

This behaviour can be turned on/off in Settings -> Display (off by default). Thumbnail size can be configured there too.

Revision 9934
Added by Jean-Philippe Lang over 5 years ago

Fills locales (#1006).

History

#1 Updated by Rocco Stanzione over 9 years ago

Please test my patch from #1023

#2 Updated by Marcello Henrique over 9 years ago

+1

#3 Updated by Alex Last almost 8 years ago

is it possible to include this feature into versions 0.9.1 or 1.0?

#4 Updated by Patrick Dubois over 7 years ago

+1. I would also find this very useful. People are much more likely to look at the attached image if there's a thumbnail preview.

#5 Updated by Toshi MARUYAMA over 6 years ago

  • Category changed from Issues to Attachments

#6 Updated by Etienne Massip about 6 years ago

  • Category changed from Attachments to Wiki

There is a lot of ideas in #3510 and #6205.

#7 Updated by Etienne Massip about 6 years ago

  • Target version set to Candidate for next major release

#8 Updated by Andrew Ness about 6 years ago

Why did you change the category to Wiki? This issue is about thumbnails of attachments in issues, not on the wiki.

#9 Updated by Etienne Massip about 6 years ago

It's the same thing, same code.

#10 Updated by Chien Nguyen almost 6 years ago

  • Assignee set to Etienne Massip

I am using Redmine 1.3.0. This feature is not working in this version right? How can we add this to 1.3.0? Please support.

#11 Updated by Etienne Massip almost 6 years ago

  • Assignee deleted (Etienne Massip)

#12 Updated by Jean-Philippe Lang over 5 years ago

  • File thumbnails.png added
  • Category changed from Wiki to Attachments
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next major release to 2.1.0
  • Resolution set to Fixed

Feature added in r9933. Thumbnails of attached images can be displayed on the issue detail view (see Settings -> Display).

#13 Updated by rm user over 5 years ago

  • Status changed from Closed to Reopened

Hi! Thanks for this, but it's really not convinient this way.

Any chance of making clickable thumbs? (see redmine_lightbox plugin here - http://www.redmine.org/plugins/redmine_lightbox)

Thanks for your effort.

EDIT: or they are clickable ? is there an example of issue?

Thanks.

#14 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from Reopened to Closed

They are clickable. It's just a screenshot above...

#15 Updated by rm user over 5 years ago

Jean-Philippe Lang wrote:

They are clickable. It's just a screenshot above...

did you use lightbox? or if i click on image it'd be just a link to full-image ?

any example here? what about 1.4 version - will it be included there as well?

thanks

#16 Updated by Jean-Philippe Lang over 5 years ago

rm user wrote:

did you use lightbox? or if i click on image it'd be just a link to full-image ?

No lightbox, just a link to the full image. You can have a look at r9933 for more details.

any example here? what about 1.4 version - will it be included there as well?

No example here, feature was committed today in trunk. I'm afraid it won't be merged into 1.4-stable.

#17 Updated by rm user over 5 years ago

Jean-Philippe Lang wrote:

rm user wrote:

did you use lightbox? or if i click on image it'd be just a link to full-image ?

No lightbox, just a link to the full image. You can have a look at r9933 for more details.

any example here? what about 1.4 version - will it be included there as well?

No example here, feature was committed today in trunk. I'm afraid it won't be merged into 1.4-stable.

OK, thanks, I will use lightbox plugin for now :) It works perfect and handy.

What about large images pasted into comments / issue descriptions / wiki ? (it'd be good to automatically resize them and display full-sized on click).

#18 Updated by Etienne Massip over 5 years ago

rm user wrote:

What about large images pasted into comments / issue descriptions / wiki ? (it'd be good to automatically resize them and display full-sized on click).

This is discussed in another request but it is already possible to set specific sizes using textile css syntax !{width: 50px}my_picture.png!.

#19 Updated by Vitaly Klimov over 5 years ago

I would like to propose to keep generated thumbnails in attachments folder instead of a temp one, because thumbnails are not really temp files - they should present as long as image itself exists and valid.

#20 Updated by Jean-Philippe Lang over 5 years ago

Personally, i wouldn't like them to be mixed with the files that i have to backup. Thumbnails can be generated from real data files, they are temporary files for me.

#21 Updated by yac yac over 5 years ago

I think it would be nice to reach a common ground on the files fs location. I agree they aren't temporary, se we shouldn't lose them eg. in reboot. But they are derived. I'd like to have the option to simply backup just the base files without derived ones. And if I do want to, adding backup of the derived files is as simple as adding an item to a list.

#22 Updated by Luis Serrano Aranda about 5 years ago

It is possible add the thumbnail and / or inside the history when redmine write attached the file ...
So no need to go to the top of the issue to see the image

Thanks in advance

Also available in: Atom PDF