Highslide Gallery Display Order

Permalink
Hey! Question for anyone. I'm trying to get images using the Highslide Gallery to layout in the display order, but it looks like it's displaying in the way it's uploaded in the File Manager. Anyone else having that issue?

rainmaker
 
mnakalay replied on at Permalink Reply
mnakalay
I don't know that add-on but if you're using a recent version of C5 you can just re-order the files in the file manager any way you want them and if the add-on is using the file manager's file order it should solve the problem.
rainmaker replied on at Permalink Reply
rainmaker
You can do that in the old version as well, but it's not reading the display order. It's just being weird. It's reading the order that it's in the File Manager instead.
mnakalay replied on at Permalink Reply
mnakalay
??? Yes that's exactly what I meant.

If you think it's strange, you can send it to me by pm I'll have a look if you want.
pds replied on at Permalink Reply
I am having this same issue - was there a fix for this?
mnakalay replied on at Permalink Reply
mnakalay
I don't know, rainmaker didn't say anything.
All I can say is I can have a look if you send me a copy by pm, otherwise I really don't know.
rainmaker replied on at Permalink Reply
rainmaker
Hey mnakalay!

I have sent you the info. :) Sorry for the delay!
pds replied on at Permalink Reply
Can you please post the info here or send it to me?
mnakalay replied on at Permalink Reply
mnakalay
I am working on it at the moment, will let you know if/when I find anything.
Meanwhile could you describe your problem exactly?
mnakalay replied on at Permalink Best Answer Reply
mnakalay
Hi all,

I had a look at the add-on and there is actually no problem. What's happening is that if you chose the option "Pictures from fileset", as far as the add-on is concerned, "display order" means the order in the fileset.
On the other hand if you use the "Custom slideshow" option, you will select images one by one and order them any way you want directly from the add-on's interface. That will be the display order.

So everything is normal here. Let me know if anything is not clear.

Good luck
pds replied on at Permalink Reply
Unless I am missing something, this add-on is unsuitable then for large galleries as the fileset appears to sort randomly instead of in name order and it is unrealistic to manually have to rearrange 100's of files using the fileset interface.
mnakalay replied on at Permalink Reply
mnakalay
Well really, loading 100s of thumbnails on any page wouldn't be such a good idea.
But if you really had to do that, I suggest updating to Concrete5 5.5.2.1. That version allows some reordering in the fileset (by name...)
rainmaker replied on at Permalink Reply
rainmaker
Hey pds,

That's also what I came to. I am thinking if this is such a big issue of just going with another plugin. :( Thanks mnakalay for checking it out again!
mnakalay replied on at Permalink Reply
mnakalay
pretty much all gallery add-ons here work the same way, either select a fileset or add pictures one by one.

Starting from Concrete5 5.5.2.1 you can order files in the file manager, by name, by date... The pics will then appear following that order in the gallery.

If added manually, you would have to order them one by one.

I don't think you will find any gallery add-on that offers anything else.

So you have to choices if you want the gallery to show pics from a fileset ordered by name.

1- update to 5.5.2.1
2- give your pics numbered names so the fileset in older versions of C5 MIGHT order them by name
3- Modify the add-on to do an alphabetical sorting at run time

Good luck
JohntheFish replied on at Permalink Reply
JohntheFish
An alternative approach to gallery ordering is taken with my addon 'Front End List Magic'. It will work for galleries that display thumbnails as a list or divs (but not in a table).

After the gallery has put the thumbnails on a page, FELM re-orders them using Javascript (drag/drop sorting) and remembers that order.
pds replied on at Permalink Reply
Thanks everyone for your help and assistance - much appreciated.
mnakalay replied on at Permalink Reply
mnakalay
you're very welcome. Good luck.
tbcrowe replied on at Permalink Reply
tbcrowe
You can add support for file set order by changing the following code in packages/highslide_web_albums/blocks/highslide_web_albums/controller.php from:
function loadFileSet(){
            if (intval($this->fsID) < 1) {
                return false;
            }
            $f = Loader::helper('concrete/file');
            $sql = "SELECT fsf.fID, 
                           fv.fvFilename, 
                           fv.fvPrefix
                    FROM FileSetFiles AS fsf, 
                         FileVersions AS fv
                    WHERE fsf.fsID = " . $this->fsID . " 
                    AND fsf.fID = fv.fID 
                    AND fvIsApproved = 1";
            $files = $this->db->getAll($sql);


to:

function loadFileSet(){
            if (intval($this->fsID) < 1) {
                return false;
            }
            $f = Loader::helper('concrete/file');
            $sql = "SELECT fsf.fID, 
                           fv.fvFilename, 
                           fv.fvPrefix
                    FROM FileSetFiles AS fsf, 
                         FileVersions AS fv
                    WHERE fsf.fsID = " . $this->fsID . " 
                    AND fsf.fID = fv.fID 
                    AND fvIsApproved = 1";
            if ($this->playback == 'ORDER') $sql .= ' ORDER BY fsf.fsDisplayOrder'; /* ADD THIS LINE */
            $files = $this->db->getAll($sql);