Edgewall Software

Ticket #2827 (new enhancement)

Opened 3 years ago

Last modified 19 months ago

Preview attachments in main ticket (or wiki) window

Reported by: pkou at ua.fm Owned by: cboos
Priority: normal Milestone: 0.13
Component: attachment Version: devel
Severity: normal Keywords: thumbail image attachment
Cc:

Description

It will be useful if Trac shows previews for attachments in main ticket window.

This can be implemented using the Trac plugin architecture in order to allow extending the methods for generating previews for attachments. Taking into account overall performance of the system, the architecture should allow to run generating of previews in background when an attachment is added.

As a part of standard distribution, a displaying of scaled down images can be implemented:

Similar approach can be used in other places of Trac, e.g. previewing attachments in wiki.

Attachments

thumbailPreviewOfAttachImages.r6174.patch Download (14.7 KB) - added by Slava Zanko <slavaz> 20 months ago.
Preview attached images
Screenshot-SlavaZ.jpg Download (53.3 KB) - added by Slava Zanko <slavaz> 20 months ago.
SlavaZ's part of screenshot
thumbailPreviewOfAttachImages.r6253.patch Download (14.6 KB) - added by Slava Zanko <slavaz> 19 months ago.
renew patch
thumbailPreviewOfAttachImages.r6306.patch Download (14.6 KB) - added by Slava Zanko <slavaz> 19 months ago.
renew patch
thumbailPreviewOfAttachImages.r6370.patch Download (14.1 KB) - added by Slava Zanko 19 months ago.
renew patch

Change History

  Changed 3 years ago by pkou at ua.fm

Probably, this feature should be enabled per-project or per-user because it generates more traffic from a Trac site

follow-up: ↓ 6   Changed 2 years ago by hyuga <hyugaricdeau@…>

  • owner changed from anonymous to jonas
  • status changed from assigned to new
  • component changed from webadmin to general

Undoing other stupid changes.

Why is anonymous allowed to change ticket properties anyways?

in reply to: ↑ 5   Changed 2 years ago by cboos

Replying to hyuga <hyugaricdeau@gmail.com>:

Undoing other stupid changes.

I've deleted those, thanks for the notice.

Why is anonymous allowed to change ticket properties anyways?

It's a trade-off. Besides TicketButchers, we also sometimes have TicketGnomes :-)

Changed 20 months ago by Slava Zanko <slavaz>

Preview attached images

  Changed 20 months ago by Slava Zanko <slavaz>

  • keywords thumbail image attachment added
  • version changed from 0.9.4 to devel
  • milestone changed from 1.0 to 0.12

Some warnings: 1) This patch includes another patch of #2141 (Upload multiple files at once) 2) require Python Imaging Library

See my screenshot

Changed 20 months ago by Slava Zanko <slavaz>

SlavaZ's part of screenshot

Changed 19 months ago by Slava Zanko <slavaz>

renew patch

Changed 19 months ago by Slava Zanko <slavaz>

renew patch

Changed 19 months ago by Slava Zanko

renew patch

  Changed 19 months ago by Slava Zanko

  • owner changed from jonas to cboos
  • component changed from general to attachment

change Сomponent from "General" to "Attachment"

Add/Change #2827 (Preview attachments in main ticket (or wiki) window)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.