Hi,
You probably have noticed this problem. It is not related to this version, as I had the same issue in the previous version.
After I have uploaded the files, the next screen is set to ... Display images by ID (descending). Whatever I type in the title fields of the images, after I click the button apply, it reset automatically all my changes. The only way I can prevent that is to change the display images by ... to filename. In the [options] / [Gallery] / I set Sort gallery by: to filename.
Any clue ?
Thanks
Comments
It does not generate an error. I wish I could make a small video to show you what I see! If I do not change the display images by to anything else than ID (descending), the problem does not appear. It is not a big issue as I always change the display images by... to filename. This is the way I like it. It is just that if I forget to change it and write info of every images uploaded, then when I click Apply, it resets the page like it was when the system finished uploaded the files.
Bizarre!
I cannot reproduce your issue. All image data saves for me regardless which image display sorting I set.
Review all your error logs please.
Unless I remember to FIRST click on "Apply" (regardless of the setting of "Display images by:") BEFORE entering any data on the images, then when I do enter data ("Title" or "Description") it is lost when I then click on "Apply" to enter that new data.
The "Images" page refreshes but the data has been lost.
Once it is re-entered and "Apply" is clicked again then it is saved.
This has been happening since I first started using Zenphoto: I have to admit I thought it was a feature, not a bug!
The other options (e.g. Filename, ID etc) seem to keep their setting - it's only "Manual" which changes to "Date".
Edited to add: when set to "Date" then any changes made to the album (data entered, images deleted etc.) do not work. The setting has to be changed to other than "Date" to make the changes.
Is it just me or should I enter this into GitHub?
1. So you loose content on "fresh" images on the first apply after just having uploaded them, right? I will have to try to reproduce that. In any case you should look into your logs if there are any errors or else that might help.
2. I quickly can reproduce that the selector switches to "date" if selecting "Manual". I will have to test later if the order really changes or not.
I'm glad you've been able to replicate the "Date/Manual" sort problem with the new release.
And regarding the problem of "fresh images" I've been able to find the cause while fully investigating it on my installation.
It turns out to be an invalid parameter being passed to the element getGalleryIndexURL() in my theme file gallery.php.
The theme was based on the standard Zenpage theme which, in its early incarnations, had the parameter (form) included in getGalleryIndexURL(). This was propagated in my theme all the way through various releases and is what has obviously been causing the problem for me with fresh images. Now that I've removed the parameter the problem has been resolved.
But I'm a little confused when I look in the Element index functions documentation because it shows getGalleryIndexURL() twice: once as a valid function followed by another entry saying it's deprecated.
Or am I reading the documentation incorrectly?
Anyway thank you for the help!
'getGalleryIndexURL()` itself is not deprecated but its former paramter is.
Many thanks.