We extended upload_image to upload_media. Now, audio attachments can be copied to audio nodes and a player is shown for every audio attachment.

This module does NOT use the database table of update_image. Instead, it creates two new tables for images and audios.

Feedback is welcome!

IMC linksunten

CommentFileSizeAuthor
#5 update.txt10 byteshasandpt
09-01-17-upload_media.tar_.gz10.82 KBlinksunten

Comments

linksunten’s picture

Title: upload_media (= upload_image + "upload_audio") » upload_media (= upload_image + "upload_audio" + "upload_data")

We built a new development version of upload_media, which can be found at the end of this article:
English: http://linksunten.indymedia.org/en/node/770
German: http://linksunten.indymedia.org/de/node/438

Now a node is created of every attachment (image via image module / audio via audio module / data (other) via file field). The attachment is deleted from the original node and the newly created node is reattached through a CCK node reference field. We also implemented a teaser image (through a node reference field, too).

Additionally we built in an option to wipe EXIF data from images and ID3 tags from audio files to provide more anonymity. We use this module together with http://drupal.org/project/uploadpath which we patched to cooperate with the private download method.

killes@www.drop.org’s picture

I have to admit that I am not particularly interested in extending this module in the proposed way.

linksunten’s picture

This module is the backbone of our media handling. We'll release it as a new project when we fixed more bugs and standardised it with the help of coder module. Thanks for your work!

killes@www.drop.org’s picture

Status: Needs review » Closed (won't fix)

ok

hasandpt’s picture

StatusFileSize
new10 bytes