AlignImage 0.0.2-beta1

AlignImage 0.0.2-beta1

Released Jul 30, 2013 by ser1ous

AligeImage is the component that is designed to show you the required images in the same 

format as provides search results of Google. This addition can be combined  with the 

components of Gallery and GetResourse and FileDir.

Download 18kb (1136 downloads)
Downloads: 1,327
License: GPLv2
Requires Revolution 2.2.x or greater
Compatible up to Revolution 2.2.x
Supports mysql

v0.0.2 beta

-Fix bootstrap gallery

v0.0.1 beta

-Fix read/write picture

-Add support FileDir 

-Add support GetRecource

-Add support Gallery

Installation Instructions

Attention! Before using make sure that you set up IMAGEMAGICK application for PHP.

############################################################################################

How to use AlignImag with Gallery

Add snippet AlignImage

Example

[[AlignImage?

 &snippet=`Gallery`

 &lineLimit=`5`

 &limit=`40`

 &lineWidth=`563`

 &album=`Gallery`

]]

&snippet - the name of the snippet, the default Getresource

&lineLimit - the number of images in a row

&limnt - the number of images

&lineWidth - the number of pixels in width for the gallery

&album - an album name 

############################################################################################

How to use AligImag with GetRecource

Add snippet AlignImage

Example

[[AlignImage?

  &snippet=`getResources`

  &parents=`3`

  &sortby=`{"menuindex":"ASC"}`

  &lineLimit=`4`

  &limit=`40`

  &lineWidth=`563`

  &tvPrefix = `tv.`

]]

&snippet - the name of the snippet, the default GetRecource

&lineLimit - the number of images in a row

&limnt - the number of images

&lineWidth - the number of pixels in width for the gallery

&parents - parenting resource identifier list, separated by commas. Use -1 to avoid parental resources ..

&sortby - Any resource box (with the exception of template variables) to sort.

&showHidden - Show hide in meny or no

############################################################################################

How to use AligImag with FileDir

Add snippet AlignImage

Example

[[AlignImage?

  &snippet=`filedir`

  &dir=`img/`

  &lineLimit=`4`

  &limit=`40`

  &lineWidth=`563`

]]

&snippet - the name of the snippet, the default GetRecource

&lineLimit - the number of images in a row

&limnt - the number of images

&lineWidth - the number of pixels in width for the gallery

&dir - path to the folder, the default assets/

############################################################################################

Advanced settings.

############################################################################################

&tpl_in - the name of the chunk, in which the image is placed

&image_absolute - this url to a reduced image

&id - id image

&album - the album title

&origin - a reference to the original image

& tpl_out - Name chunk of that is wrapped up our result

############################################################################################

For use with the Bootstrap Gallery add any calls

& tpl_in = `tpl.galAlignImage_bootstrap`

& tpl_out = `tpl.outAlignImage_bootstrap`

############################################################################################

v0.0.2 beta

-Fix bootstrap gallery

v0.0.1 beta

-Fix read/write picture

-Add support FileDir 

-Add support GetRecource

-Add support Gallery

Version Released Author Downloads
2 Versions 1 Contributors 1,328 Downloads
0.0.1-beta1 Jun, 24 2013 ser1ous 192