sfClearBoxWindowPlugin - 0.0.7

Clear Box Window Plugin for Images

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source | Show as Markdown

sfClearBoxWindow plugin

sfClearBoxWindowPlugin is used to view images like slideshow.

Installation

symfony plugin-install http://plugins.symfony-project.com/sfClearBoxWindowPlugin

Usage

cbw_image().

The plugin is very easy to use.

<?php use_helper('ClearBoxWindow')?>
<?php echo cbw_image(image_tag('/gallery/1.jpg'), '/gallery/1.jpg',array('rel'=>'clearbox[Blossom]')); ?>
<?php echo cbw_image(image_tag('/gallery/2.jpg'), '/gallery/2.jpg',array('rel'=>'clearbox[Blossom]')); ?>
<?php echo cbw_image(image_tag('/gallery/3.jpg'), '/gallery/3.jpg',array('rel'=>'clearbox[Blossom]')); ?>
<?php echo cbw_image(image_tag('/gallery/4.jpg'), '/gallery/4.jpg',array('rel'=>'clearbox[Blossom]')); ?>
<?php echo cbw_image(image_tag('/gallery/5.jpg'), '/gallery/5.jpg',array('rel'=>'clearbox[Blossom]')); ?>

Give proper image path. See your apps\web\sfClearBoxWindowPlugin\ for js,css,image & gallery. Initial public release.

=== 2009-01-06 | 0.0.7 beta ====

Use clearbox.js to enhance it's functionality.