Download the PHP package novactive/ezcloudinarybundle without Composer
On this page you can find all versions of the php package novactive/ezcloudinarybundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download novactive/ezcloudinarybundle
More information about novactive/ezcloudinarybundle
Files in novactive/ezcloudinarybundle
Package ezcloudinarybundle
Short Description Novactive eZ Cloudinary Bundle is an eZPlatform bundle for Images optimizations and manipulations.
License MIT
Homepage https://github.com/Novactive/NovaeZCloudinaryBundle
Informations about the package ezcloudinarybundle
Novactive eZ Cloudinary Bundle
This repository is what we call a "subtree split": a read-only copy of one directory of the main repository. It is used by Composer to allow developers to depend on specific bundles.
If you want to report or contribute, you should instead open your issue on the main repository: https://github.com/Novactive/Nova-eZPlatform-Bundles
Documentation is available in this repository via .md
files but also packaged here: https://novactive.github.io/Nova-eZPlatform-Bundles/master/CloudinaryBundle/README.md.html
Novactive eZ Cloudinary Bundle is an eZPlatform bundle for Images optimizations and manipulations.
This bundle brings the power of Cloudinary in your eZ Platform project.
For this first version, the plugin allows you to define Cloudinary Variation on top of eZ Variations. Images stay on your servers but the SRC is adapted to make Cloudinary rendering/manipulating images.
All the configuration is SiteAccessAware then you can have different one depending on the SiteAccess
INSTALL
Use Composer
Add the lib to your composer.json, run composer require novactive/ezcloudinarybundle
to refresh dependencies.
Then inject the bundle in the bundles.php
of your application.
Setup your credentials
Usage
This bundle mimics the native image variation system.
In your template
Automatically, nova_ezcloudinary_alias
will be used instead of ez_image_alias
.
The bundle fallback on the native Variation system if the alias name does not exist in cloudinary_variations
Then basically there is no change in your code, just yaml configuration for your Variation.
if you have overrided the content_fields, be sure to update the call to
nova_ezcloudinary_alias
Chained Transformations
Chained transformations can be done by adding an array to the configuration like so:
Local mode
This bundle uses the fetch mode of Cloudinary, then images have to be "reachable" to be converted.
BUT, obviously your localhost is not public, to bypass that situation, we recommand the usage of ngrok
Let's assume your webserver listen on the TCP port 42080
You will get something like: http://xxxxx.ngrok.io
And you can set up that in the configuration:
you can do your own tunnel, here, but
ngrok
is really good at it
Local mode without Cloudinary
You can also disable all Cloudinary variations for you local usages, using only native ezplatform variation: