Hi, I am looking to create a gallery that pulls images in from one source. I looked at 'randImages' as it seems simple and does what I need (pull images from one folder). But I can't find any info regarding placeholders to style my tpl chunk? Does anyone have any experience with this snippet please?
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk
-
☆ A M B ☆
- 24,524 Posts
If it's this one
http://modx.com/extras/package/randimages the image has the placeholders.
Hi Sottwell. Thank you I have since managed to run a random gallery using the gallery snippet
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk
TinymceWrapper >> TinyJSONGallery
MIGX getImageList
[[!getImageList?
&offset=`1`
&limit=`1` //if you want only one image
&randomize=`1`
&value=`[[$Nature_myGallery]]` //&tvname=`TinyJSONGalleryTV`
&tpl=`NatureAlbum_rowTpl`
&imgCls=`pic`
&rowCls=`magic`
&linkCls=`linked`]]
Each chunk or TV value is an album.
Each album is directly attached to your folder of choice.
You can query each album in multiple ways at once - and use different TPLs for each
[ed. note: donshakespeare last edited this post 10 years, 6 months ago.]
TinymceWrapper: Complete back/frontend content solution.
Harden your MODX site by
passwording your three main folders:
core, manager, connectors and renaming your
assets (thank me later!)
5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.