Thread Starter
erniew
(@erniew)
Here is my theory:
In the older version of upload, if you assigned the same title to several pictures, all of them really was uploaded with the identical title. And thus considered belonging to be part of the same loop.
The new upload seems to consider it your misstake if you assign the same title to several pictures. So it helpfully ad a serial number to the title, if there are several pictures with the same title. Alas, then they are forever separated and can only be accessed by the complete title, including the serial number.
So a neat and efficient feature is this way destroyed.
In spite of this, I would be extremely grateful, if some experienced WordPress user have some idea on a workaround.
/EGW
Thread Starter
erniew
(@erniew)
Further investigation
I would have preferred to re-edit my original question, but for the moment I don’t know how to do that. So I make my question a little bit more precise instead.
My theory, posted as a first reply, says that the problem is WordPress adds a serial number to the picture title, if there are several pictures with the same title. Now, that is not really the case. What happens is that WordPress creates a post name = the picture title. If there is more than one post with the same title, then WordPress adds the serial number to the post name of the pictures following number one. If I use mysqladmin to set the post names of the following pictures to the post title too (every picture with the same post title get the same post name), then all the pictures will be recognized by the WordPress loop as belonging to the same post, and so all the pictures will be showed in the attachement. Wich is exactly what I want.
It is akward to have to go to mysqladmin to adjust the post names. I would prefer a workaround to the hassle with the post name, so that allways when I upload a picture, the post name will be identical to the post title, regardless of if there are more pictures with this title.
I hope that my question is clear an comprehensivie, and that somwhere out there in this must generous community somebody will look at it and provide me with some hint on how to have it this way 🙂
/EGW