Not sure I can help but I will try. I completely missed the http://forums.modx.com/thread/91148/getimages-missing-argument-in-modx-parsechunk thread as it was not posted in http://forums.modx.com/thread/81713/support-comments-for-getimages and would not have been much help there as I have never used this add-on in that way. Back to your question though: could you send me the snippit call you are using?
[[!getImages? &getImages_Folder=`assets/photos` &getImages_Ext =`*.jpg` &getImages_Tpl =`example_getImages_Page_Tpl` ]]
Quote from: jerry325 at Dec 12, 2014, 03:11 PM
Not sure I can help but I will try. I completely missed the http://forums.modx.com/thread/91148/getimages-missing-argument-in-modx-parsechunk thread as it was not posted in http://forums.modx.com/thread/81713/support-comments-for-getimages and would not have been much help there as I have never used this add-on in that way. Back to your question though: could you send me the snippit call you are using?
Tryed different variation of snippet, but none worked for me.
Still have same errors.
[[!getImages? &getImages_Folder=`assets/photos` &getImages_Ext =`*.jpg` &getImages_Tpl =`example_getImages_Page_Tpl` ]]
This is just the standard settings. I don't even know why you would be getting the parse chunk error??? Is this snippit call the only thing in the document? Is this web accessible so that I could take a look at it?
Quote from: jerry325 at Dec 12, 2014, 04:45 PMHard to tell what is going on from this. If this is on a test bed can I get access to the back end? Or could you place the snippit call on a blank document with no template with just the words begin and end on each side of it? If you need to send me a temp password you can private message me.
This is just the standard settings. I don't even know why you would be getting the parse chunk error??? Is this snippit call the only thing in the document? Is this web accessible so that I could take a look at it?
Yep, its only snippet on page. And text.
Temporarily available here: http://tajdus.cz/work/MODXhacienda/hotel/foto-ubytovani.html
I tried gallery and cliche, but only cliche work normaly without problems. So im thinking about some MODX setting or bad Hosting setting. But im Newbie to MODx, so im unable to find problem. :-(
Edit: Tried clean install, and getting same errors...
Thanx a lot Jerry. I just need to show images from folder. Nothing more. So its ok now. Thanx again.I use Easy Thumbnails, place them in a dotted sub-folder then let the link point to the full size image. It's not automatic but I have better control.
Now i need to generate thumb images. Any idea?
I use Easy Thumbnails, place them in a dotted sub-folder then let the link point to the full size image. It's not automatic but I have better control.
<li><a class="th" data-lightbox="galerie" href="[[+imgLink]]"><img src="thumb/[[+imgLink]]" /></a></li>
Quote from: jerry325 at Dec 14, 2014, 05:29 PMYep, that's why I made it. I've been looking into that as well and will post here when and if I get it working the way I like. I use a .thumb sub directory so that it doesn't show up with getFolders
I use Easy Thumbnails, place them in a dotted sub-folder then let the link point to the full size image. It's not automatic but I have better control.
Thanx again Jerry. I just created thumbnails manualy in FastStone Photo resizer, and created thumb folder with same directory tree as normal images. And added thumb/ before image tag.
<li><a class="th" data-lightbox="galerie" href="[[+imgLink]]"><img src="thumb/[[+imgLink]]"></a></li>
Works great and its so simple, that even I can do it When I get some experience with MODx, i will fix this to automatic thumb creation (I think phpThumb can do it, but now i dont know how).
<a href="[[+imgLink]]" target="_blank"> <img src="[[+path]].thumbs/lr_[[+imgFile]]" alt="[[+imgLink]]" /> </a>
.... <div id="content_inner"> <div id="plinth_wrapper"> [[!getResources? &showHidden=`1` &parents=`3,11,14` &tplCondition=`template` &conditionalTpls=`{"6":"frontpage-news-post","7":"frontpage-photos-post","9":"frontpage-events-post"}` &tpl=`frontpage-generic-post` &tvPrefix=`tv.` &includeTVs=`1` &processTVs=`1` &depth=`4` &limit=`6` ]] </div> <!-- plinth_wrapper --> </div> <!-- content_inner END --> ....
.... <div class="cp_post_container"> [[!getImages? &getImages_Folder=`assets/photos` &getImages_Ext=`*.jpg` &getImages_Tpl=`getImages_Tpl` &getImages_Limit=`6` &getImages_Offset=`8` &getImages_Width=`150` &getImages_Height=`100` &getImages_Border=`2` &getImages_Class=`img` ]] </div> <!-- cp_post_container END --> ....
<div class="photos"> <a href="[[+imgLink]]" target="_blank"> <img title="[[+image]]" src="[[+path]].thumbs/lr_[[+imgFile]]" alt="[[+imgLink]]" width="[[+width]]" height="[[+height]]" /> </a> </div>
[2015-02-08 10:44:01] (ERROR @ /modx-2.3.2-pl/connectors/index.php) Resource URI 2011/ already exists for resource id = 100; skipping duplicate resource URI for resource id = 214 [2015-02-08 10:44:01] (ERROR @ /modx-2.3.2-pl/connectors/index.php) Resource URI 2012/ already exists for resource id = 101; skipping duplicate resource URI for resource id = 215 [2015-02-08 10:44:01] (ERROR @ /modx-2.3.2-pl/connectors/index.php) Resource URI 2013/ already exists for resource id = 108; skipping duplicate resource URI for resource id = 216
PHP Version 5.3.3