AlignImage
alignimage
About
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 & usage
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`
############################################################################################
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer ser1ous
- Latest release July 30, 2013 (13 years ago)
- First seen in SiteDash July 23, 2013 (13 years ago)
- License GPLv2
- MODX support 2.2 – 2.2
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
0.0.2-beta1 |
July 30, 2013
13 years ago |
|
|
<p>v0.0.2 beta</p><p>-Fix bootstrap gallery</p><p>v0.0.1 beta</p><p>-Fix read/write picture</p><p>-Add support FileDir </p><p>-Add support GetRecource</p><p>-Add support Gallery</p>
|
|||
|
No matching releases. |
|||