Giter Site home page Giter Site logo

media_entity_d500px's Introduction

About Media entity

Media entity provides a 'base' entity for a media element. This is a very basic entity which can reference to all kinds of media-objects (local files, YouTube videos, tweets, CDN-files, ...). This entity only provides a relation between Drupal (because it is an entity) and the resource. You can reference to this entity within any other Drupal entity.

About Media entity D500px

This module provides 500px integration for Media entity (i.e. media type provider plugin).

Without 500px API

If you need just to embedded pics, you can use this module without using 500px's API. That will give you access to the only field available from the embed code: pic id.

You will need to:

  • Create a Media bundle with the type provider "D500px".
  • On that bundle create a field for the 500px source (this should be a plain text).
  • Return to the bundle configuration and set "Field with source information" to use that field.

With 500px API

If you need to get other fields, you will need to use 500px's API. The integration with the 500px's API is currently handled by another contributed module.

  • Download and enable d500px. Be sure to use composer as d500px requires a Guzzle library to work.
  • Follow d500px's instructions to enable the integration.
  • In your 500px bundle configuration set "Whether to use 500px api to fetch pics or not" to "Yes".

Storing field values

If you want to store the fields that are retrieved from 500px you should create appropriate fields on the created media bundle (camera, vote, etc) and map this to the fields provided by 500px API.

Project page: http://drupal.org/project/media_entity_d500px

Maintainers:

  • Vincent Bouchet (@vbouchet) drupal.org/u/vbouchet

IRC channel: #drupal-media

media_entity_d500px's People

Contributors

vbouchet31 avatar dakkusingh avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.