<![CDATA[ yams ditto and phx - My Forums]]> https://forums.modx.com/thread/?thread=45631 <![CDATA[Re: yams ditto and phx]]> https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263952
strange enough... something else you can try is this syntax in your img src
[[YAMS? &get=`data` &from=`grote-afb`]]
//or
[[YAMS? &get=`data` &from=`grote-afb` &docid=`[+id+]`]]

it works in certain cases...

have swing]]>
virtualbear Jul 05, 2011, 01:19 AM https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263952
<![CDATA[Re: yams ditto and phx]]> https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263951 fourroses666 Jul 04, 2011, 03:29 AM https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263951 <![CDATA[Re: yams ditto and phx]]> https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263950
have you tried the simple YAMS call
<img src="[[YAMS? &get=`chunk` &from=`grote-afb`]] alt="" />

using phx/phpThumb in your chunks instead of the phx input in the template ?

Have swing]]>
virtualbear Jul 03, 2011, 04:53 AM https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263950
<![CDATA[yams ditto and phx]]> https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263949
I have a ditto call:
[+phx:if=`[*id*]`:is=`2`:or:if=`[*parent*]`:is=`2`:then=`[[Ditto?extenders=`@FILE assets/modules/yams/yams.extender.inc.php` &phx=`0` &parents=`2` &total=`4` &showPublishedOnly=`1` &orderBy=`menuindex ASC` &noResults=`` &tpl=`thumb-submenu-inhoud`]]`:else=``+]


I have a chunk tpl with:
<div><a href="[~[+id+]~]"><img src="[+phx:input=`[[YAMS? &get=`text` &from=`nl::[+grote-afb_nl+]||en::[+grote-afb_en+]`]]`:phpthumb=`w=178&h=138&zc=C&q=85`+] " /></a></div>



The strainge thing about this is when i add this line below somewhere into the chunk the image works, when i leave this (hidden) line the image is not visible.
<!-
[[YAMS? &get=`text` &from=`nl::[+grote-afb_nl+]||en::[+grote-afb_en+]`]]
->


What do i do wrong lol.]]>
fourroses666 Jul 01, 2011, 04:16 AM https://forums.modx.com/thread/45631/yams-ditto-and-phx#dis-post-263949