Nicer URLs for images

Hey,

Using zenphoto for a while now on my site http://gallery.mungler.com (not much on there yet tho).

However, a problem I seem to regularly encounter is that I copy and paste a URL for an image (say http://gallery.mungler.com/sets/holidays/new york 2008/St.+Patrick's.jpg.php ) to someone on Skype, and they complain that it doesn't work. Skype seems to be confused by the escape sequences, and to be honest they aren't pretty.

I dont want to have to constrain my titles, so I was wondering how hard it would be to 'prettify' the urls somehow, something like:

http://gallery.mungler.com/sets/holidays/newyork2008/st.patricks.php (NB: this is not a real url)

I'm not sure if this is something that could be done simply by changes to .htaccess (does it handle url rewriting?) or whether zenphoto code would need to be changed.

Any help appreciated!

Comments

  • Zenphoto is using URL encoding provided by PHP. Your best bet would be to take the spaces out of the album folder names. The title can always be formatted however you choose.
Sign In or Register to comment.