Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Hide original files, show only downsized ones.

Project Description

This plugin stashes away the original file, and uses a downsized one as the original for mediagoblins purposes. The full size original is available in the media entry field hidden_original.

The hidden original gets a non-guessable path (currently using python’s uuid.uuid4() to generate it). If you’re using SSL, this should keep your original files well hidden.

This plugin is licensed under the GNU APGL v3+.

Currently requires a patched mediagoblin to make it run image preprocessing hooks, check out branch stock of


If you’ve checked out this plugin and mediagoblin in the same parent directory, you should be able to build and install with

../mediagoblin/bin/python build ../mediagoblin/bin/python install


After installing, run the built-in unit tests by invoking python2 test in the root directory. The tests require an installed version of GNU MediaGoblin to be available for importing. If you’ve checked out this plugin and mediagoblin in the same parent directory, you should be able to run

../mediagoblin/bin/python test


  • Functions to re-create the secret urls (mv the file from the old secret url to a new randomly created one). One function for a particular entry, one that does it for all of them.
  • Long term: The hidden original should probably be completely inaccessible by default (in some “private_storage”?); and there should be a function reveal_hidden(entry) which makes the original accessible through some secret url for sharing that original, and another function revoke_revelation(secret_url) to revoke a particular share. One entry should be able to have several such published secret urls, so a user can share with otheruser1 and otheruser2, one url each, and then e.g. revoke the first url without the second one being revoked as well.
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mediagoblin-hidden_original-0.1.4.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Jan 30, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting