How are image and QuickTime movies handled as attachments? I'd like to use the Lightbox module for QT files and it seems possible with a bit of modification to the .js file. Doing this however doesn't work.
I think it's because of the way attachments are handled upon upload and I can see that an image file has a different url than a movie file, other that just name obviously.
When disposition is set to attachment, browser is forced to download the file and skips displaying it inline.
At the moment, activeCollab offers inline display for images only - all other file types are forced as attachments. For details, check Attachment::getViewUrl() method (attachment model is defined in resources module).
How are image and QuickTime movies handled as attachments? I'd like to use the Lightbox module for QT files and it seems possible with a bit of modification to the .js file. Doing this however doesn't work.
I think it's because of the way attachments are handled upon upload and I can see that an image file has a different url than a movie file, other that just name obviously.
.jpg: http://xxx/attachments/220?disposition=inline&project_id=13
.mov: http://xxx/attachments/217?disposition=attachment&project_id=13
Am I correct in thinking that this might be the reason it doesn't work?