Modify

Opened 14 years ago

Last modified 8 years ago

#7044 assigned defect

AwesomeAttachments interacts badly with Preview

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: AwesomeAttachmentsPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

Hi, I tried to use AwesomeAttachments plugin and it works nicely in that it simplifies uploading and publishing of the in-line images. It has one unfortunate feature though that renders it practically unusable - after I select file to upload and then click Preview button two things happening:

  1. Image macro inserted into description is rendered as scary red box telling that image does not exists. Would be better to display some sort of placeholder (or maybe even upload image to temporary location and use that location for rendering)
  1. The file name box is cleared in the preview form, so I have to re-select the uploads again. This is not very obvious thing to do, so I always forget this and just click "Submit". If I'm attaching image then Image macro in DEscription produces an error.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Ryan J Ollos

Owner: changed from Dan Ordille to Ryan J Ollos
Status: newassigned

comment:2 in reply to:  description Changed 8 years ago by Ryan J Ollos

Replying to anonymous:

  1. Image macro inserted into description is rendered as scary red box telling that image does not exists. Would be better to display some sort of placeholder (or maybe even upload image to temporary location and use that location for rendering)

This has been fixed by Trac 1.0.

  1. The file name box is cleared in the preview form, so I have to re-select the uploads again. This is not very obvious thing to do, so I always forget this and just click "Submit". If I'm attaching image then Image macro in DEscription produces an error.

Yes, this is still a problem due to the feature being implemented in JavaScript. However, now that Trac has implemented an autopreview it's less of an issue, provided the user doesn't do an explicit Preview.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.