Image name in URL (galleria javascript theme)

There may be a solution for this but after entering several different search terms I'm not finding anything so here goes; I have (mostly) successfully integrated the galleria theme into ZP, barring a few minor hiccups, see here (it's essentially a hacked zpGallerific theme), refresh if it doesn't appear immediately:
http://lightoverwater.co.uk/space/gallery/index.php?album=800s
my question is regarding URL and image names, it may not be possible due to the way the theme works but I'd like some way of altering what goes in the address bar. As can be seen it returns
"../gallery/index.php?album=[album name]"#/[image number]"
It would be great to firstly remove the "<i>index.php?</i>" part of the pathway entirely to leave the URL cleaner so becoming .../gallery/[album name]
The next trick is changing the displayed image number (which starts at 0) to the image name in the URL. I'm not sure how to achieve this next part as I believe it may tied into the .js files running with the theme and sadly beyond me but if anyone has experience of how to change this do pass on any ideas!

Comments

  • acrylian Administrator, Developer
    If you have the `index.php?` in your url you probably don't have modrewrite on your server respectively did not enable the Zenphoto option for it (see www.zenphoto.org).

    I am not familiar with this JS script but you probably will have to modify it itself to achieve passing that info to it.
  • Ah, ok. Thanks. Further digging probably required then, at least with a modrewrite I can get halfway there. I did find this where it's been done successfully, so it is possible to do the scond part...head scratching time it looks like!
    http://www.charliecampbell.co.uk/landscapes#/albums/landscapes/valle2.jpg
  • acrylian Administrator, Developer
    I am quite sure it is possible if you dig into that galleria script. Most of these I know have indeed just a #number in the url.
Sign In or Register to comment.