1 May 2011 13:42
Re: [Trac-dev] Virtual attachments
Steffen Hoffmann <hoff.st <at> web.de>
2011-05-01 11:42:42 GMT
2011-05-01 11:42:42 GMT
Hello, 30.04.2011 19:09, wrote Mitar: > Hi! > > Is there some interface or other way to add virtual attachments to > the resource? Interesting question. Nothing in current code, AFAIK. I've reviewed a lot of the code supporting attachment resource for another development. > By virtual attachment I believe an attachment which would not be > really stored on the hard drive but would just be seen as a file > attached to the resource? So that [attachment:foo] link would work? > The idea is to be able to have external attachments (like links to > external pictures), so [attachment:foo] would translate to this > external link? Oh well, so you'd like to have a choice in current attachment upload dialog to not select a local file but fill in the URL to a remote resource instead, right? Further think about your demand then: 1. Exactly what transport protocols should be supported? 2. Require a download for auto-detecting file properties (file size, for images resolution too)? 3. Provide a method for "re-sync" on remote changes, even auto-detect them? 4. Cache a preview/thumbnail locally? 5. How to deal with (temporary) not available resources? Just to name some aspects. I wonder, if/how this fits in with the ideas about GenericTrac and rework of data models in Trac in general. > I would like to do that through attachments so that I would be able(Continue reading)
:::simon
RSS Feed