max_width = integer(default=180)
max_height = integer(default=180)
-[media_type:mediagoblin.media_types.ascii]
-thumbnail_font = string(default=None)
-
[media_type:mediagoblin.media_types.pdf]
pdf_js = boolean(default=True)
acceptable_files = ['original', 'unicode']
def common_setup(self):
- self.ascii_config = mgg.global_config[
- 'media_type:mediagoblin.media_types.ascii']
+ self.ascii_config = mgg.global_config['plugins'][
+ 'mediagoblin.media_types.ascii']
# Conversions subdirectory to avoid collisions
self.conversions_subdir = os.path.join(