diff options
author | Odin Hørthe Omdal <odinho@opera.com> | 2014-05-12 23:41:03 +0200 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-07-16 14:29:58 -0500 |
commit | ffbf9c8b438ef8d203da54807b6ff5db3cc4d334 (patch) | |
tree | f97cfe2b965bc3dfbdc62342f9abe2fa23b8528d /docs/source | |
parent | e99431cc05dd6282f55d1e4cf18248e9d282455c (diff) | |
download | mediagoblin-ffbf9c8b438ef8d203da54807b6ff5db3cc4d334.tar.lz mediagoblin-ffbf9c8b438ef8d203da54807b6ff5db3cc4d334.tar.xz mediagoblin-ffbf9c8b438ef8d203da54807b6ff5db3cc4d334.zip |
Implement Raw Image media type plugin
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/siteadmin/media-types.rst | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/docs/source/siteadmin/media-types.rst b/docs/source/siteadmin/media-types.rst index 3e8a94e9..44ad02bb 100644 --- a/docs/source/siteadmin/media-types.rst +++ b/docs/source/siteadmin/media-types.rst @@ -1,6 +1,6 @@ .. MediaGoblin Documentation - Written in 2011, 2012 by MediaGoblin contributors + Written in 2011, 2012, 2014 by MediaGoblin contributors To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to @@ -18,8 +18,8 @@ Media Types ==================== In the future, there will be all sorts of media types you can enable, -but in the meanwhile there are five additional media types: video, audio, -ascii art, STL/3d models, PDF and Document. +but in the meanwhile there are six additional media types: video, audio, +raw image, ascii art, STL/3d models, PDF and Document. First, you should probably read ":doc:`configuration`" to make sure you know how to modify the mediagoblin config file. @@ -149,6 +149,28 @@ Run You should now be able to upload and listen to audio files! +Raw image +========= + +To enable raw image you need to install pyexiv2. On Debianoid systems + +.. code-block:: bash + + sudo apt-get install python-pyexiv2 + +Add ``[[mediagoblin.media_types.raw_image]]`` under the ``[plugins]`` +section in your ``mediagoblin_local.ini`` and restart MediaGoblin. + +Run + +.. code-block:: bash + + ./bin/gmg dbupdate + +Now you should be able to submit raw images, and mediagoblin should +extract the JPEG preview from them. + + Ascii art ========= |