Edgewall Software

Ticket #2827 (new enhancement)

Opened 3 years ago

Last modified 9 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:

  • The size of scaled picture can be configured;
  • There is an excellent Python Imaging Library that will do the work.

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

Attachments

thumbailPreviewOfAttachImages.r6174.patch (14.7 kB) - added by Slava Zanko <slavaz> 10 months ago.
Preview attached images
Screenshot-SlavaZ.jpg (53.3 kB) - added by Slava Zanko <slavaz> 10 months ago.
SlavaZ's part of screenshot
thumbailPreviewOfAttachImages.r6253.patch (14.6 kB) - added by Slava Zanko <slavaz> 9 months ago.
renew patch
thumbailPreviewOfAttachImages.r6306.patch (14.6 kB) - added by Slava Zanko <slavaz> 9 months ago.
renew patch
thumbailPreviewOfAttachImages.r6370.patch (14.1 kB) - added by Slava Zanko 9 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 16 months 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 16 months 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 10 months ago by Slava Zanko <slavaz>

Preview attached images

  Changed 10 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 10 months ago by Slava Zanko <slavaz>

SlavaZ's part of screenshot

Changed 9 months ago by Slava Zanko <slavaz>

renew patch

Changed 9 months ago by Slava Zanko <slavaz>

renew patch

Changed 9 months ago by Slava Zanko

renew patch

  Changed 9 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



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