gnu-social/plugins/LinkPreview
Chimo ba2975aac8 Update handle() method on Action subclasses.
Fixes handle()-related strict warnings such as "Strict Standards:
Declaration of AdminPanelAction::handle() should be compatible with
Action::handle()"

Ref. #190
2016-06-01 02:26:44 +00:00
..
actions Update handle() method on Action subclasses. 2016-06-01 02:26:44 +00:00
js Preparing plugins for no-minify-in-core-policy 2014-02-24 01:01:34 +01:00
locale Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
LinkPreviewPlugin.php Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
Makefile Makefile to compress LinkPreview's js 2010-12-22 15:04:50 -08:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00

The LinkPreview plugin adds a UI for previewing thumbnails from links.

Note: This plugin depends on the "Oembed" plugin.

Installation
============
add "addPlugin('LinkPreview');"
to the bottom of your config.php

Settings
========
process_links: Whether to process links or not
thumbwidth: The width of the link preview
thumbheight: The height of the link preview

Example
=======
addPlugin('Oembed'); // Dependency
$config['attachments']['process_links'] = true;
$config['attachments']['thumbwidth'] = 42;
$config['attachments']['thumbheight'] = 42;
addPlugin('LinkPreview');