Dear support,
i want to list albums(no images, only sub album has images) by latest date(DESC). Earlier, i patched parent album date in class-image.php->_Image function, now 1.2.7 has been lot of changes and now i'm not able do that. I know there is a filter called "new-image", but i don't know, how to get album id and parent album id. please help me,
how to update the parent albums date using this filter.
Hello acrylian,
Thanks for your replay.
Let us explain here:
My folder structure like:
albums[this system folder]
--actress
----a1
------aa1
------aa2
------aa3
----b1
------bb1
------bb2
----c1
----d1
------dd1
----e1
If i browse the "actress" folder, i'm getting albums(by date) list like.
Now, i'm uploading new folder "bb3" to "b1" folder, then the system should show:
but it is not showing this way.
I'm using this options:
Options => gallery => Sort gallery by: => "Manual" is selected
Options => gallery => Gallery behavior: => "use latest image date as album date" is checked.
Options => image => Sort images by: => "date" selected, "descending" is checked.
Sample: http://gallery.southdreamz.com/audio-launch/page/7/
Note: the root album date is not changed.
I believe [i]Options => gallery => Gallery behavior: => "use latest image date as album date" is checked.[/i] only counts for an album that directly has images. Your toplevel has not, so the album date is used that of course does not change. I am not familiar in detail with the internals so I guess Sbillard will know more.
Hello @Sbillard,
Do you have any sample code for this needs?
Hello @Sbillard,
Actually, i need some help, how i get the parent album id from this new image filter.