Hi,
surely i'm a noob, this is my first website in MODX, but i have a little problem. I try to nest two migx TV and all works perfectly, except that in the nested TV this.renderImage does not work.
The outer migx TV config:
[
{"caption":"Tabs", "fields": [
{"field":"name","caption":"Name","inputTV":"SliderName"},
{"field":"slides","caption":"Slides","inputTV":"Slides"},
{"field":"sort","caption":"Sort Order","inputTV":"SortOrder"}
]}
]
[
{"header":"Name","sortable":"true","dataIndex": "name"},
{"header":"Sort Order","sortable":"true","dataIndex": "sort"}
]
The inner:
[
{"caption":"Slides", "fields": [
{"field":"image","caption":"Image","inputTV":"SlideImage"},
{"field":"caption","caption":"Caption","inputTV":"SlideCaption"},
{"field":"video","caption":"Video","inputTV":"SlideVideo"},
{"field":"sort","caption":"Sort Order","inputTV":"SortOrder"}
]}
]
[
{"header":"Image","sortable":"false","dataIndex":"image","renderer":"this.renderImage"},
{"header":"Sort Order","sortable":"true","dataIndex":"sort"}
]
revo 2.2.6-pl.
migx 2.3.2-pl.
Custom media source defined in the TV SlideImage.
If i use the inner migx directly in a template, thumbs are rendered.
In the error log i found lot of these:
[2013-03-25 10:41:37] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /mnt/target03/352047/397107/my.domain.tld/web/content/core/cache/phpthumb/phpThumb_cache_my.domain.tld_srcb6ef40fa371bb068ef7357a6a83a44e9_parfe75230c38c1dd77cfb659e43ae25583_dat0.jpeg
[2013-03-25 10:41:37] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
Thanks.
[ed. note: mirkosassetti last edited this post 13 years, 6 months ago.]