该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Kuvat.fi embed

描述

Overview

This plugin is for embedding a folders, photos or videos from the Kuvat.fi photo sharing service.

Kuvat.fi creates a great looking photo site from your photos. It’s easy to use and you can use it with your web browser, tablets and mobile devices. We’re based in Finland and have been running for 15 years.

Usage example

[kuvat width=1 height=1 bgcolor=0 thumbstrip=0 captions=0]https://demo.kuvat.fi/kuvat/[/kuvat]

Parameters

  • width: The desired width of the embedded view. Required. Possible values:
    • 1: Responsive width that fills the entire available horizontal space
    • A width in pixels (eg. 760)
  • height: The desired height of the embedded view. Required. Possible values
    • 1: Responsive height determined by the most used aspect ratio in the embedded folder. Requires width=1.
    • A height in pixels (eg. 420)
  • bgcolor: This sets the background color and theme for the browser. Possible values:
    • 0: Dark gray (default)
    • 1: Black
    • 2: Light gray
    • A hex string (eg. #e8e8e8)
  • thumbstrip: If set to 1, a film strip of the other photos in the same folder is shown. Possible values:
    • 0: Disabled (default)
    • 1: Enabled
  • captions: If set to 1, the caption of the current photo is displayed if the photo has one. By default, this will show multiple lines of text on a shaded background over the image. Possible values:
    • 0: Disabled (default)
    • 1: Enabled
  • captionbg: If set, caption will change to a single line of text on a background color that you can define. Possible values:
    • A hex string (eg. #0066c9)
    • An rgba color (eg. rgba(0,102,201,0.8))
  • captiontext: This will change the text color when used in combination with captionbg. The default text color is white. Possible values:
    • A hex string (eg. #ffffff)
    • An rgba color (eg. rgba(255,255,255,0.8))

屏幕截图

  • This is the basic embedded view with a dark theme and thumbnail strip enabled below the current photo.

安装

  1. Upload kuvatfi.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Where can I learn more about this service?

For more information, please visit our home page.

评价

2017 年 2 月 8 日
Activation fails: Parse error: syntax error, unexpected ‘[‘ in /home/XXXX/public_html/XXXXX/wp-content/plugins/kuvatfi-embed/kuvatfi.php on line 15
阅读所有2条评价

贡献者及开发者

「Kuvat.fi embed」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Kuvat.fi embed」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.2

  • Updated readme

1.1.1

  • Updated readme

1.1

  • Added support for responsive dimensions for the embedded view
    • Enable with width=1 and height=1 arguments
  • Added support for captions
    • Enable with the captions argument (eg. [kuvat captions=1]https://demo.kuvat.fi/kuvat/[/kuvat])
    • Change the appearance of the caption with captionbg and captiontext arguments
  • Fixed an error on old PHP versions
  • Removed a conflict with other oembed providers

1.0

  • Initial release.