2017 © Pedro PelĂĄez
 

wordpress-plugin resizefly

Dynamically resize WordPress images on the fly

image

alpipego/resizefly

Dynamically resize WordPress images on the fly

  • Tuesday, May 29, 2018
  • by alpipego
  • Repository
  • 1 Watchers
  • 11 Stars
  • 198 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 19 Versions
  • 1 % Grown

The README.md

ResizeFly

Contributors: alpipego
Tags: dynamic images, dynamic, image, png, jpg, gif, photo, media library, on-the-fly, resize
Stable tag: 3.2.6
License: MIT
Requires at least: 4.7.0
Requires PHP: 5.6
Tested up to: 5.6, (*1)

Dynamically resize your WordPress images on the fly. Upload them once and don't worry about missing or new image sizes., (*2)

Description

Instead of creating image sizes on upload, this plugin only creates them when requested., (*3)

Normally after activating a new theme or plugin that adds new image sizes, you will have to use a tool like Regenerate Thumbnails to create the newly registered image sizes. Depending on the size of the media library and the "power" of your server, this might take a while or even take several tries to process all your images; and in the end, you don't even know if you'll need all of the resized images., (*4)

This plugin takes care of the resizing dynamically and creates the requested size the moment it is first requested—and only when it is requested., (*5)

Support

For users: Please use the support forums on wordpress.org
For developers: Head over to the Github repository
For everything else, find me on twitter or on slack, (*6)

Installation

  1. Upload the plugin to your plugins directory (usually wp-content/plugins)
  2. Make sure you have Pretty Permalinks enabled
  3. Activate the plugin

The plugin handles the images from here on. The resized images are saved in a subfolder inside your uploads directory., (*7)

Prerequisites

You'll need at least PHP 5.5, WordPress 4.7 and either GD or Imagick on your server., (*8)

Uninstalling

If you want to uninstall the plugin for good, make sure to regenerate your image thumbnails/sizes afterward using Regenerate Thumbnails or similar., (*9)

Frequently Asked Questions

Why does this not work when using NGINX?

Often your NGINX is configured in a way to serve the image as a static resource and in case of failure throw a 404 Not Found error., (*10)

To work around this, make sure the request is sent to WordPress when the image cannot be found., (*11)

Add a directive like:, (*12)

location ~* (/[^/]+/)?uploads/(.+\.(png|gif|jpe?g)) {
    try_files $uri $uri/ /index.php?q=$uri&$args;
    expires max;
    log_not_found off;
    access_log off;
}

If you have one long location directive listing all the static file formats (css, js, zip, etc.), you can also just drop the try_files $uri $uri/ /index.php?q=$uri&$args; in there., (*13)

Why is there a resizefly-duplicate directory in my uploads folder?

The plugin stores an optimized duplicate of each image in this folder. The reason for this is, that image resizing puts a strain on your server and uses comparably a lot of resources. To minimize this ResizeFly creates an optimized copy from which the smaller image sizes will be created., (*14)

Changelog

3.2.6

  • fix issue with trying to add number to string
  • revert methods to get image id to prevent db strain

see https://github.com/alpipego/resizefly/releases for full changelog, (*15)

The Versions

29/05 2018

dev-develop

dev-develop

Dynamically resize WordPress images on the fly

  Sources   Download

MIT GPL 2.0+

The Requires

 

The Development Requires

29/05 2018

dev-master

9999999-dev

Dynamically resize WordPress images on the fly

  Sources   Download

MIT GPL 2.0+

The Requires

 

The Development Requires

29/05 2018

2.1.4

2.1.4.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

28/05 2018

2.1.3

2.1.3.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

27/05 2018

2.1.2

2.1.2.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

26/05 2018

2.1.1

2.1.1.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

20/03 2018

2.1.0

2.1.0.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

13/03 2018

2.0.5

2.0.5.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

12/02 2018

2.0.4

2.0.4.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

11/02 2018

2.0.3

2.0.3.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

08/02 2018

dev-fix/win-paths

dev-fix/win-paths

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

08/02 2018

2.0.2

2.0.2.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

09/11 2017

2.0.1

2.0.1.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

05/11 2017

2.0.0

2.0.0.0

Dynamically resize WordPress images on the fly

  Sources   Download

MIT

The Requires

 

The Development Requires

14/06 2017

1.3.5

1.3.5.0

Dynamically resize WordPress images on the fly

  Sources   Download

GPL 2.0+

The Requires

 

01/12 2016

1.3.4

1.3.4.0

Dynamically resize WordPress images on the fly

  Sources   Download

GPL 2.0+

The Requires

 

14/09 2016

1.3.3

1.3.3.0

Dynamically resize WordPress images on the fly

  Sources   Download

GPL 2.0+

The Requires

 

21/08 2016

1.3.2

1.3.2.0

Dynamically resize WordPress images on the fly

  Sources   Download

GPL 2.0+

The Requires

 

21/08 2016

1.3.1

1.3.1.0

Dynamically resize WordPress images on the fly

  Sources   Download

GPL 2.0+

The Requires