Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Timber with Jetpack Photon

Mô tả

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

Cài đặt

Look for ‘Timber with Jetpack Photon’ in the plugin repository.

Đánh giá

3 Tháng Chín, 2016
If you are using Timber, as you should, and Jetpack's awesome Photon feature, you need this to make them both work together. Thanks Jeroen for putting it up together. Cheers man.
Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“Timber with Jetpack Photon” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

0.4

  • Fixes a problem with the latest Timber version.

0.3

  • Added support for the ‘letterbox’ filter.

0.2

  • Added support for the upcoming timber_image_src filter.

0.1

  • Proof of concept.