Thread Starter
Joy
(@joyously)
I just tried it on my localhost, and that works much better! Thank you. I didn’t try it on a live server.
I see one problem though. The default path makes sense, but you need some sort of dirty bit, so you know whether the user has set the path or not. Despite my having had the plugin installed and running before, when I activated this new version, it had wp-content/uploads/ as the path instead of my photos path.
I activated and went straight to the gallery setup page, not the settings page (because that’s what’s visible in the menu and I forgot how to use this plugin), so the plugin started churning out xml files for all my subfolders. Since you do write to the disk, you should be careful that you have the right settings before you write. If there were a check for whether the user had set the path (dirty bit) before generating the xml files, it would be much more friendly.
Okay, thanks for the warning. The plugin should do that. I’ll check.
Have just checked.
If the path is empty, the Lazyest Gallery menu will not appear and the writing of xml files is deactivated. The settings menu will show a warning. Also, if you set the path to one of the core WordPress subdirectories, the plugin will deactivate all but he Settings page.
However, the wp-content/uploads/ directory is considered ‘save’ to be used as a gallery directory. Maybe because of your earlier attempts to get the path fixed, wp-content/uploads/ remained in your settings.
I’ll add a rule so wp-content/uploads/ or other default WordPress upload folders cannot be selected for Lazyest Gallery.