This has been an important issue for many Drupal users since very long. AFAIK none of numerous discussion threads in forums or handbooks could suggest satisfactory solution for the issue. That is why, in order to concentrate attention of all interested users on resolution of the issue, I am creating this topic.

In handbooks there is whole section "Customising the pager (next, previous navigation)", but most of suggested ways there relate to the issue with not multiple taxonomies. Because, I guess, image galleries by default come with singe taxonomy and most of Drupal users use it like that. But those who change image gallery to use multiple taxonomies face very serious issue of not being able to add "previos" and "next" links for image node pages, so that they would work correctly - i.e. stayed within current taxonomy.

I'd like to share with couple of possible ways to go I've found so far.

1. There is a solution of Tony Sleep (http://drupal.org/node/119052#comment-214489) which works fine for 4.7.x, but 5.x.x
2. Flash gallery module (http://drupal.org/project/flash_gallery) somehow utilizes multiple taxonomies in image galleries correctly. I thought to use the same method, but looking into its code couldn't figure out how the modules does that. Probably this solution is not good for normal image galleries since Flash gallery module first derives all of the pictures within selected picture's taxonomy and only then starts to display them.

Comments

gilbertdelyon’s picture

Same hopeless investigation and conclusion on my side.

I have tested all available patches to get a pager with image_gallery. No one is working correctly with multi taxonomy.
Acidfree is a great module for galleries but pager has same issue.

The only way I found to use next/previous buttons when navigating in the galleries is to activate lightboxV2 and let the field "go to image details" empty, but visitors cannot comment images.

The great advantage of Drupal against other cms is the power of taxonomy. What a pity not to be able to fully benefit of this power in image galleries.

Lostmonkey’s picture

*subscribing .... hoping for a solution

yngens’s picture

would be nice if Drupal gurus would jump into the issue. which, unfortunately, will not be the case until one of them faces with it doing some of his projects.

yngens’s picture

Another useful link, but unfortunately for 4.x only: http://drupal.org/node/193056

premanup’s picture

yes, it's intresting issue.

gilbertdelyon’s picture

Would someone know if this issue is remaining in Drupal 6?

merrillie’s picture

Still using Drupal 5 for this website.
I followed the instructions for Adding

and links to image nodes using Custom Pagers, Tokens and views at http://drupal.org/node/209523 Unfortunately they dont work very well with multiple categories. I have since wasted the whole day trying to find a solution with no luck. Unfortunately I am not a programmer and don't know php only html and css.
dman’s picture

If I understand the problem identified in this thread...

* A user arrives at an image from Google image search. "spitfire.jpg"
* This image is a member of multiple galleries, namely: [ww2, 1940s, aircraft, b/w]
* Someone wishes to press a button that is labelled 'next'.

OK, so what is the desired behavior for that button?

Image galleries - as managed by tagging - are naturally unordered, but CAN be displayed in several orders. Order by date is traditional, but I've campaigned for (and got) order by (alpha)filename to be a valid option. More powerful views ordering adds even more options.
So even there, what is the 'next' image that would be appropriate?

Really, the only reasonable UI for this situation is going to have to be a complicated UI
"Next by name in gallery ww2", "Next by date in gallery 1940s", ... etc

Some sites manage to fudge this effect by encoding the context index into the URL. This is not silly, but not a complete answer either.

You see why this 'problem' has been avoided for a while?

Please suggest some simple, general-case answers. Not just answers that address your desires today, but ones that will work for everyone. Unfortunately, I only see the challenges.

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |

sp_key’s picture

Has this been fixed?
Anyone has ANY alternative solution for navigating image galleries?

My problem is I have multiple image galleries and a "top rated images" listing using Views.
When users hit on the first "top rated image" the next link directs them to the next image of the gallery the current image belongs to rather than the next "top rated image".

Any ideas?