[[getImageList? &tvname=`resourcealbum` &tpl=`galleryMigxTpl` ]]
[[!PdoPage? &element=`pdoResources` &showHidden=`1` &tpl=`galleryPdoTpl` &limit=`10` &includeTVs=`resourcealbum` &parents=`[[*id]]` &ajaxMode=`default` ]]
[[!PdoPage? &element=`getImageList` &tpl=`galleryMigxTpl` &limit=`10` &includeTVs=`resourcealbum` &ajaxMode=`default` ]]
[[!PdoPage? &element=`getImageList` &tvname=`resourcealbum` &tpl=`galleryMigxTpl` &limit=`10` &ajaxMode=`default` ]]
you need all the getImageList-properties
[[!PdoPage? &element=`getImageList` &tvname=`resourcealbum` &tpl=`galleryMigxTpl` &limit=`10` &ajaxMode=`default` ]]
[[!PdoPage? &element=`getImageList` &tvname=`resourcealbum` &toPlaceholder=`migx_output` &tpl=`news_images` &limit=`12` &ajaxMode=`button` &where=`{"published":"1"}` ]]
does it load the correct path, without the pdoPage - stuff?
Or do you have that issue only while loading by ajax (after clicking the "load more" - button)?
[[!pdoPage? &elementClass=`modSnippet` &element=`migxLoopCollection` &limit=`3` &packageName=`mybooks` &classname=`mybooks` &sortConfig=`[{ "sortby":"id","sortdir":"DESC" }]` &tpl=`tplNovinki` &totalVar=`ImagTotal` &toPlaceholder=`ImagesResult` &ajaxMode=`button` ]]
Quote from: Bruno17 at Aug 26, 2016, 03:47 PMdoes it load the correct path, without the pdoPage - stuff?
Or do you have that issue only while loading by ajax (after clicking the "load more" - button)?
Only while loading by ajax (after clicking the "load more" - button)!!! The first limit(ex: &limit=`12`) loads with images, after clicking the "load more" there are no images. Without ajaxMode everything works well.
Similar problem and here migxdb.
[[!pdoPage? &elementClass=`modSnippet` &element=`migxLoopCollection` &limit=`3` &packageName=`mybooks` &classname=`mybooks` &sortConfig=`[{ "sortby":"id","sortdir":"DESC" }]` &tpl=`tplNovinki` &totalVar=`ImagTotal` &toPlaceholder=`ImagesResult` &ajaxMode=`button` ]]
The first limit(&limit=`3`) with images:
<img src="/assets/components/phpthumbof/cache/gde_to.ec6e4d1a9981a6032a93be153c3ff44c.jpg" alt="" class="img-responsive">
after clicking the "load more" - root directory. Can because I use imagePlus?
<img src="../domains/modx/" alt="" class="img-responsive">