Ok, upgraded everything again: modx revo 2.1.1-pl, gallery 1.2.0-pl
system settings:
gallery.phpthumb_path: /home/domain/public_html/assets/components/phpthumb/ (
doesn’t exist!)
gallery.phpthumb_url: /assets/components/phpthumb/ (
doesn’t exist!)
phpthumb_document_root: blank
gallery.files_url: /assets/components/gallery/files/
gallery.assets_url:
http://www.maindomain.com/assets/components/gallery/
the folder ’phpthumb’ doesn’t exist in components, only ’phpthumbof’ and I can’t find the package phpthumb for Revo?
getResources call:
[[!getResources? &parents=`[[*id]]` &tpl=`QuickSandRowTpl2` &includeTVs=`1` &processTVs=`1` &includeContent=`1` &showHidden=`0` &depth=`2` &sortby=`pagetitle` &sortdir=`ASC` &limit=``]]
QuickSandRowTpl2:
<li data-id="[[+id]]"><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[!Gallery? &album=`[[+tv.GallerijNaam]]` &thumbTpl=`QuickSandThumbTpl` &imageWidth=`500` &imageHeight=`500` &sort=`name` &thumbWidth=`166` &thumbHeight=`111` &limit=`1` &dir=`ASC` &thumbProperties=`{"f":"jpg","q":"70%"}` &imageProperties=`{"f":"jpg","q":"70%"}`]]</a></li>
QuickSandthumbTpl:
<img src="[[+thumbnail]]" width="166" height="111" alt="" />
Frontend result:
<li data-id="1006"><a href="cars/beetle/1950-pearl-grey-std.html" title="1950 Pearl grey std Split window top restored"><img src="http://www.maindomain.com/assets/components/gallery/connector.php?action=web/phpthumb&w=166&h=111&zc=1&far=C&q=70%25&f=jpg&src=http%3A%2F%2Fen.otherdomain.com%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F5%2F5567.jpg" width="166" height="111" alt="" /></a></li>
<li data-id="1518"><a href="cars/beetle/1952-clean-blue-split.html" title="1952 Clean blue split!"><img src="http://www.maindomain.com/assets/components/gallery/connector.php?action=web/phpthumb&w=166&h=111&zc=1&far=C&q=70%25&f=jpg&src=http%3A%2F%2Fen.otherdomain.com%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F9%2F410.jpg" width="166" height="111" alt="" /></a></li>
en.otherdomain.com in the frontend result should be www.maindomain.com, but I can’t find this setting