README 580 B

123456789101112131415161718192021222324
  1. The LinkPreview plugin adds a UI for previewing thumbnails from links.
  2. Note: This plugin depends on the "Oembed" plugin.
  3. Installation
  4. ============
  5. add "addPlugin('LinkPreview');"
  6. to the bottom of your config.php
  7. Settings
  8. ========
  9. process_links: Whether to process links or not
  10. thumbwidth: The width of the link preview
  11. thumbheight: The height of the link preview
  12. Example
  13. =======
  14. addPlugin('Oembed'); // Dependency
  15. $config['attachments']['process_links'] = true;
  16. $config['attachments']['thumbwidth'] = 42;
  17. $config['attachments']['thumbheight'] = 42;
  18. addPlugin('LinkPreview');