A part of this feature request is valid the 5.x-2.x-dev too as you will see.
image module works really nice with token and pathauto, however image_gallery has the galleries URL hardcoded in the form : image/tid/[tid] where [tid] is the term defining the gallery. image/tid/[tid] is hard-coded in the standard gallery and doesn't seem to call pathauto. Maybe it shouldn't have and it should be taken care automaticaly outside image_gallery. I don't know the pathauto API, and maybe the problem is in fact with token support.
It would be very nice to be able to have the galleries URLs rewritten by the pathauto patterns, such as [vocab-raw]/[catpath-raw], or anything else, to be consistent with the images nodes URLs which can be rewritten by any pathauto pattern, such as [vocab-raw]/[termpath-raw]/[title-raw].
This problem also impacts the 5.x-2.x-dev version (CVS only) which uses views to render the galleries, because on the bottom of a view the link to the term page for the gallery is in the form image/tid/[tid]. Moreover the views are supercool, but the image page is supercool too because it shows all the galleries with the number of pictures in it, description, ...
Absolutely not sure I'm clear... sorry if it is the case !
Comments
Comment #1
guillaumeduveauSorry can't edit and first and last paragraphs are wrong, the problem with the gallery URL being image/tid/[tid] is in image module because this link shows up in the bottom of the image node type, and of course not in the galleries (which would be a stupid self-link). So there's a problem with token/pathauto in image module as well.
Update : these issues are solved in 6.x-1.x-dev
Comment #2
ashtonium commentedpathauto 5.x-2.1 now generates aliases for image gallery path, but it simultaneously generates aliases for the image gallery taxonomy paths as well. The end result is that links from taxonomy/term/# point to image/tid/# and then image/tid/# points to the actual alias. This introduces a new issue with the menu module, as posted over on the pathauto issue queue: http://drupal.org/node/225002
What we need to decide is how we want pathauto to generate image_gallery aliases. Primarily, do we even need automatic aliases for the taxonomy/term/# paths? Or should pathauto just ignore those and create the aliases for actual image/tid/# image gallery paths?
greggles would like some input on this from other people who use image_gallery and pathauto, so please post over on the pathauto issue (http://drupal.org/node/225002) with how you think pathauto should behave.
Comment #3
ashtonium commentedupdating title
Comment #4
sunSorry, 5.x-1.x won't see any new features.