Giter VIP home page Giter VIP logo

fbphoto's Introduction

Facebook Photo/Album Text format for Drupal

Demo: The module can be tested on simplytest.me.

Install

  • This module has no dependency and can enabled directly.
  • Go to /admin/config/content/formats
    • Preferably (but not necessary) create a new Input Format.
    • Enable the "Facebook photo" filter on the desired text format.
    • Reorder the filters, make sure FBPhoto filter is processed before the "Convert URLs into links" filter.
    • If there is extra space between the photos, disable the "Convert line breaks into HTML (i.e.
      and

      )" filter.

Usage

  • The filter is now ready for use. Try with:
    • Album: [fb:https://www.facebook.com/media/set/?set=a.380743478891.164254.8427738891&type=3]
    • Photo: [fb:https://www.facebook.com/8427738891/photos/a.380743478891.164254.8427738891/380744538891/]
  • The CSS may need to be tweaked to make the picture display nice on current Drupal theme.
  • If the attach module is enabled, an alternate syntax can be used:
    • Album: [attach_fbphoto|url=https://www.facebook.com/media/set/?set=a.380743478891.164254.8427738891&type=3]
    • Photo: [attach_fbphoto|url=https://www.facebook.com/8427738891/photos/a.380743478891.164254.8427738891/380744538891/]

Integration with other modules

Credits

Andy Truong started development on the module. It is now co-maintained by Alan Lobo.

To contribute: Please make Pull Request on Github.

fbphoto's People

Contributors

alansaviolobo avatar

Watchers

Jon Pugh avatar James Cloos 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.