I know this is an old thread, but I need to show the thumbnails and the big picture on the same page, so I followed the instructions in the wiki.
This seemed to work fine, but...
When I upload an image I get this error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: chmod() [function.chmod]: No such file or directory
Error type/ Nr.: Warning - 2
File: /...path.../assets/snippets/maxigallery/maxigallery.php
Line: 372
Line 372 source: chmod($mg->path_to_gal.$name,0666);
Parser timing
MySQL: 0.0128 s (5 Requests)
PHP: 12.9728 s
Total: 12.9856 s
It only seems that chgmod permission is denied, but the image is uploaded fine. So, this is not the biggest problem.
But if I try to change something, for instance the id, or a title or description, neither of these changes are being saved. Deleting the picture works fine.
I never experienced this kind of problems before with MaxiGallery. So I gave my own templates a try and everything just works fine.
Can’t figure out what’s causing the problem: the mgJs javascript, or the mgGalleryPicture template (or both).
Oh, allmost forgot: I use MaxyGallery 0.5.2 and modx 0.9.6.3.
So please, can anyone help me with this problem or is there perhaps another solution?