Hi,
MODX 2.2.4
MIGX 2.1.1
i've been following tutorials for MIGX and thought i'd grasped it but i cannot figure out why it's not working correctly.
My aim is to have 6 thumbnail images display in the footer region (so on every page)
- I have a template 'Footer-images'
- I have an image TV - 'imageTv' (no template access)
- I have the MIGX TV - 'footerImagesTv' (template access to 'Footer-images')
footerImagesTv - Form Tabs:
[
{"caption":"Image", "fields":[
{"field":"image","caption":"Image","inputTV":"imageTv"}
]}
]
Grid Columns
[
{"header": "Image", "width": "50", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"}
]
I have a Chunk for my images:
<img src="[[+image:phpthumbof=`w=50&h=40&zc=1``]]" alt=""/>
In my footer chunk to display the images i have:
[[getImageList?
&tvname=`footerImagesTv`
&tpl=`footerImagesTpl`
&docid=`[[~30]]`
&limit=`6`
]]
I can add an image on my resource #30 but on the front-end of the site it's the wrong image (as in it's not the image i've uploaded but another image from that folder) and it's full size. I can't figure out what the issue is so any advice would be gratefully received.
Thanks
J
[ed. note: Bruno17 last edited this post 11 years, 9 months ago.]