Incorrect photo browsing order

Sjeng oet Nuth - May 2, 2008 - 13:08
Project:Image
Version:5.x-1.8
Component:image.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active (needs more info)
Description

I created a photo website with > 20 Image galleries and all photo's (>800) in one Acidfree album.
The site went OK for half a year without ny changes to the site.
Recently I discovered that when browsing from one photo to another the order is no longer OK.
This means that when I expect to go to the next photo in my gallery, I go to another photo
in the middle of another gallery. Visitors of my site can no longer browse through
my photo galleries, because the browsing order from one photo to another is wrong.

Since I did not change anything in my webiste, I suspect that I may have crossed certain limits
(e.g. max numer of photo's in one album). Could anybody give me a clue?
I'm using
Image 5.x-1.8
Image Attach 5.x-1.8
Image Gallery 5.x-1.8
Image Import 5.x-1.8
But I upgrqaded these yesterday from an earlier version, without any succes.
To view the behaviour look at the next URL an try to go to the next/previous photo in gallery: http://www.limbomedia.nl/?q=node/1097

Note: this went OK with older galleries.

#1

dman - May 2, 2008 - 13:19

Image gallery by default traditionally ordered by date - reverse order. Which was fine if you added 1 photo per day or something, but not great for organised sequential image sets, as per image import. Specifically, editing a photo in the middle of a set could cause it to get a modified time out of order.

A recent patch allows you to chose to order by date, title, or filename. Each appropriate to different uses. The default behaviout should be the same as the old one, however.
Which order have you chosen?

For fuller control over ordering, you may try to use the 'views' version of image_gallery. It's built-in and (unfortunately) just starts working when both (image_gallery + views) modules are available.
If that's not for you, just check the image_gallery issues quese for recent activity and a 5.2 patch.

#2

Sjeng oet Nuth - May 2, 2008 - 16:11

Indeed the order of the photo's is reversed. Half a year ago I patched a sql statement somewhere in the code, so the order per photo in a gallery was as desired again (so in the order from image-01 to image-20, in a gallery with 20 photo's).
As I upgraded to version 1.8 this manual patch was of course undone, showing the photo's again in reversed order.
(Please give me a link to the recent patch you mention.)

But that order unfortunately is *not* the issue here.

The problem is that in recent galleries the previous and next button do not point to the next photo.
Given the example
http://www.limbomedia.nl/?q=node/1097 (which is the last photo of the given gallery that contains 19 images) either the next or the previous photo should point to http://www.limbomedia.nl/?q=node/1096.

But in contradiction to this the previous and next photo point to: http://www.limbomedia.nl/?q=node/124 and http://www.limbomedia.nl/?q=node/576.

I did not change any of the photo's manually and I even deleted the complete gallery and it's photo's and created it again and imported the photo's again. The behaviour after this was still exactly the same, "next" and "previous" pointing to the same wrong photo's.
Given it's conequent behaviour, it appears as a bug to me.
For older galleries I do not see this behaviour and there still everything works OK. So the problem only appears in recent galleries.

Any ideas? Thnx!

#3

dman - May 2, 2008 - 22:16

Recent option for image gallery thumbnail ordering:
http://drupal.org/node/21037#comment-802222

However, I do not recognise your 'forward' pager navigation as being generated by image_gallery.
Isn't that coming from acidfree?
And yes, that behaviour does look messed up.

#4

DanielTheViking - May 13, 2008 - 09:13
Status:active» active (needs more info)
 
 

Drupal is a registered trademark of Dries Buytaert.