Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using Media gallery module to create gallery and pathauto module to generate URL.
For a gallery page I use this pattern for URL
photo-gallery/[node:title]
When user will click on any photo. I am showing media on a full page(Not lightbox).
But I am not getting way to set path for page where the single image will be displayed.
Automatic it generates URL like this
/media-gallery/detail/356/460
Is there any way around this? Any help will be appreciated.
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedThere seems to be only one workaround by manually set an alias to each detail path.
Marking as a duplicate of #1118756: Set URL for media on detail page.