plugin-icon

Timber with Jetpack Photon

Plug-in to use JetPack's free Photon image manipulation and CDN with Timber.
評価機能
5
最終更新日時
November 1, 2015
バージョン
0.4
有効インストール数
20

Make the Timber plugin work with Jetpack’s Photon. Once installed, all TimberImages use Photon as a CDN and for image manipulation (eg. resize).

Photon is an image acceleration and modification service for Jetpack-connected WordPress sites. Converted images are cached automatically and served from the WordPress.com CDN. Photon is part of the Jetpack plugin and completely free.

What does it do?

Timber with Jetpack Photon extends the current TimberImage class to use Photon to serve and manipulate your images:

  • {{post.thumbnail.src}} returns a Photon URL
  • {{post.thumbnail.src|resize(100)}} returns a Photon URL
  • {{post.thumbnail.src|resize(100,200)}} returns a Photon URL

A Photon URL looks like this:

//i0.wp.com/www.slimndap.com/wp-content/uploads/2014/05/slimndap.png

Requires the Timber plugin by Jared Nova and the Jetpack plugin with Photon activated.

Contributors welcome

Author

無料Creator プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティ製プラグインの規約に同意したとみなされます。
有効インストール数
20
最大テスト回数
3.9.40
このプラグインをダウンロードして、インストール型 WordPress のインストールに使用できます。