Download the PHP package blueways/bw-placeholder-images without Composer

On this page you can find all versions of the php package blueways/bw-placeholder-images. 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 bw-placeholder-images

TYPO3 Extension: Placeholder Images

Generates SVG inline placeholder images from FAL Media elements. The Foundation Interchange plugin is configured to resolve the right responsive image. The SVG placeholder consists of three gradients with 9 different colors from the original FAL image to make it look more natural.

The color extrection code is based on Frans Saris lazy_load_placeholder TYPO3 extension. Lazy loading code inspired by Mika Tuupola. SVG inline compression is done like Taylor Hunt explained it in his blog post.

Requirements

Installation

This extension is installable only via composer.

Configuration

The Javascript File is automatically included via . This can be disabled by unsetting

Useage

The color extraction starts automatically after uploading any or image via FAL.

Viewhelper

Register the viewhelpers in any fluid template.

bw:lazyImage

This viewhelper acts like the normal viewhelper, however there is an svg image output of the referenced or . The final images are added via in Foundation Interchange style.

Example with different crop variants:

bw:lazyPlaceholder

Acts like viewhelper.

Foundation Interchange can handle responsive background images, this viewhelper helps to generate the nessecary Output of an image resource path.

Example without crop variant and only one final image for all sizes:

Attention: The Tag needs to be rendered with single quotes.

TODO


All versions of bw-placeholder-images with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^10.0 || ^11.0
ksubileau/color-thief-php Version ^1.3.0
ext-json Version *
typo3/cms-filemetadata Version ^10.0 || ^11.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 blueways/bw-placeholder-images contains the following files

Loading the files please wait ....