tdVisualFactoryPlugin
0.1.2beta
for sf 1.4sf 1.3 and Doctrine
MIT
The tdVisualFactoryPlugin is a symfony plugin that provides funcionalities for uploading pictures into separate albums using additional features, such as configurable multiple sizes, watermarks, etc.
This plugin is a part of TD CMF and is based on Doctrine ORM.
Developers
| Name |
Status |
Email |
Tomasz Ducin |
lead |
moc.liamg <<ta>> nicud.zsamot
|
License
Copyright (c) 2009-2010 Tomasz Ducin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Releases for sf 1.4
| Version |
License |
API |
Released |
|
0.1.2beta
|
MIT |
0.1.2beta
|
30/09/2010 |
|
0.1.1beta
|
MIT |
0.1.0beta
|
04/09/2010 |
|
0.1.0beta
|
MIT |
0.1.0beta
|
24/02/2010 |
Releases for sf 1.3
| Version |
License |
API |
Released |
|
0.1.2beta
|
MIT |
0.1.2beta
|
30/09/2010 |
|
0.1.1beta
|
MIT |
0.1.0beta
|
04/09/2010 |
|
0.1.0beta
|
MIT |
0.1.0beta
|
24/02/2010 |
| Name |
Channel |
Version |
| tdCorePlugin |
plugins.symfony-project.org |
0.1.10- |
Changelog for release 0.1.2 - 30/09/2010
- fixed bug when adding images to a new album (thanks to ÐлекÑей Радюк)
Other releases
Release 0.1.2 - 30/09/2010
- fixed bug when adding images to a new album (thanks to ÐлекÑей Радюк)
Release 0.1.1 - 04/09/2010
- added backend module AJAX activate/deactivate interface
Release 0.1.0 - 24/02/2010
tdVisualFactoryPlugin
Provides funcionalities for uploading pictures into separate albums using
additional features, such as configurable multiple sizes, watermarks, etc.
This plugin is a part of TD CMF and is based on Doctrine ORM.
Installation
Install the plugin via the subversion repository by executing the following
command from the project root directory:
$ svn co http://svn.symfony-project.com/plugins/tdVisualFactoryPlugin/trunk plugins/tdVisualFactoryPlugin
or by using the default symfony plugin install command:
$ ./symfony plugin:install tdVisualFactoryPlugin
Usage
You shall redefine the configuration td_visual_factory_sizes array and
define custom sizes of uploaded images. Each uploaded image will be stored
in the original format and all defined custom sizes.
After defining custom image sizes, you shall create directories storing
those specific size images (in the default upload directory, which is
uploads/td/images/ and make sure those directories have permissions to
write new files in.
The first of all custom image sizes is used as the thumbnail size in admin
generator (image album editing with image list).
Configuration
You can modify settings of the tdVisualFactoryPlugin in the
config/tdVisualFactoryPluginConfiguration.class.php file:
td_visual_factory_watermark_dir - (String) upload dir of all watermark
images,
td_visual_factory_image_dir - (String) upload dir of all images,
td_visual_factory_sizes - (Array) all image sizes (not counting
the original uploaded file),
td_visual_factory_watermark_sizes - (Array) all image sizes (they have to
be included in the td_visual_factory_sizes array) that shall be
watermarked,
td_visual_factory_watermark_prefix - (String) prefix for intermediate
watermarked image creation files. By default it's 'tmp-', so if the file
1ba05c.jpg represents resized and watermarked image, then tmp-1ba05c.jpg is
the same image: after resizing, but before putting the watermark on it,
td_visual_factory_size_thumbnail - (String) the size used on the frontend
within lightbox widget - as the thumbnail,
td_visual_factory_size_full - (String) the size used on the frontend
within lightbox widget - as the zoomed, full size image,
td_visual_factory_mode - (String) external library use within the Visual
Factory, can be either gd (GD) or im (Imagick).
To use the activate/deactivate AJAX interface in the backend td_image_album
module, remember to enable the graphics module of the tdCorePlugin
inside your settings.yml file (see tdCorePlugin README).
enabled_modules: [graphics ]( ...,)
Dependencies
At least one of the following graphics libraries: