Git Product home page Git Product logo

spi-media-gallery's Introduction

C/I testing with coverage codecov Python 3.7+ License: MIT

spi-media-gallery

spi-media-gallery is a Django application developed for Swiss Polar Institute (SPI), currently used internally.

This is a Django application developed by the Swiss Polar Institute (SPI) and used internally since September 2019. The license is MIT: feel free to use it. If you need any help (there are no installation documentation at the moment) contact Carles Pina i Estany (https://github.com/cpina, [email protected]) or leave an issue.

project used internally by the Swiss Polar Institute

SPI has media stored in an object storage bucket (it's a in-house bucket but it could be an S3 bucket). It has more than 45000 photos (JPEG and different raw formats, about 0.5 TB) and more than 5000 videos (about 3.5 TB).

This tool was developed to be able to give easy access to these files. Different features of the tool:

  • It has support to create different sizes of the media in JPEG or webm (so any user with just a browser can access them)
  • It can import tags from Digikam XMP files into the database
  • It extracts the date+time of the photos, it can read a GPS track and geo-locate the photos (or manually)
  • Can search by tag or intersection of tags
  • Tags has a hierarchy
  • Can provide a list of all the videos or a CSV to make them easy to review
  • Can associate a photographer and a license to each photo
  • Django commands in order to associate photographers, copyright and licenses (based on the path of photos)
  • It has Django commands in order to rename tags or "merge" tags
  • It can export a directory as thumbnails and XMP files with the tags (not used much)

The tool could be used by other projects with similar needs (organise huge amount of photos). The advantage of this tool with other possible tools is that it's relatively easy to tune for specific needs. Ask if you doubt how to do something. The disavadvantage is obviously that it has been used only by one project and some features should be moved into the settings in order to personalise them better.

Currently, in order to add new media, it's needed to use Django commands: it's not possible to add media using or the web interface.

First part of the homepage:

Tags with hierarchy:

Second part of the homepage:

Section to select multiple tags and see media with those tags:

Photos intersection of two tags:

Example of a photo:

Documentation

More documentation is available in the documentation directory.

Contact

Please feel free to contact Carles Pina i Estany (https://github.com/cpina, [email protected]) for any help or in-depth information about the code in general. If you have any questions or comments about the Swiss Polar Institute installation or contents please send them to Swis Polar Institute IT.

spi-media-gallery's People

Contributors

cpina avatar dependabot[bot] avatar jen-thomas avatar macloux-dd avatar neerajdarwin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cpina brahimmade

spi-media-gallery's Issues

Filter photos by resolution

Add a way to filter photos by minimum resolution. E.g. this would allow to search for photos of certain tags (it includes events) that has at least certain resolution.

It's quite easy because the database already contains the resolution of the original photo but this is not exposed as a filter / search query.

Add description text

Media in the Project Application have a description text. This description text is not saved in the SPI Media Gallery. Should it be saved?

Search by license

To make it easier to find media that can be used, it would be useful to be able to search by the license that the media has.

As a couple of ideas, this could be within the list of tickboxes that are used for selecting the tags, or as an additional tick box that can be selected for narrowing down a search further.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.