Setting display order of images

Phoca Gallery plugins - plugins for Phoca Gallery extension
rpitera
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 May 2009, 19:06

Setting display order of images

Post by rpitera »

Hi; searched throughout the docs and forum for a hint on this one and found nothing, so I'm apparently not getting something.

I am using Gallery Version 2.2.4 and the Gallery plugin version 2.1.0. I have a separate category I am using for a feature article on the front page. I wish to display the four pics in this category, in the order they appear in the catergory - this is important because the pics are before and after images and need to be in order to make sense. This is the code I am using:

Code: Select all

{phocagallery view=category|categoryid=9|imageid=0|limitstart=0|limitcount=4|fontcolor=#FFBF00|bgcolor=#FF0000|bgcolorhover=#000000|imagebgcolor=#000000|bordercolor=#FFBF00|bordercolorhover=#ffffff|detail=1|displayname=0|displaydetail=0|displaydownload=0|float=right}
The 4 images appear, and are formatted properly. Everything else works fine, but the images are not in order. In fact they don't seem to be in any order - not even alpahbetically. They were uploaded to the category in specific order so that even their ID's are in the right numerical order, but nothing I do seems to work.

Can anyone provide some insight? The page in question is located at: http://lombardiconstructioninc.com. I'd appreciate any assistance as this has become a real head scratcher at a time when the site is going to be included in an ad in the local newspaper.
rpitera
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 May 2009, 19:06

Re: Setting display order of images

Post by rpitera »

I should add that when I create a category menu link, the images display in the proper order. This is also true if I navigate to the category from the main gallery page. They show in proper order everywhere except the example above.
================================================
Robert Anthony Pitera
West of East, Incorporated
http://www.westofeast.com
rpitera
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 May 2009, 19:06

Re: Setting display order of images

Post by rpitera »

Okay one more thing I discovered: the pics ARE in an order - it's the reverse order of the order set in the category.

For now, I have simply reversed the original order in the category, so they display correctly - however the order of the pics is now incorrect when you click on the detail and want to run the slideshow so I still need some help on this.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Setting display order of images

Post by Jan »

Hi, yes the slideshow doesn't use the ordering in parameters, it is a bug, I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
rpitera
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 May 2009, 19:06

Re: Setting display order of images

Post by rpitera »

Jan wrote:Hi, yes the slideshow doesn't use the ordering in parameters, it is a bug, I will take a look at it.

Jan
So, I'm not crazy then! :x

Thanks for the prompt replay and please let me know if I can provide any additional info or access for testing if it'll be of help.
================================================
Robert Anthony Pitera
West of East, Incorporated
http://www.westofeast.com
rpitera
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 May 2009, 19:06

Re: Setting display order of images

Post by rpitera »

RuttenTech wrote:Hi there,

Is there any progress on this one? We're currently using the plugin to insert images into research reports and the order needs to be set to make sense -- Figure 1, Figure 2... -- and looks a little silly at the moment with the numbers in random order. All's well on the component link though.

Cheers.
Well, I just upgraded to all the latest release versions of the Gallery and the Plugins and I am still having the same issue. It's a real problem for my client, because like you, our images don't make sense in reversed order but that's how I have to order them for them to display properly. Unfortunately, when a user clicks on the first image, they are already at the end of the slide show and most users aren't going to realize that they have to step through the show BACKWARDS. :?

Sure hope this gets fixed soon! :(
================================================
Robert Anthony Pitera
West of East, Incorporated
http://www.westofeast.com
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Setting display order of images

Post by Jan »

Hi, in version 2.5 the ordering in slideshow (component slideshow) is the ordering which is set in parameters.

E.g. if you set ordering by title, images will be ordered by title and if you click on some image and then on play slideshow in detail window, the slideshow will begin ordered by title

Jan
If you find Phoca extensions useful, please support the project
rpitera
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 May 2009, 19:06

Re: Setting display order of images

Post by rpitera »

Jan -

Just to clarify the problem, here is detailed information.

Using PhocaGallery component version 2.5.0, Phoca Gallery Plugin version 2.5.0 and Phoca Gallery Slideshow Plugin version 2.50.

Parameters in Component section
General Settings:
Category Ordering - Ordering Ascending
Image Ordering - Ordering Ascending

I have 4 images in a separate category, labeled as follows and in the order as shown in the component

Image name - order in category
Exterior Front Before - 1
Exterior Front After - 2
Exterior Rear Before - 3
Exterior Rear After - 4

When I use the PhocaGallery PLUGIN with the following parameters

Code: Select all

{phocagallery view=category|categoryid=9|imageid=0|limitstart=0|limitcount=0|fontcolor=#FFBF00|bgcolor=#FF0000|bgcolorhover=#000000|imagebgcolor=#000000|bordercolor=#FFBF00|bordercolorhover=#ffffff|detail=1|displayname=0|displaydetail=0|displaydownload=0|float=right}
The four images show, displayed 4 across horizontally - but in REVERSE ORDER as per below:

Image Name - order in category - Displayed order
Exterior Rear After - 4 - 1
Exterior Rear Before - 3 - 2
Exterior Front After - 2 - 3
Exterior Front Before - 1 - 4

The slide show portion works, technically, but of course if a user clicks the first image displayed (Exterior Rear After) they are now already at the end of the slide show. The real problem here is the order in which the plugin displays the images - in reverse order of the the category's set ordering.

Perhaps I am setting a parameter wrong in the plugin, but this seems like a basic thing - you should be able to set the order in the category and the plugin should follow it. Hope this is enough to work this problem out - as you can tell from the the image names, they don't really make much sense in the wrong order. :x

The site is live and the sooner we can correct this the better. Let me know if I can provide anything further, including access to the admin side of the site.
================================================
Robert Anthony Pitera
West of East, Incorporated
http://www.westofeast.com
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Setting display order of images

Post by Jan »

Hi, yes, the plugin doesn't contain the function yet. It doesn't contain more functions (because of time issues :( ).

Added into a feature request list: taking the ordering from component parameters.


Jan
If you find Phoca extensions useful, please support the project
khowlette
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 25 Aug 2009, 11:19

Re: Setting display order of images

Post by khowlette »

Hi

Does the 2.5.7_beta release fix the ordering problem.

Keith
Post Reply