forked from GNUsocial/gnu-social
Advantages: * Increases security by preventing direct access to file/ * We are careful and have a defined('GNUSOCIAL') || die() to prevent direct access to GS files, but we may miss one or a vendor/extlib may not be as careful * Improves directory structure - It's more natural to physically separate what is public from what are GNU social resources
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');