Page 1 of 1
Sorting picture / video
Posted: 12 Mar 2017, 16:30
by ewok2
Hello
I have put some picture and video on the same subfolder
The picture are on DSC_XXX.JPG and the video are IMG_XXX.MOV
I have select in the panel setting folder option the sorting order "ascending"
I would expect that video are after the picture.
But it is the contrary
Where do we specify the order between video and picture ?
Thanks
Re: Sorting picture / video
Posted: 13 Mar 2017, 00:56
by mjau-mjau
Unfortunately, video-support in X3 is currently quite limited. If videos exist in the page, they are simply displayed above the gallery.
If you wait until tonight, I will have a new minor release available, where you will be able to switch order of images and videos.
Re: Sorting picture / video
Posted: 13 Mar 2017, 03:03
by ewok2
Of course I will wait :-)
Re: Sorting picture / video
Posted: 15 Mar 2017, 06:12
by mjau-mjau
Sorry for the delay. A fix for this was included in X3 0.22.5:
https://forum.photo.gallery/viewtopic.p ... 512#p41512
There are no new settings specifically for this, but by simply adding class "video-bottom" to your page settings -> gallery -> CSS classes, the video will appear
below the gallery instead of
above:

Re: Sorting picture / video
Posted: 15 Mar 2017, 16:35
by ewok2
Wonderful
Very simple and efficient :-)
Is it normal that "video-bottom" does not apear in the list ?
I have to write it but it works...
Re: Sorting picture / video
Posted: 16 Mar 2017, 00:14
by mjau-mjau
ewok2 wrote:Is it normal that "video-bottom" does not apear in the list ?
We could have added it to the predefined dropdown-list, but I consider this method a temporary workaround, and don't want to flood the list. I believe video will need to be a separate MODULE in the future, with it's own tab and it's own settings. Furthermore, this CLASSES list itself will be changed in the future ... Its primarily for setting styles for the gallery (hover, frame etc), and these should probably be moved to a separate section with checkboxes. That's why :wink: