object(mysqli_result)#13 (5) { ["current_field"]=> int(0) ["field_count"]=> int(25) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> int(0) } Word Press Regenerate Thumbnails Plugins - 程序員論壇 - Powered by Discuz!

程序員論壇

標題: Word Press Regenerate Thumbnails Plugins [打印本頁]

作者: GreenCup    時間: 2018-12-12 13:25
標題: Word Press Regenerate Thumbnails Plugins
Regenerate Thumbnails Plugins
https://wordpress.org/plugins/regenerate-thumbnails/

Regenerate Thumbnails allows you to regenerate all thumbnail sizes for one or more images that have been uploaded to your Media Library.

This is useful for situations such as:

A new thumbnail size has been added and you want past uploads to have a thumbnail in that size.
You’ve changed the dimensions of an existing thumbnail size, for example via Settings → Media.
You’ve switched to a new WordPress theme that uses featured images of a different size.
It also offers the ability to delete old, unused thumbnails in order to free up server space.

Alternatives
WP-CLI

If you have command line access to your server, I highly recommend using WP-CLI instead of this plugin as it’s faster (no HTTP requests overhead) and can be run inside of a screen for those with many thumbnails. For details, see the documentation of its media regenerate command.

Jetpack’s Photon Module

Jetpack is a plugin by Automattic, makers of WordPress.com. It gives your self-hosted WordPress site some of the functionality that is available to WordPress.com-hosted sites.

The Photon module makes the images on your site be served from WordPress.com’s global content delivery network (CDN) which should speed up the loading of images. Importantly though it can create thumbnails on the fly which means you’ll never need to use this plugin.

I personally use Photon on my own website.


https://wordpress.org/plugins/regenerate-thumbnails/







歡迎光臨 程序員論壇 (http://program.thesmartfire.com/) Powered by Discuz! X2.5