gnu-social/plugins/LinkPreview
Chimo a614205663 Add plugin READMEs 2016-02-08 17:48:37 +00:00
..
actions StatusNet class renamed GNUsocial 2015-02-27 12:44:15 +01: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

README

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');