What version are you using? when these errors occur?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Doze,
You asked me to upgrade to the latest SVN. I’m running ModX 0.9.6 and the here’s the MG call:
[!MaxiGallery? &display=`embedded` &embedtype=`smoothgallery` &galleryPictureTpl=`slideshowTpl` &smoothgallery_timed=`true` &smoothgallery_height=`250` &smoothgallery_width=`748` &smoothgallery_showInfopane=`false` &smoothgallery_fadeDuration=`800` &smoothgallery_embedLinks=`false` &smoothgallery_delay=`4500` &smoothgallery_preloader=`true` &smoothgallery_showCarousel=`false` !]
It seems as if every time I upload a picture it changes the permissions to the folder and the images. Weird too, it changes them to: 1304, 0204, weird permissions that I’ve never seen before. What’s going on?
No, the latest SVN code is not working and you should not use it with out modifying.. (all the chmod lines need to have hard coded values).
If you need the latest code from SVN, you should use an older revision.. I have probably pointed you to some other rev?
In any case, that’s the problem.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Latest working code from SVN should be
rev 137, but I haven’t tested it very thoroughly.. But I cannot remember why you need the code from SVN in first place..
Those styles are for the smoothgallery display type. It layouts the container div of the smoothgallery to &smoothgallery_height and &smoothgallery_width what are the value of &max_pic_size by default.. it also makes the id using &smoothgallery_id parameter what is needed when you have multiple smoothgalleries on same page and you want them to be different.. the id is page id by default.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
display:none because it’s made visible via the smoothgallery javascript and the js doubling is because of a bug that was in MODx 0.9.6. I suggest to update to 0.9.6.1 what fixes also lots of other things..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Doze,
I went ahead and did the upgrade, but I still have doubled galleries. And some of my galleries don’t show a manager button. At least the upgrade went smoothly!