On Friday, November 6, 2020 at 11:26:03 AM UTC-8 aiki...@gmail.com wrote:
> Hi, > > I did some searching but did not find what I'm looking for... maybe it > does not (yet) exist; or maybe I'm not looking for the right thing. > > Currently, someone creates a ticket and attaches one or more images (png, > jpg, etc) to the ticket and then adds wiki markup > [[Image(attachedFile.jpg)]] into the ticket's description. One ticket and > one attached file at a time. > > Ideally, in order to speed data entry up a bit, it would be nice that when > somone creates a ticket and attaches one or more images to the ticket then > the system automatically adds the necessary markup (to display the image) > to the ticket's description. Avoiding the step of adding the necessary > markup. > > Is there such a plugin? If not, how could I start creating one? > > Kindly, > Aikido Guy > This might help: https://trac-hacks.org/wiki/TracDragDropPlugin Each attachment has copyable Wiki markup for inserting the image. See last image on page. Or this: https://trac-hacks.org/wiki/AwesomeAttachmentsPlugin The Image macro is inserted into the ticket description when a file with extension jp[e]g, gif or png is added for upload. Ryan
_______________________________________________ th-users mailing list th-users@lists.trac-hacks.org https://lists.trac-hacks.org/mailman/listinfo/th-users