I assume you have installed getResource snippet.
Typos are important especialy apostrophe which is the first key below ESC and before the [1/!] on your keyboard. Others are uppercase, spaces etc. Try this and take a look on differences:
[[getResources?
&parents=`[[*id]]`
&tpl=`myfotosmini`
&showHidden=`1`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&sortby=`{"menuindex":"ASC","publishedon":"ASC"}`
]]
BTW. Including content might be slow in big queries. Sometimes it's better to find other ways. And if you don't have to serve new content on each page refresh use cached snippets (without ! on front).
[ed. note: godzio last edited this post 6 years, 2 months ago.]