Chimo a614205663 Add plugin READMEs 9 лет назад
..
actions 8fac7a9f6c StatusNet class renamed GNUsocial 10 лет назад
js 97830b0701 Preparing plugins for no-minify-in-core-policy 11 лет назад
locale d7fd6bac72 Snapshot of the Transifex translation project - October 2015 10 лет назад
LinkPreviewPlugin.php 2c5cba28b6 Change status.net/wiki URLs to git.gnu.io 9 лет назад
Makefile 8babcc2ad2 Makefile to compress LinkPreview's js 15 лет назад
README a614205663 Add plugin READMEs 9 лет назад

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