Download the PHP package alpipego/resizefly without Composer

On this page you can find all versions of the php package alpipego/resizefly. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package resizefly

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

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

Description

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

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.

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.

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

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.

Prerequisites

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

Uninstalling

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

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.

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

Add a directive like:

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.

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.

Changelog

3.2.6

see https://github.com/alpipego/resizefly/releases for full changelog


All versions of resizefly with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
composer/installers Version ~1.0|~2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package alpipego/resizefly contains the following files

Loading the files please wait ....