Package Description
v0.0.2 beta
-Fix bootstrap gallery
v0.0.1 beta
-Fix read/write picture
-Add support FileDir
-Add support GetRecource
-Add support Gallery
Usage/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`
############################################################################################
Details
- Developer(s)
- ser1ous
- Released
- 2013-07-30
- First seen
- 2013-07-23
- License
- GPLv2
- Supported databases
- MySQL
- Minimum MODX Requirement
- 2.2
AlignImage Releases
Vendor | Signature | Released on |
---|---|---|
MODX.com | 0.0.2-beta1 | 2013-07-30 (11 years ago) |