By LAC Webadmin on Wednesday, 04 April 2018
Posted in General Issues
Replies 10
Likes 0
Views 513
Votes 0
Hello!

How does the Cluster Photo Album arrange the photos being uploaded? Does it arrange it by the filename or it has it's own way of arrangement?

Would be nice if that is user defined.

Thanks,

Jackson
Hey Jackson,

You can take a look at the *__social_photos table, 'ordering' column(http://take.ms/Qo9xQ). The photos ordering setting in the backend orders the photo according to the ordering value of each item, where 0 is the newest image.

Everytime you upload a photo, this photo will have the ordering of 0, and the ordering of other images will be reduced by 1(eg: 3 becomes 4 etc).

As for the file name, it does not necessarily follow the number since it depends on the original file name(http://take.ms/lOzGq).

If you are referring to the photo's id number(http://take.ms/Upt7L), then yes higher id number generally means the photo is newer since newer id normally means its generated the latest.
·
Friday, 06 April 2018 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Currently, it based on 'first come first serve' terms. Which image are uploaded first will be shown first currently.

Would be nice if that is user defined.

Thanks for the suggestion

Perhaps it would be best if you can submit a feature request regarding this issues by creating a new ticket on the forums and set it to "Feature Request" so that everyone else could vote for it. We will prioritize this feature during the development process for the next major version of EasySocial if there are more people request on this.
·
Wednesday, 04 April 2018 12:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

Are you sure? At least I am sure what you said is true when uploading, it will upload the first file selected in ascending order. But what you're saying is not true anymore after upload. Try to refresh the album by clicking on it and you will see the photos are rearranged, in what order, that is what I am asking.

So, what order?

I saw a setting under Settings > Photos > Layout > Photos Ordering which has two options:

- Oldest to Newest
- Newest to Oldest

Well, what I don't understand is the text, oldest and newest. Old or New in what? Date? Or Old like previously uploaded? This is not really clear and besides the Oldest to Newest is not working right if Oldest means previously uploaded since I don't see pictures listed first as the oldest uploaded.

Update:

Could it be, ES does rename the photo filename once uploaded, right? Does it reindex the files based on what file is first saved in the server? For example: I am uploading:

- photo_img_001.jpg
- photo_img_002.jpg
- photo_img_003.jpg
- photo_img_004.jpg

But ES will not upload it one by one, I forgot how many files are uploaded simultaneously but I think 4. Say 4. If photo_img_003.jpg got uploaded first, does ES rename it as the first file? If it does, then that's why I am having this issue. Hmm... not really an issue, just the lack of understanding what ES is doing.

Thanks,

Jackson
·
Thursday, 05 April 2018 07:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jackson,

'Newest to oldest' is referring to the order of the image upload.

ES actually upload images one by one as you can see from this image(http://take.ms/PLVHo), the left image is uploaded first so it is an 'older' image compared to the other 3 that has yet to upload.

This also means that the last image to upload complete is the newest image in the album. Hopefully have I explained the term 'newest' and 'oldest' clearly.
·
Thursday, 05 April 2018 19:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond,

I played around more on the photos settings yesterday and looked at the photos filename after upload and the order seems to be working based on the photo filename.

Lastly, does ES continue on the last number in the photos when new photos are being uploaded? For example, the last photo in the album has 2212 in the filename, does it continue the number? So the next photos will have 2213, 2214... so on? Or does it start with a new index number?

Thanks,

Jackson
·
Thursday, 05 April 2018 23:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymund,

Thanks for explaining how photos are arranged.

Based on your explanation, I guess I understand how it works now.

Jackson
·
Friday, 06 April 2018 23:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Jackson!
·
Saturday, 07 April 2018 01:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post